Experience Design, Front End Development
With the advent of "Mobile first" approach, more and more applications are moving from web-only platform to both Web and Mobile. Now it sounds great to have my application work on both the platforms but the time and efforts doubles. PWA comes into picture here by helping build a web application which works as a mobile app or at least as...
CHEF is the most popular configuration management tool in the market these days as CHEF turns infrastructure into code and you can do almost anything using it. Recipes are the heart of CHEF. OpsWorks has been gaining a lot of momentum for last few months, the major factor being its support for CHEF. So, in this blog we will be discussing...
One of the powerful features that AEM offers is its authoring capabilities. It provides easy to use GUI for authors to create and edit content. When it comes to authoring the content, dialog plays a vital role in that. A dialog accepts inputs via Widgets and then makes that input available for further use. One of the most commonly...
Lets start with a basic find query in mongoose and observe its execution time. [js] Event.find({'schedule.closing': {'$gte': +new Date()}}, {}, {limit:20, skip:0} ).exec(function (err, events){ ........ ........ } ); [/js] In my last project on Nodejs, I have used the above query to fetch the events...
AWS Cloud formation is a service used to create and manage a collection of other AWS services. This service is used to automate the infrastructure setup and deployment.In this article, we will be launching a LAMP Stack Instance using Cloud Formation. For this we are using Ubuntu Server 14.04 LTS (PV) - ami-9a7724c8 (64-bit) ...
Java development is often challenging, especially when you need to parse JSON from the command line. In my recent Java development project I had parse JSON from the command line and I explored available options one-by-one to find a close fit solution which can be implemented quickly. Requirements To parse json from the...
In Grails, We often use [java] render list as JSON. [/java] It renders json output without any formatting (spaces and new lines), often we need to provide users an option to receive formatted json (pretty printed) as response, so that it could easily be read and understood by users. We can easily do that using [java] def...
In the 1st part of the series, we looked at how to secure our application with Spring Security Basic Authentication and modifying the JSON Marshaller. However, it could often be the case that the same set of fields shouldn't be returned on every JSON response. For example, we could very well have a summary JSON for Book, which just...
We had a requirement in a recent project to expose some of the functionality we had via a JSON API. The functionality needed to be secure, as was the initial web interface which exposed the functionality. We were using Spring Security for the security aspect of our application. The spring security plugin, together with a secured...
Hi Friends, I was writing javascript to reload my page with different parameters. So I needed to create the queryString of those parameters but I didn't want to create it of my own. I already knew about jQuery.serialize() which serializes the form and creates the queryString, but unfortunately I didn't have form. So that gave me...
Through my blog, I will discuss about sending JSON objects with ajax request using JQuery. We have number of functions in jQuery to kick-off an ajax request. But for sending JSON objects along with the request, I chose jQuer.ajax(). It takes various parameters url, type, data, dataType, beforeSend etc. Its API can be found here. Lets...