Pro Node.js for DevelopersApress, 2014年1月18日 - 308 頁 Since it’s creation in 2009, Node.js has grown into a powerful and increasingly popular asynchronous-development framework for creating highly-scalable network applications using JavaScript. Respected companies such as Dow Jones and LinkedIn are among the many organizations to have seen Node’s potential and adopted it into their businesses. Pro Node.js for Developers provides a comprehensive guide to this exciting new technology. We introduce you to Node – what it is, why it matters and how to set it up – before diving deeply into the key concepts and APIs that underpin its operation. Building upon your existing JavaScript skills you’ll be shown how to use Node.js to build both Web- and Network-based applications, to deal with data sources, capture events and deal with child processes to create robust applications that will work well in a wide range of circumstances. Once you've mastered these skills we’ll go further, teaching you more advanced software engineering skills that will give your code a professional edge. You’ll learn how to create easily reusable modules that will save you time through code reuse, to log and debug your applications quickly and effectively and to write code that will scale easily and reliably as the demand for your application grows. |
內容
Getting Started | 1 |
The Node Module System | 9 |
The Node Programming Model | 29 |
Events and Timers | 45 |
The Command Line Interface | 59 |
The File System | 77 |
Streams | 95 |
Binary Data | 109 |
Executing Code | 129 |
Network Programming | 147 |
HTTP | 167 |
The Express Framework | 189 |
About the Technical Reviewer | xx |
Acknowledgments | xxi |