Blog
Backbone.js Models
8 Apr, 13

Backbone.js Models

Backbone.js is a JavaScript frameworks for creating MVC-like web applications. Defining Model in Backbone.js Models can be created by extending Backbone.Model A model is basically a Javascript object, i.e. key-value pairs, with some helper functions to handle event...

Groovy count

Groovy collections never fail to impress me. There are so many useful methods in Collections and count is one of them. Let’s take a look at 3 variants of this method ​def dataList = ['1','2','1','3','4','1','2','1','3','4'] count() method allows us to find out...

Grails Environment Setup Ubuntu 12.04

Setup JDK in Ubuntu Steps: 1.Extract jdk to opt folder command: sudo unzip jdk1.*.zip -d '/opt' 2.Edit your .bashrc file command: gedit ~/.bashrc 3.Add the following lines at the end of .bashrc export JAVA_HOME=/opt/jdk1.* PATH=.:$PATH:$JAVA_HOME/bin export PATH...