Skip to main content

Posts

Showing posts from December, 2015

Getting Started - Introduction to node.js

Every programmer must be aware of node.js servers. Node.js is a modern server framework that lets developer to build applications using Javascript on server side under V8 Javascript runtime environment, hmm cool enough! Well we got lot stuff forward. Things to know about node: 1. Real time Web Applications 2. Non Blocking Code 3. Event Based Programming 4. Event Loop Google Chrome uses the v8 javascript runtime in client side. so then node.js wraps this runtime and provides additional functionalities that helps you to develop network applications. "Node.js  is writtent in c" As node.js is very fast you can do stuffs like file upload server, websocket server (realtime content to websites). Now why node.js is fast to know that, well you need to read further for that. What's Non Blocking Code & Blocking Code? Let's take an example of file upload server, normally how your file upload works. Let's write a pseudocode for that. - Read file from