Site announcement 站点索引达到 27 万本,AI 搜索完成全面提速 查看
Node.js in Action cover

Node.js in Action

Rating 4.0
Original title
Node.js实战
Translator
Wu Haixing
Pages
356
Chapters
20
Binding
Paperback
Series
Turing Programming Series · Web Development Series
ISBN
9787115352460

Tags

Summary

This book is a hands-on tutorial for Node.js that shows readers how to build production-grade applications. Its introductions to key concepts are clear, its examples are close to real-world practice, and it covers every stage from installation to deployment. It is an excellent work that gives equal weight to explanation and practice. By studying this book, readers will gain an in-depth understanding of asynchronous programming, data storage, output templating, and reading and writing the file system, and will master techniques for creating non-HTTP programs such as TCP/IP servers and command-line tools. This book is also very suitable for readers who are familiar with Rails, Django, or PHP development. The book covers installing and configuring Node.js and its extensions, fully understanding asynchronous programming and the event loop, and learning to develop popular applications such as microblog, chat, and games.

Editor's review

If you already know JavaScript but are frustrated that you do not know how to use it to build real production-grade applications, then Node.js in Action is a choice worth reading carefully. This book was co-authored by Mike Cantelon, Marc Harter, and T.J. Holowaychuk, translated by Wu Haixing, and published by Posts & Telecom Press in May 2014. It is positioned as a hands-on tutorial, with its focus on taking Node.js from concept to development practice that can be implemented.

Its greatest value lies in its complete and practical coverage. The book starts with installing and configuring Node.js and its extensions, extends to an in-depth understanding of asynchronous programming and the event loop, and then step by step introduces readers to the daily development essentials such as data storage, output templating, and reading and writing the file system. Finally, it also covers techniques for non-HTTP programs such as creating TCP/IP servers and command-line tools. In other words, readers can not only learn to write web applications with Node.js, but also understand how it is used in a broader range of scenarios. The book includes development examples of popular applications such as microblogs, chat, and games, giving abstract concepts concrete grounding and being especially helpful for beginners in understanding asynchronous programming.

Another highlight of this book is that it gives equal weight to explanation and practice. Key concepts are introduced clearly, examples are close to real development, and every stage from installation to deployment is covered. Readers can connect the knowledge along the path in the book rather than memorizing APIs in a fragmented way. For readers already familiar with Rails, Django, or PHP development, the book also explicitly states that it is equally suitable for reading and study, making it easy for people with backend experience to quickly move to the Node.js technology stack.

Who is it suitable for? First, developers with a JavaScript foundation who want to systematically learn Node.js and build projects hands-on; second, engineers with experience in other backend frameworks who want to understand Node.js's asynchronous model and event loop; third, learners interested in building microblog, chat, and game applications who want to consolidate their understanding through examples. If you want an introductory-to-practical book that covers everything from installation and configuration to deployment and balances concepts with hands-on work, this book is worth keeping on your desk.

Who it's for

A good fit for

  • Web developers with a JavaScript foundation
  • Programmers who want to learn Node.js server-side development
  • Developers familiar with Rails, Django, or PHP
  • Upper-year computer science students and front-end developers moving to full-stack
  • Engineers who need to build production-grade Node applications

Not a good fit for

  • Beginners with zero programming foundation
  • Those who only need to understand Node.js concepts without hands-on practice
  • People focused on front-end frameworks with no intention of server-side development

Reading tips

  1. First install the Node environment and community components according to the appendix in the book, then practice the examples chapter by chapter.
  2. Focus on understanding asynchronous programming and the event loop, and use debugging tools to observe the execution flow.
  3. When studying the chat room program in Chapter 2, try extending the room and message functions yourself.
  4. After reading the Express-related chapters, use it to refactor a simple blog or API service.
  5. For the deployment chapter, it is recommended to practice in a local virtual machine or container to become familiar with operational essentials.

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. Part 1 Node Basics
  2. Chapter 1 Welcome to the Node.js World
  3. Chapter 2 Building a Multi-Room Chat Application
  4. Chapter 3 Node Programming Fundamentals
  5. Part 2 Developing Web Applications with Node
  6. Chapter 4 Building Node Web Applications
  7. Chapter 5 Storing Data in Node Applications
  8. Chapter 6 Connect
  9. Chapter 7 Connect's Built-in Middleware
  10. Chapter 8 Express
  11. Chapter 9 Advanced Express
  12. Chapter 10 Testing Node Applications
  13. Chapter 11 Web Application Templates
  14. Part 3 Going Further with Node
  15. Chapter 12 Deploying Node Applications and Maintaining Uptime
  16. Chapter 13 Beyond Web Servers
  17. Chapter 14 The Node Ecosystem
  18. Appendix A Installing Node and Community Add-ons
  19. Appendix B Debugging Node
  20. Appendix C Express Extensions and Configuration

