Node Web Development - Second Edition

Book Description

JavaScript is no longer just for browsers and this exciting introduction to Node.js will show you how to build data-intensive applications that run in real time. Benefit from an easy, step-by-step approach that really works.

Learn about server-side JavaScript with Node.js and Node modules.

Website development both with and without the Connect/Express web application framework.

Developing both HTTP server and client applications.

In Detail

Node.js is a JavaScript platform using an event-driven, non-blocking I/O model allowing users to build fast and scalable data-intensive applications that run in real time.

This book gives you an excellent starting point and goes straight to the heart of developing web applications with Node.js. You will go from a rudimentary knowledge of JavaScript or server-side application development to being able to create and maintain your own Node.js application.

Node Web Development shows that JavaScript is not just for browsers anymore. It can be used for web application development, for developing any Internet protocol, for real-time applications, and much more. With this book you will learn through practical examples how to use the HTTP Server and client objects as well as both SQL and MongoDB databases. The book explains how application algorithms are expected to cooperate correctly with the event loop, and gives advice on algorithm refactoring for asynchronous execution through the event loop.