TO THE NEW Blog PAGES

Technology

ExpressJS: Route Parameter Pre-conditioning

Express JS is a very flexible yet powerful framework on top of exponentially growing Node JS Environment. Express makes it really easy to handle requests and how the server interacts with the outside world. It is very simple to get going and it has immense amounts of extremely useful features, Middleware is one of those […]

Manoj Nama
Manoj Nama
Read

Technology

Handlebars: An Introduction

Let’s face it, gone are the days where static HTML markup was sufficient, and clients were happy with animated gifs all around their websites, but that’s all a thing of the past. Now every little thing you can think of has to be dynamic, the data is constantly changing and so is the webpage. For […]

Manoj Nama
Manoj Nama
Read

AngularJSFront End Development

Creating DOUGHNUT Pie Chart with Google Chart API & using it with Angular.js Directive

Showing data in the form of Graphical/Pictorial Representation is always a better way to present data than simple text. Users find data represented in pictorial manner more interactive and easy to understand than data in complex tables or lists. Cases where Pictorial data representation (Charts or Graphs) can be more user friendly: 1. If you […]

ajey
ajey
Read

Technology

jQuery: Unbinding specific event with namespace

If we follow the normal jQuery practices for binding and unbinding multiple jQuery events, it involves writing code again and again for each of the binding and unbinding which makes it very repetitive, specially when unbinding. Joint unbinding is also seen when you have same event bound to the same DOM element multiple times. Lets […]

Technology

Implementing facebook login with childbrowser in a phonegap app

Recently in one of my phonegap apps, I had to implement login with facebook functionality. Because the app was targeted towards multiple platforms (ios and android), so for this we needed a javascript based solution that can work on multiple platform. We used the childbrowser plugin to handle this situation in following manner – 1. […]

Technology

How to Use CRAWLME

How to implement CRAWLME? Make you ajax app use the hashbang #! instead of just hash # in urls which allows Google to crawl and index those ajax supported urls. Insert the CRAWLME middleware before your server in the chain of Connect/Express middlewares. Crawlme takes care of rest. Example: var connect = require(‘connect’); var http = […]

Technology

MAKE your AJAX WEB APPLICATION INDEXABLE using CRAWLME

Recently, Programmers are more inclined towards creating web application with AJAX than doing it with static HTML pages which makes applications faster and richer. But by doing so, application loses its indexability which results in modern and user friendly yet less searchable apps. Let’s take an example of a website:  For browser/user the website is […]

AWS

IAM Basic (Amazon Web Services)

IAM stands for Identity access management, and it’s used to control access to AWS resources, in other words it defines “who can do what”. If you have been using AWS for long and are not aware of IAM, here’s how it can help you. Let’s consider a scenario where an organization has one AWS for […]

Grails

Data Binding Threats and Security with Grails

Data binding is the technique of binding two data sources to maintain the synchronization of data which in reference to grails stands for binding incoming request parameters onto the properties of an object or entire graph of objects. These methods allow user to write clean and shaping code without littering the script and data with […]

Bansi
Bansi
Read

Technology

Node.js: Unit Testing with Jasmine framework

Jasmine is a framework which is used for testing node.js code or javascript code. Installation To install the latest official version, use NPM: [js]npm install jasmine-node -g[/js] Write the specifications for your code in *.js and *.coffee files in the spec/ directory Execution After installing the npm package, you can run it with: [js]jasmine-node spec/filename.js […]

Grails

Reading Google Drive Spreadsheet in Grails Application

OAuth is a secure mechanism to access google drive. In order to access google drive in your application you need to register your application at the google API console at Google API Console. Read the blog  Integrating Google plus in grails application by Vishal Sahu to see how to get client ID, client secret and […]

paridhi
paridhi
Read

Technology

Create Basic HTTP Server with Node.js

Like other languages(Java, php), we do not need to set up any Apache HTTP server. With Node, things are a bit different, with Node.js, we not only implement our application, we also implement the whole HTTP server. In fact, our web application and its web server are basically the same. Lets create a basic Node […]