A practical introduction to Node.js, an exciting server-side JavaScript web development stack
Overview
- 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.
What you will learn from this book
- Discover the role of server-side JavaScript in web application development
- Explore architecture choices in Node.js for performance and throughput
- Install and use Node.js for both development and deployment
- Use the Connect and Express application frameworks
- Deploy both SQL and MongoDB database systems
Approach
Presented in a simple, step-by-step format, this book is an introduction to web development with Node.
Who this book is written for
This book is for anybody looking for an alternative to the "P" languages (Perl, PHP, Python), or anyone looking for a new paradigm of server-side application development. The reader should have at least a rudimentary understanding of JavaScript and web application development.