The day one at GR8Conf EU June 2015 Copenhagen, Denmark was really awesome. It started at the IT-University with a jam packed hall full of eager registrants with a welcome note from Søren with a history of how the Gr8 conf started. Then, Gulliame went through the state of affairs around Groovy & Grails and addressed the […]
AngularJSFront End Development
AngularJS Deferred & Promises- Basic Understanding Table of Contents 1. Introduction to Asynchronous AngularJs 2. Callbacks- Basic Understanding 3. Callback Hell 4. Promise- A Better way of handling callbacks 5. Promise In AngularJS- $q Service 6. Deferred API 7. Promise API 8. Some other promise based AngularJs Services 9. Some other useful features- $q.all() 1. Introduction to […]
The Core API’s in Grails 3 are based on Groovy Traits. Following are the few of the examples which shows the way you can use these traits in Groovy classes. ResponseRenderer With the help of ResponseRenderer traits we can provide render method to a Groovy class in the following way : [java] import grails.artefact.controller.support.ResponseRenderer class […]
In Grails 3 each script extends from GroovyScriptCommand. One of the property which GroovyScriptCommand provides is “gradle”. With the help of this property you can invoke gradle tasks. When you write : [java] grails create-scipt demo [/java] A script file will be generated in src/main/scripts folder with the name demo.groovy Now let us assume that […]
I was going through Grails documentation and found one interesting fact that I would like to share. As we already know that grails configuration can be externalised using [code] grails.config.locations = [‘path to external config file’] [/code] Any config defined in this external config will override the value defined in Config.groovy. It might be possible that we want […]
Ever wondered what to do if you have to make a very quick deployment of an application on the AWS Cloud ? You would launch servers, make an infrastructure and then Install applications which is somewhat a tedious process. How would it sound if the deployments are made in seconds ? Here is an AWS […]
Working with CSS- calc() These days CSS has the ability to do some cool stuff like animations, gradients, transforms, creating sophisticated interfaces with flexible box layouts etc. In this blog we will learn how to use the calc() CSS function, which is very useful for calculation in CSS. How to use it: calc() allow us […]
Now that Grails 3, the most anticipated release of Grails is out, which comes with lot of new features like: Gradle Build System. Notion of application profiles. Redesigned API based on Traits. New shell & Code generation API. Build in support for Spock/Geb functional tests. Gradle Test Running etc. The Grails core team always maintained […]
AngularJSFront End Development
Angular provides a very powerful means to transfer messages to scopes at different hierarchical level. We can dispatch an event upwards through the scope hierarchy by notifying all the registered “$rootScope.Scope” listeners in the hierarchy or downwards to all the child scopes. Angular provides these two functions to achieve the event propagation in a hierarchical […]
This blog is in continuation to our previous blog. The focus of this blog is to enable AWS professionals to change pem of running servers or to add a new user with sudo privileges to an EC2 server farm using Puppet. Similar use case of performing the same task using CHEF has been discussed here. […]