page banner
avatar
'Customizing the field widget of the Platform UI Grails plugin' post illustration
Customizing the field widget of the Platform UI Grails plugin

Our team is working on a Grails plugin now, which will have UI based on Platform UI Grails plugin. Platform UI plugin allows you to easily configure Grails applications look using different page markups(themes). It provides a bunch of useful UI sets and allows the developers customize application look easily by creating own UI sets and themes.

avatar
'Changing the Grails project configuration from within a plugin' post illustration
Changing the Grails project configuration from within a plugin

This code snippet shows how to update project configuration settings from a Grails plugin executable script. The script changes the configuration by copying the settings from a default config file, placed in the plugin's folder, to the Config.groovy. This is usually very useful during a plugin installation when you need to provide some default configuration:

avatar
'Unit testing web flow in Grails' post illustration
Unit testing web flow in Grails

I've faced a problem with unit testing web flow controllers

There's an existings WebFlowUnitTestMixin for unit testing webflow in GDK, but no word on how to use it in the latest Grails 2.2.0 official documentation.

avatar
'How to create remote git branch in IntelliJ IDEA' post illustration
How to create remote git branch in IntelliJ IDEA

To create remote Git branch in IntelliJ idea one should:

avatar
'Hosting StackMob HTML5 application on Apache Web Server' post illustration
Hosting StackMob HTML5 application on Apache Web Server

Our team had a task to develop complex application for StackMob. During the development we have faced a need to host HTML5 application on our internal server to increase productivity of our QA department. This article explains how one can host HTML5 application on any server running Apache2, provided you have full control on the Apache modules and configuration.

avatar
'How to create your own Grails portlet for Liferay?' post illustration
How to create your own Grails portlet for Liferay?

Portlets are pluggable user interface software components that are managed and displayed in a web portal. They produce fragments of markup code that are aggregated into a portal.
There are two specifications of portlets exist nowadays, they are JSR-168 (Java Portlet Api) and JSR-286 (Java Portlet Api 2.0).

avatar
'Agile vs Waterfall Development model' post illustration
Agile vs Waterfall Development model

Development methodology is a framework that is used to structure, plan, and control the development of software systems. Agile and CMMI Waterfall methodologies are very alike and have enough differences to be named differently. Let’s consider the methodologies in detail.

avatar
'Easy REST with Spring RestTemplate and JAX-B' post illustration
Easy REST with Spring RestTemplate and JAX-B

Representational state transfer (REST) is a very popular architecture for distributed hypermedia. Lots of different web services expose their APIs in a RESTful manner. It is very convenient when a service of a choice provides a library for its API, but this is not always so. In this case you have to construct valid requests and parse responses by yourself. Assuming that you are familiar with REST itself, I will tell you how you can make your life easier with the help of Spring and Java annotations.

avatar
'Custom sorting in Grails' post illustration
Custom sorting in Grails

Hi, guys, today we’re gonna talk about the really interesting and tricky Grails task, implementation of the custom sorting.
It’s a pretty often appearing situation, when you need to sort the list of items, basing on the values that can only be calculated, and that are not persisted in the db.
I know what you might say, - "Hey, why don’t you just use transient properties for that?"