Mongoose is a Node.js package that gives you an interface to play with mongo database. Mongoose has all sets of methods that help you to connect and access data stored in database. It translates data from database in javaScript object which you can provide to your application. We will move step by step to know how […]
Stunning fusion charts will wow your audience . You can download javascript files for free trail of fusion chart from here . Following Javascript files are required to create fusion charts : [js] <script src="../js/jquery.min.js"></script> <script src="../js/FusionCharts.js"></script> <script src="../js/FusionCharts.HC.js"></script> <script src="../js/FusionCharts.HC.Charts.js"></script> <script src="../js/FusionCharts.jqueryplugin.js"></script> <script src="../js/FusionChartsExportComponent.js"></script> [/js] Let us take a small example to demonstrate how […]
In my previous blog we learnt how to integrate Instagram login functionality in a Grails web app. Now we will see how to get Instagram user’s followers and media. Once a user is logged in via the Instagram login API, we get a JSON response containing the logged in user’s profile information in JSON Format. […]
In my current web application, I had to integrate login functionality via Instagram. To do so, I had to go through the following steps: 1. First you have to register your application using this link. In order to register your application, you need to have an Instagram account which can be done through Instagram’s mobile […]
In our node js application, sometimes we have to execute functions either synchronously or asynchronously. To achieve so , we have a node js module “async” that helps us to push down our functions in an array, so that we can execute them as per the need of the project. Installation Part: Run this command […]
In my last blog we saw how a VPC with single public subnet is implemented. And now in this blog we will go through the second scenario of aws VPC i.e. a VPC with public and private subnets. Let’s create a VPC with two subnets , Public and Private. 1. Login to your Amazon account […]
Adaptive Bitrate streaming is a technique employed in video streaming which detects end user’s bandwidth and calibrates the video bitrate accordingly to guarantee the best viewing experience. This works by encoding source into streams of different bitrates and then each stream is fragmented into smaller multi-second chunks. A manifest file is used at client’s end […]
What it is ? Capistrano is an open source tool for running scripts on multiple servers; its main use is deploying web applications. It automates the process of making a new version of an application available on one or more web servers, including supporting tasks such as changing databases. It’s written in Ruby, but it […]
Amazon S3 offers a highly durable, scalable, and secure solution for backing up and archiving your critical data. You can set the lifecycle of the objects stored on the buckets, that will automatically delete or move these objects to the Glacier according to the set rules. Follow these steps to add the lifecycle of an […]