Mastering Node.js
- Length: 346 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2013-11-25
- ISBN-10: 1782166327
- ISBN-13: 9781782166320
- Sales Rank: #2630846 (See Top 100 Books)
Expert techniques for building fast servers and scalable, real-time network applications with minimal effort
Overview
- Master the latest techniques for building real-time, big data applications, integrating Facebook, Twitter, and other network services
- Tame asynchronous programming, the event loop, and parallel data processing
- Use the Express and Path frameworks to speed up development and deliver scalable, higher quality software more quickly
In Detail
Node.js is a modern development stack focused on providing an easy way to build scalable network software. Backed by a growing number of large companies and a rapidly increasing developer base, Node is revolutionizing the way that software is being built today. Powered by Google’s V8 engine and built out of C++ modules, this is a JavaScript environment for the enterprise.
Mastering Node.js will take the reader deep into this exciting development environment. Beginning with a comprehensive breakdown of its innovative non-blocking evented design, Node’s structure is explained in detail, laying out how its blazingly fast I/O performance simplifies the creation of fast servers, scalable architectures, and responsive web applications.
Mastering Node.js takes you through a concise yet thorough tour of Node’s innovative evented non-blocking design, showing you how to build professional applications with the help of detailed examples.
Learn how to integrate your applications with Facebook and Twitter, Amazon and Google, creating social apps and programs reaching thousands of collaborators on the cloud. See how the Express and Path frameworks make the creation of professional web applications painless. Set up one, two, or an entire server cluster with just a few lines of code, ready to scale as soon as you’re ready to launch. Move data seamlessly between databases and file systems, between clients, and across network protocols, using a beautifully designed, consistent, and predictable set of tools.
Mastering Node.js contains all of the examples and explanations you’ll need to build applications in a short amount of time and at a low cost, running on a scale and speed that would have been nearly impossible just a few years ago.
What you will learn from this book
- Discover how Node uses Google’s V8 engine to create high-speed JavaScript on the server
- Use events to create non-blocking systems with high throughput
- Create secure servers across all major network protocols
- Manage thousands of concurrent clients without slowing down
- Handle data, files, and protocol streams with ease
- Leverage Node’s module system to design sane applications that are easy to extend
- Optimize and debug server-side JavaScript for increased performance
- Learn scaling techniques and parallelize operations across multiple cores
Approach
Packed with practical examples and explanations, Mastering Node.js contains everything you need to take your applications to the next level.
Who this book is written for
If you’ve ever built a web page and would like to build network software using the language and style you already know, Node will make that process simple, and even fun. If you understand what a server is, what a client is, and how to write JavaScript, you are already halfway to mastering Node.js!
Table of Contents
Chapter 1: Understanding the Node Environment
Chapter 2: Understanding Asynchronous Event-Driven Programming
Chapter 3: Streaming Data Across Nodes and Clients
Chapter 4: Using Node to Access the Filesystem
Chapter 5: Managing Many Simultaneous Client Connections
Chapter 6: Creating Real-time Applications
Chapter 7: Utilizing Multiple Processes
Chapter 8: Scaling Your Application
Chapter 9: Testing your Application
Appendix A: Organizing Your Work
Appendix B: Introducing the Path Framework
Appendix C: Creating your own C++ Add-ons
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/PacktPublishing
2. In the Find a repository… box, search the book title: Mastering Node.js
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.