Robin

Technology

Getting started with knockout.js

Recently, I learnt something very new e.g. Knockout.js. It is quite a advanced form of javascript. It just simplifies the structure of the javascipt in your application. It basically follows MVVM pattern(Model View View Model). It is quite fast and easy to use as comparison to jquery. Some of it's key features are :- 1. Declarative...

by Robin
26-Sep-2012

Grails

User-Role hierarchies in spring security

In most of our applications we are using spring security core plugin for the authentication process. We define some roles in that . Have your ever thought about assigning precedence to the roles. Like, You are having 3 roles defined in your application. i.e. ROLE_SUPER_ADMIN, ROLE_ADMIN ,ROLE_ATTENDEE. While using these roles i.e ...

by Robin
06-Sep-2012

Grails

New Features in Try/Catch – JDK 7

In our applications we generally make use of try-catch blocks to handle exceptions. Since JDK-7 , It has certain new features. These features are quite good , I must say. Some of the new changes in try/catch bloack are : 1.  Multiple exceptions handling in only one catch block. 2.  Finally out of scope. (Try-Catch with resources...

by Robin
27-Aug-2012