FAQ

Is this book suitable for people with no programming experience at all?
Not very suitable. This book is aimed at readers who already have a JavaScript foundation and assumes that readers understand basic syntax and web development concepts. Readers with zero foundation are advised to first study an introductory JavaScript course before reading this book; otherwise, they may encounter obstacles in the asynchronous programming and framework sections.
What is the difference between this book and the 2nd edition?
The 1st edition was published in 2014, with authors including Mike Cantelon, translator Wu Haixing, and ISBN 9787115352460. The 2nd edition was published in 2018, with updates to the authors and content, adding topics such as front-end build systems and full-stack development. The two editions have different ISBNs, so please pay attention to the distinction when purchasing.
Which Node.js version are the examples in the book based on?
The 1st edition of this book is based on the Node.js version at the time of writing, and the specific version number is not clearly fixed in the book. When studying, readers are advised to use the official Node.js long-term support version and note that some APIs may change as versions evolve; they can adjust the examples by referring to the official documentation.
What knowledge should I master in advance to read this book?
It is recommended to first master basic JavaScript syntax, functions and callbacks, and basic HTML and HTTP concepts. If you are familiar with backend frameworks such as Rails, Django, or PHP, understanding the web development parts of this book will be smoother, but the book also starts from Node.js basics.

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

Wu Haixing Translator

Wu Haixing is a Chinese author of technical books. Publicly available information about him is limited, and no confirmed details such as an English name, nationality, or dates of birth and death are available. Two of his works are currently included in the collection: Node.js in Action and The Java Programmer's Path to Mastery, both commonly classified under general computing. Judging from these two titles, his writing focuses on programming languages and development practice—one book addressing server-side development in the JavaScript runtime environment, the other focusing on advanced cultivation for Java programmers. The topics thus serve both beginners seeking hands-on guidance and experienced developers looking to improve their skills. His writing emphasizes the connection between technical points and engineering practice rather than general conceptual discussion, making it suitable for readers who want to apply language knowledge to real projects. Because verifiable personal background and writing experience are scarce, this profile does not cover his education, positions, or awards, and presents his profile as a technical author solely on the basis of his works' subject matter and classification.

Mike Cantelon Author

Mike Cantelon is an author associated with technical writing, though publicly available information about him is limited, and details such as his background, nationality, and dates of birth and death are not clearly documented. Judging from the single work held in the library, he is closely connected with the topic of Node.js. His representative work, Node.js in Action, is aimed at developers who wish to learn and apply Node.js and falls under the categories of computing and software learning. The book takes a practical, hands-on approach and focuses on development practices around Node.js, making it suitable as both an introductory and an advanced reference. Because the available material confirms only one work and its general category, it is not enough to outline his full writing career or the evolution of his style; readers may consult the book itself to understand his specific approach to technical writing.

Marc Harter Author

Marc Harter is an author known for his technical writing on Node.js. Publicly available information about him is limited, and details such as his nationality and dates of birth and death have not been clearly recorded. Judging from the two works held in the collection, Node.js in Action and Node.js Hard in Action: 115 Core Techniques, his writing focuses on the practical application of Node.js for server-side JavaScript development, combining systematic introduction with technique distillation for developers who want to improve their engineering skills. The works fall under categories such as computing, software learning, and programming design, and they emphasize actionable practice rather than abstract theoretical exposition. His style is pragmatic and clearly organized, often using concrete problems to drive explanation of knowledge, which suits learning scenarios that involve reading alongside hands-on practice. Although little is disclosed about his personal background, these two works have gained some recognition among Chinese technical readers and serve as optional reading for understanding Node.js engineering practice.

T.J. Holowaychuk is the author of Node.js in Action, and public information about this author is limited: their nationality, dates of birth and death, and personal background are not clearly documented. Judging from this work, the author focuses on the engineering practice of Node.js, the server-side JavaScript runtime, and addresses developers who wish to build network applications with this technology. The book generally covers core topics such as the module system, asynchronous programming, event-driven design, and network services, and it has a distinctly practical orientation, emphasizing how to apply language features in real projects. Based on the available library information, Holowaychuk's writing style is direct and pragmatic, concentrating on actionable technical details rather than abstract theoretical exposition. In Chinese reading circles the book is classified under general computing and software learning, and it often serves as a reference that combines introductory guidance with lookup value, helping readers understand the basic usage and development approach of this runtime.