Angular.js Promises – Deferred and Promise handling

A promise is an object that represents the return value or the thrown exception that the function may eventually provide. A promise can also be used as a proxy for a remote object to overcome latency. Promises are highly useful when you wish to synchronize multiple asynchronous functions and also want to avoid Javascript callback hell. […]

Introduction to WebSockets – Server, Client examples using Node.js

Initially the paradigm about web was Client/Server model, in which client’s job is to request data from a server, and a server’s job is to fulfill those requests. This paradigm fulfills the web requirement for number of years, but later on with Introduction of AJAX makes us enable to communicate with server asynchronously. Now using AJAX it was easy […]

Express.Js Middleware, What is next()?

You may have noticed use of next() function while looking at node.js code. Express is a routing web framework which utilize essentially a series of middleware calls. piece of code for a simple route could be like bellow.

and with a additional parameter next

So what is next() doing here. In the example, for instance, you […]

Web development is war of tools these days!

Today development is war of tools. more better tools lead to faster turn around. a better tool could help you to achieve the same task in few minutes which you are expected to finish in hours. I can give you idea of many tools in this article which really makes life easy. during development you […]