Getting Started with Backbone.js with Example

Backbone.js A JavaScript library that provides helpful types for building and organizing rich JavaScript interfaces. Backbone.js defination : Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with...

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...

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...

Understanding Flash Scope in Grails

The flash object is a map and one of the more common use cases for flash scope is to store a message that will display when some form of validation fails. Storing a Message in Flash Scope [php]class SampleController{ def index() { flash.message =...