AWS

Caching Multiple Domain with Varnish

Varnish is an in-memory web accelerator server which helps  Apache/Nginx server to run 10-300 times faster without spending anything on procuring hardware. Besides this It can also be used as a reverse proxy server. In our projects we are using Varnish to cache the static content and in some cases we are also using it […]

Grails

New Data Binding features in Grails 2.3

We recently upgraded to Grails 2.3 and found some pleasant features in the rewritten Data Binding. This raised my interest to look further into what is new and found some interesting things that could be useful: We can create a global setting for the dataBinding of the dates using the following setting in Config:[java]grails.databinding.dateFormats = […]

Imran Mir
Imran Mir
Read

Grails

Applying layout to template at Runtime in Grails Application

There are use cases where we render the template from our action and update some div in the page using ajax. The downside of this approach is when the user hits the url directly in browser address bar and the UI get totally messed up. So to fix this issue we need to apply the […]

Grails

Integrating Tumblr with grails application

In my current grails project, i needed to integrate Tumblr with the application using Tumblr API. I searched a lot about it and find the Java wrapper of Tumblr to use it with my grails application and thought it worth sharing. Tumblr uses OAuth1.0 protocol for authorization when our application tries to access the data. […]

Vivek Garg
Vivek Garg
Read

Technology

Layouts in Dust.js

For building an application with user friendly and consistent UI, we generally use the concept of “master page” and “layouts”, so that just the content can vary within the pages. This helps user to easily navigate through the website as well as faster loading of the web pages. For example, generally we make header and […]

Technology

Dust your views

In our node js application, we can use variety of templating engines like “jade” , “ejs”, “mustache” etc. Dust.js is an asynchronous templating engine which can be used both on server side as well as client side and provide easy caching with high performance. In my previous blog on EJS as a templating engine, i […]

Technology

Enabling SSO with CQ5 – Part II

In first part of our tri-part blog series ,  we discussed about the installation and configuration of Shibboleth IdP. We’ll be focusing on the following two use cases : Use-Case I : Protecting CQ5 author instance when CQ5 acts as a service provider (SP). Use-Case II: Protecting any published resource/website. This blogpost will target to provide the […]