Grails

Track my traffic -Implementing Traffic Analytics

This one is for a particular use case, so lets come straight out to the point. We start with the obvious first: Problem Statement: To track the traffic of a public page from your application. User Story: The current system needs to add a feature that would enable the end user to use your product […]

kartikey
kartikey
Read

AngularJSFront End Development

Minification safe Angular.js

Recently, I wanted to upgrade my Grails application to 2.4.3 and also switched from resource plugin to assets-pipeline plugin. As everything was going good in the development, so I pushed it to QA after which I was bombarded with JavaScript errors and missing providers. What has happened?? So here, Angular.js internal dependency injection was broken… 🙁 Since Angular […]

Brij Kishor
Brij Kishor
Read

Grails

SonarQube – All in one code quality manager

Introduction to SonarQube: We all are well aware of the importance of codebase quality, unhampered of “deadly programming skills” which can wreck our code. But isn’t it quite cumbersome to implement different tools to look upon its different aspects. What if in one place, we can have detailed insight of all the development sins. This […]

Grails

Significance of “mappedBy” in Grails Domain

“mappedBy” is a static map which is used to determine and change the way two associated domain classes interact with each other. Let’s start with the role of “mappedBy” in one-to-many relationships. Consider the following Example:- [code]class Team {     static hasMany = [members: TeamMember] }[/code]   [code]class TeamMember {     Team memberOf     Team captainOf }[/code] The Team […]

Naman Gautam
Naman Gautam
Read

GrailsTechnology

The Biggest Grails Conference in India – GrailsConf 2015!!!

We’ve been talking about it for a while and finally GrailsConf 2015 went fabulously well. It was an amazing conference, packed with sessions from an eminent lineup of speakers and over 160 participants who gathered at The Indian Habitat Centre, New Delhi. The gathering was of mostly Java and Groovy developers. I noticed many Java […]

Amit Jain
Amit Jain
Read

Grails

Few tips for writing swift and effective unit test cases

To a beginner writing unit tests may seem to be an overhead and a low productive affair. But this could be due to the way he chooses to write tests. One can quite easily be productive at writing unit test cases as well. Following are a few things that I follow to write the spock […]

Imran Mir
Imran Mir
Read

GrailsTechnology

Grails unique constraint optimization part 2

In the previous blog Grails performance optimization – Unique constraint we have optimized Grails unique constraint. Now in this blog we will check another use case and will optimize unique constraint according to it. Suppose we have two domains having the following structure: [code] class Address { String addressLine1 String addressLine2 static constraints = { } } [/code] […]

Grails

Grails Stats

Here I am going to share one of the cool grails command that I discovered today i.e “grails stats”. This command provides basic statistics about the current grails application including the number of files and lines of code. So, I tried this command in my grails project and see what I got. > grails stats Anybody looking […]

Grails

Groovy & Grails eXchange 2014, London: Day 1

The day finally arrived for which we crossed couple of continents. The onening day of the GGX conference went beyond our expectations and had just the right blend of enthusiasm from the presenters and the audience alike. All the while we were travelling to the venue, we had an inkling that something new was about […]

Chandan Luthra
Chandan Luthra
Read
Services