TO THE NEW Blog PAGES

Grails

Day 1 @Gr8Conf EU 2015

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

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 […]

Grails

Traits Provided by Grails 3

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 […]

pulkit
pulkit
Read

Grails

Run Gradle tasks from Grails 3 custom scripts

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 […]

pulkit
pulkit
Read

Grails

Change default config file in grails

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 […]

Neetu
Neetu
Read

AWSGrails

AWS Elastic Beanstalk ( Grails Application )

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 […]

Technology

Working with CSS- calc()

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 […]

GrailsTechnology

Let’s upgrade existing plugins to Grails3

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

Scope Event propagation in AngularJS

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 […]

AWSTechnology

Puppet manifests to change pem key of running ec2 instances

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. […]