TO THE NEW Blog PAGES

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

AngularJSFront End DevelopmentNode.js

Angular’s $resource for CRUD Operations

$resouce is a perfect option to create a single page application which involve CRUD operations.You don’t write your CRUD methods (create,read,update and delete) when you use it. A RESTful web service with one endpoint for a data type that does different things with that data type based on HTTP methods like GET, POST, PUT, DELETE, etc. So with a $resource […]

Technology

Monkey Patching in Javascript

Monkey Patching The Monkey patching is a concept which is used to extend the behavior of a function without changing its original source code. We can add some extra functionality which can work a long with the original functionality(Before or after depends on the use case). The original function may be from third party module […]

Technology

Deploying Ratpack Application on Heroku

Recently, I was working on a micro-service using Ratpack framework.  I wanted to deploy it to Heroku. I had tried to find good documentation for deploying on Heroku but couldn’t find as such. After much trial and error, I finally managed to get a working configuration for successful deployment. As Heroku has very good support for […]

Automation TestingTesting

Useful Functions for Automation Framework using Selenium Web Driver

While doing automation using selenium, there are certain repetetive tasks that we need to perform in order to handle page elements. So, the aim of this blog is to highlight some common operations that we need to handle every now and then. Some operations are: 1. Open URL in different browsers (Chrome, Firefox, IE) 2. […]

Technology

Send email and attach files/images from AEM

To Send email from AEM , follow the steps written below: Gmail SMTP Server could also be used to relay messages from your device or application. If you connect using SMTP, you can only send mail to Gmail or Google Apps users; if you connect using SSL/TLS, you can send mail to anyone. If your […]

Grails

Run multiple app instances with diff config files on same tomcat server

The application I am working on, requires different configurations for the each client. For internal QA environment, we wanted to deploy multiple instances of this app with different configuration setup so that it can be tested easily and without creating tomcat instance for each deployment. So the challenge was to use different external configuration file […]