You might want to create a preview image for your web page which it will be displayed in Google search results. This image will help users in the sense of…
Category: Web Programming
Web Programming
How to write logging messages to a file in PHP
Being proficient in logging debug or error messages is critical to every programmer. If you used to make programs in any high and robust programming languages such as Java or…
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…
How to build and render data in JSON format with Grails
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…
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…
How to change default server port for Grails application
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.…
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…
Running a simple http server
In the world of web engineering and development, developing web-based applications always need a web application server where all web pages are accommodated. Depending on what web technology as well…