Grails

Simple Client Side Ajax Validation

Well my second month into work and I have started discovering things that are very trivial, but can save you a whole lot of time .. if you could get to know them better . One of those things was with jQuery. Now working with a normal submit form, a jQuery Validate Plugin works superbly. […]

Grails

A simple Read more/less grails tag

Hello world.. In a pretty recent project, I was a given a task to implement “read more” custom tag to implement “read more” functionality (a block of text followed by a read more link. Block of text expands and collapses on clicking of a link). I will be honest over here.I did a pretty bad […]

Grails

New way To Configure a RuleSet for Static Groovy Code analysis using CodeNarc plugin

The CodeNarc plugin provides static code analysis using CodeNarc library. CodeNarc analyzes Groovy code for defects, bad practices, inconsistencies, style issues etc. CodeNarc provides a Groovy DSL for defining RuleSets. Install CodeNarc plugin into you grails project. Now create one groovy file say CustomRules.groovy and add following code into it. [java] ruleset { Println SystemOutPrint […]

Grails

git branching model: choose branches for deletion – see whats remaining for the merge

This post is for people who are already familiar with Git and work on multiple branches (esp. feature branches). By practice, feature branches are the branches created from a root branch (master or any other as per your branching model) and once feature is complete/tested – they are merged back into the same root branch. […]

Salil
Salil
Read

Grails

Grails Unit test case for cookies

In one of my project we were reading the cookies so that we could do the processing accordingly. Now reading the cookie is easy but writing a unit test case for that action was little bit tricky for me because I wanted to test the behavior in case of when I find the cookie and […]

Grails

Load codecs in Unit tests using Groovy Grails

This post is all about enabling codecs (like encodeAsURL, decodeURL, etc) in your Grails Unit tests. I am assuming that you are already familiar with writing unit tests. Scenario: In our application code, if we have something like below: [groovy] String serviceUrl = "http://example.com/service" String username = "usernameStr" String password = "passwordvalue" String urlStr = […]

Salil
Salil
Read

Grails

Star Rating Made Easy

Hey guys. Since this is my first blog, i don’t even know that the subject I’m going to write on is even bloggable. But here I go. As part of my responsibility in a recent project, I was asked to implement a taglib that could allow a user to rate his likeness for a movie […]

Roni C Thomas
Roni C Thomas
Read

Grails

Editable Label Tag and introduction to Effects Tag Lib

Lately i had some spare time, hence decided to utilise it for developing some cool GUI elements. What is effects tag lib?? It is just a new tag lib which is intended to contain some cool grails tags for GUI manipulations. new tags will be added to it on timely basis, this is the first […]

Kushal Likhi
Kushal Likhi
Read

AndroidGrailsMobility

Getting started with Android

Hello world, this is my first blog ever. So, apologies for any kind of mistakes committed :p Now lets get down with the actual business. Today I am going to talk about application development on Android platform. I am still a newbie on Android platform (a recent adapter in fact). I decided to write this […]

Partho Ghosh
Partho Ghosh
Read
Services