Phonegap HTML5 Project Structure
During my first phonegap project i was very confused with what project structure to follow. Since Phonegap is a HTML5 app, all files needs to be .html only, so i was confused a lot of weather to use a...
View ArticleAmazon EC2 – Automatic start up of NodeJS script using UpStart
In this blog post, i will share my experiences on setting up NodeJS on EC2 server and various configuration settings involved. The Nodejs script will start automatically on server start up and run...
View ArticleAmazon EC2 Node JS API Code Snippets
In this blog post, will see few examples of using NodeJS EC2 API. First you need to install the nodejs library, this can be done using npm install aws-sdk Next you need to do to configuration the api...
View ArticleCordova 3.5.0 Update and Troubleshooting – Android
I recently updated to cordova 3.5 for my mobile app project, after update i did an “cordova run android” but started getting few error in my android app. Below i have listed few error which i faced and...
View ArticleCordova 3.5.0 and Facebook SDK 3.8 Using Command Line – Android
In this blog we will see how to integrate the latest version of facebook phonegap plugin and will deal with some of the issues faced. Installing or Upgrading Update: Check out guide here...
View ArticleNginx Setup – Basic Configuration, Memcache, PHP-FPM
In this blog post we will see how to do basic nginx configuration and setup memcache with it. There are various guides showing how to install nginx so i will not cover that part. Basic Nginx...
View ArticleMust use Libraries and Tips for Phonegap Mobile App
Below are few must use tips and libraries you would use for developing your phonegap mobile app. CSS Box Sizing Add below to your css file, its is very important for developing responsive apps. *{...
View ArticleNode JS: The Awesome Async.js
In this blog we are going to see different uses of the async library which is mostly used with with nodejs. The library can downloaded from https://github.com/caolan/async This main purpose of this...
View ArticleNode.JS – Working with Request Library A Simple HTTP Client
NodeJS has a very usefully HTTP client library called request. It like an alternate of cURL in PHP. In this blog post we will see how to use this library and different case scenarios The library is...
View ArticleNodeJs Interact with MongoDB Fast and Dirty
In this blog we will see how to interact with mongodb through nodejs. We will use the mongoose library for this I will be using this library http://mongoosejs.com/ to intract with mongodb. I assume...
View ArticleGetting Started With Express 4.x – Middleware – Tutorial 5
In this blog post we will see what is express middleware and how to use it Middleware are modules or pieces of code which execute on every app request, depending on the path specified. Middleware are a...
View ArticleGetting Started With Express 4.x – Session/Cookie/CSRF – Tutorial 7
In this blog post, we will see some of the most used middleware in express when building a website namely Session, Cookie and CSRF. Session with express To use session with express we need to install...
View ArticleGetting Started With Express 4.x – Advanced Routing – Tutorial 6
In this blog post we will see some advanced routing techniques to be used with express ` In my previous blog post I discussed basics of routes and how to implement them. In this section we will some...
View ArticleGetting Started With Express 4.x – Tutorial 1
In this blog post, we will see how to start with expressjs and create your first hello world application Express is a minimalist frontend framework of nodejs. This framework can be used to create fast...
View ArticleGetting Start with Express 4.x – Routes Basics – Tutorial 2
In this blog post we will see what are express routes and how to use them Routes are basically used to decide which code should get execute when a particular URL gets opened. So when we open/fetch...
View ArticleGetting Started With Express 4.x View – Template Engine – Tutorial 3
In this blog post we will look into express “views” and how to apply different template engines. In the previous blog post we saw what are routes in express and how to use basic routing. If we take the...
View ArticleGetting Started With Express 4.x – Express Handlebar – Tutorial 4
In this blog post we will see more advanced usage of handlebar template engine with express In our previous tutorial we saw how to create a helloworld application using handlebar with express, here we...
View ArticleSphinx , SphinxQL and PHP
In the previous post we saw how to install and configure sphinx. In this post, I will write about SphinxQL and how integration sphinx with PHP. Starting with SphinxQL SphinxQL is the part which is...
View ArticleNode.js Get Started : Async Programming, Callbacks, Variable Scopes
I started using Node.js in one of my projects and found it just awesome. In this blog i will write about basics of Node.js programming and how it works, and give a perspective of a PHP Programmer. What...
View ArticleAdd Custom Attribute To Customer Grid
In the previous blog we have discussed on adding a custom attribute to cutomer. Now, if we do need to show that attribute in the Customer Grid then we need to follow the steps below: Step: 1. Override...
View Article