November 2013
Intermediate to advanced
148 pages
3h 12m
English
| Acknowledgments |
| Preface |
| Why Node.js the Right Way |
| What’s in This Book |
| What This Book Is Not |
| Code Examples and Conventions |
| Online Resources |
| 1. | Getting Started |
| Node’s Niche |
| How Node Applications Work |
| Aspects of Node.js Development |
| Get Node.js |
| 2. | Wrangling the File System |
| Programming for the Node.js Event Loop |
| Spawning a Child Process |
| Capturing Data from an EventEmitter |
| Reading and Writing Files Asynchronously |
| The Two Phases of a Node Program |
| Wrapping Up |
| 3. | Networking with Sockets |
| Listening for Socket Connections |
| Implementing a Messaging Protocol |
| Creating Socket Client Connections |
| Testing Network Application Functionality |
| Extending Core Classes in Custom Modules |
| Wrapping Up |
| 4. | Robust Messaging Services |
| Advantages of ØMQ |
| Importing External Modules with npm ... |
Read now
Unlock full access