Cross platform application development, Experience Design

Progressive Web Apps : A Philosophy for Modern App 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...

by Sakshi Tyagi
Tag: JSON
31-Oct-2017

AWS, Chef

User Mangement using CHEF and AWS OpsWorks

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...

by Ranvijay Jamwal
Tag: JSON
18-Oct-2015

CQ5/AEM, Technology

AEM: Ways to populate a Selection Widget

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...

by Surabhi Katiyar
Tag: JSON
20-Jul-2015

Database, Javascript/Ajax/JQuery

High performance find query using lean() in mongoose

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...

by Sakshi Tyagi
Tag: JSON
13-Feb-2015

AWS

Install LAMP Stack Using Cloud Formation

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) ...

by Vikash Jha
Tag: JSON
01-Jul-2014

Java, Technology

How to parse JSON by command Line in Linux

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...

by arshad
Tag: JSON
13-Dec-2013

Grails

Rendering JSON with formatting

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...

by Sachin
Tag: JSON
16-Jul-2012

Grails

Writing JSON APIs : Part II – Creating JSON Named Configs to Control What You Render

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...

by Vivek Krishna
Tag: JSON
29-Dec-2011

Grails

Writing JSON APIs : Part I – Creating a secure JSON API with Grails and Spring Security in 3 easy steps

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...

by Vivek Krishna
Tag: JSON
16-Nov-2011

Javascript/Ajax/JQuery

JQuery: Send JSON Objects with an Ajax Request

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...

by Amit Jain
Tag: JSON
11-Jun-2010