Wednesday 26 February 2014

Getting Started with Node JS

NodeJS is one of the most popular server side (& client side) JavaScript framework to create robust, fast, scalable applications. It supports an event-driven (see wiki) approach, and has flexible non-blocking I/O models that make it easy to support a wide range of data-intensive apps running across different platforms or devices.

Here I am going to share how to get it installed, running and creating a first 'Hello World' app.

NodeJS Installation

Once Node has been installed , open the command prompt and type ' node ' as shown below




This shows that Node has been installed successfully.

Lets create a basic Hello World app.
  • Create a JavaScript file in any folder on your machine
  • Copy below code
 console.log("Hello World");
 console.log ( "Hello World".length );


  • Open command in that location and run this command   node filename.js
  • It will execute the JavaScript code in the filename.js file and will show results on screen


 As you can see, it executed JavaScript script and as per the first line of the script it shown the Hello World and on the second line we have used a JavaScript string length property to find the length of an string. 

In the next tutorial, I will explain how to create a running http server to serve http requests. (either coming from desktop browser or mobile device).

Tuesday 28 January 2014

Mobile App - Remember Life after Death

Have recently launched another free Mobile App. The App is about remember our death. Remembering our death everyday kicks out bad habits from us like greediness, selfishness, and other bad nature. It makes us think that we all have to go one day and we all human beings are equal and everyone has equal rights, so lets treat everyone equally.

Remember Life after Death (in Urdu Lang)



Mobile App - Proof of Beard Sunnah

I developed another Free Mobile App. It contains numerous Ahaadis and Quranic verses to explain that having beard is a Sunnah of Prophet Muhammad Salaih Allah WaSalam.

Proof of Beard Sunnah


Mobile App - Manzil

In my free time, I have started creating some FREE Mobile Apps. The first one has been downloaded by 4000+ users within tows months only! This encouraged me to create Mobile Apps.

Manzil -  Daily Verses



Thursday 23 January 2014

Worklight project - won IBM Impact 2013 Mobile Innovation Award

Its been long time to write a blog. I was busy on multiple mobile projects - specially IBM Worklight ones.

It was great experience when we received IBM Impact 2013 Mobile Innovation Award for one of our best Worklight project.

I would like to write some blog posts sharing my experience with rest of the Worklight community here.