Persist Content loaded via AJAX

Hi Folks! Recently, I was working on a web application and I was thinking of making extensive use of AJAX so that the whole page would not have to be loaded again and again. These days single page web applications(SPA) are becoming quite popular. We load a main page...

Add jQuery Plugin In AngularJS via Directive

Directives are markers on a DOM element that tell AngularJS to attach a specified behavior to that DOM element or even transform the DOM element and its children. There are many jQuery plugins which we often need in angularjs  , I was using image slider plugin...

Git add interactively in staging area

Git is the most popular version control system now a days specially in agile development. Its makes a developer’s life much easier. It is different from its compitators like SVN because it has functionality of Staging Area Staging area provides the fexiblity to...

GIT Hooks

What is GIT Hooks. Git hooks are scripts those run automatically every time a specific event occurs in a Git repository. You can customize Git’s internal behavior and actions at key points in the development life cycle. Here i am going to describe how can we...

URL mapping with constraints in Grails

Hi guys,I am back with my new blog post. As some times we have scenario to map specific URL for example “www.myexample.com/someusername” we can do this mapping easily '$_username'{ controller= "profile" action= "show" } but the issue is...

Case Insensitive URL Mapping In Grails

In grails we can do URL Mapping easily but URL also need to be case insensitive. Below is the example to make URL case insensitive. '$_controller/$_action' { controller = { params?._controller?.toLowerCase() } action = { params?._actionName?.toLowerCase() }...