Home / Web Engineering (page 2)

Web Engineering

Web Engineering

Understanding data type of dictionary in JavaScript

Understanding Dictionary in JavaScript

Dictionary is among the commonly used data structures in modern programming because of its benefits so that there has not been any frankly acceptable alternative. Therefore, in this post I am going to how you how to conceive this data ...

Read More »

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 ...

Read More »

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 ...

Read More »

Event Delegation in jQuery

What is Event Delegation?

Introduction Event delegation allows us to attach a single event listener, to a parent element, that will fire for all descendants matching a selector, whether those descendants exist now or are added in the future. Example For the remainder of ...

Read More »

How to change default server port for Grails application

An Grails application started successfully

As a web developer, all of us are aware of the number 8080 as the holy port nobody can forget. In Grails based applications, there is no exception at all. For some reasons, we might need to run multiple grails ...

Read More »

Building a Web Server in VirtualBox

Sorry, this entry is only available in Vietnamese.

Read More »

Understanding Array in JavaScript

The array is one of the most commonly used data structures in computer programming. Basically, arrays are used to store multiple values in a single variable and then we retrieve its elements via an index. In this post, I would ...

Read More »

How to use console dot table in Console

This post shows how to use console.table to display a JSON data as the table in DevTool panel in Console tab

Read More »

How to get selected values of a group of checkboxes

We can use the jQuery :check  selector in combination with the each()  method so as to retrieve the values of all selected checkboxes in a group. The each() method used here simply iterates over all the checkboxes that have been ...

Read More »

Internalisation of your Grails based application with i18n-asset-pipeline plugin

What I will present below about i18n-asset-pipeline grails plugin which is doing the same job as jquery.i18n.properties.js as such. You probably find a few implementations of jquery.i18n.properties.js on grails plugin portal. I’m not entirely sure you will be happy with ...

Read More »