Accueil / Ingénierie Web

Ingénierie Web

Ingénierie Web

Fastest way to get the first n elements of a List into an Array

Fastest way to get the first n elements of a List or an Array

def s = ‘Hello Groovy world!’ assert s.take(5) == ‘Hello’ assert s.drop(6) == ‘Groovy world!’ Python Let’s assume an arbitrary list/array: in_list = list(range(10)) // Python2: in_list = range(10) // in_array = [i for i in range(10)] Slicing the list ...

Lire la suite...

(English) Running Redis Server on a Docker container

Running Redis Server on Docker

Désolé, cet article est seulement disponible en Anglais.

Lire la suite...

Deploying Your First Web App to Tomcat on Docker

Deploy web apps on Tomcat running in a Docker container

should write thishttps://aspetraining.com/resources/blog/deploying-your-first-web-app-to-tomcat-on-docker

Lire la suite...

(English) An annoyed error needed to be paid more attention when using RestBuilder grails plugin

Désolé, cet article est seulement disponible en Anglais.

Lire la suite...

How to change font size for text shown on arcs in D3Js

A bubble chart built in D3js with the forced layout algorithm

using .style(“font-size”, “1.5em”)

Lire la suite...

How to consume web service from Grails 4 applications

consume web service from Grails 4

Bibliographies https://guides.grails.org/grails-mock-http-server/guide/index.html

Lire la suite...

Checking existence of an element in an array with JavaScript

JavaScript is a loosely typed or a dynamic language. Variables in JavaScript are not directly associated with any particular value type, and any variable can be assigned (and reassigned) values of all types. In other words, everything in JavaScript is ...

Lire la suite...

(English) Understanding data type of dictionary in JavaScript

Understanding Dictionary in JavaScript

Désolé, cet article est seulement disponible en Anglais.

Lire la suite...

How to build and render data in JSON format with Grails

The graphical representation of the illustrated application

Nowadays, an awful lot of web based applications are using JSON as a principal data to load and render information rapidly. While some applications store data into persistence volume as JSON string, the others still use relational databases as the ...

Lire la suite...

How to consume web services in Grails

Frankly, implementing RESTful API endpoints/services is a vital part of any modern web-based applications these days because of inherent advantages of this technology. However, how do you consume RESTful services if you are a client/user? There are several approaches to ...

Lire la suite...