The other day I was reading the Grails docs and I came across a useful GSP tag: grep. I have been using Grails for over 3 years now but just recently got to see this new tag which has eased my life a bit in situations where the list of objects have to be filtered […]
There are times when we have an !!Exception!! which looks like [code] grails_app_views_non_crashable_page_gsp:29 [/code] seems like our non crashable page just crashed, and looking at line 29 in our gsp is of no avail, and we just end up thinking maybe x or maybe y messed up. The trick is simple, simply in your URL […]
Hi Guys, I took a session on Regular Expressions in the company, i have shared my slide on slideshare. You can see it here : http://www.slideshare.net/rajdgreat007/regular-expressions-14971247 I have discussed following topics in that slide : What are regular expressions Need for regular expressions Basic rules Regular expression groups search() match() replace() I […]
Hi, Recently i presented in “IndicThreads 2012” conference on the topic “HTML 5 Offline Applications”. You can view the slides at Slideshare at: http://www.slideshare.net/kushallikhi/indic-threads-delhisessionhtml5-offline-applications Topics which are discussed in this presentation are: Desktop Vs Web(HTML 4) Desktop Vs HTML4 Vs HTML5 Why Offline Apps Why Local Storage of Data Type Of Caches […]
I keep on experimenting on new things. So this time I thought of experimenting on something which I can use in my daily routine. I regularly visit a deals webpage. So, I thought of making an android mobile app for my android device that can track the deals webpage and notifies me whenever a new […]
Hello everybody, For the last couple of years, I have been working with HTML and CSS and lot of times we need to match our HTML page with the client sent PSDs. Firefox provides an add-on called Pixel Perfect for this. It helps us to overlay jpg files (extracted from the PSDs) on the HTML […]
We can use Media queries to port our website for different resolutions. Media query is very useful tool when website are viewed on a huge range of devices. With very little change, you can make an existing website mobile and tablet compliant. As a HTML developer, if i had to build multiple version of each […]
Sometimes we want to show count bubble in Accordion head that is different from the what jQuery mobile provides by default. To add count bubble to Accordian head, we use following piece of code: [html]</pre> <h2>Heading<span class="ui-li-count">10</span></h2> <pre> [/html] But it doesn’t give us the desired output and it looks like following: If we want […]
AngularJSFront End Development
We have already seen the concept of routes and multiple views in my previous blog. Now let’s see how to implement it in code. To implement the concept of routing in AngularJS, we need to create modules. Inside a module config, we can define routes. [javascript] File : js/modules.js angular.module(‘videoModule’, []). config([‘$routeProvider’, function($routeProvider) { $routeProvider. […]