Efficient Node.js - Helion
ISBN: 9781098145156
stron: 240, Format: ebook
Data wydania: 2025-01-08
Księgarnia: Helion
Cena książki: 203,15 zł (poprzednio: 247,74 zł)
Oszczędzasz: 18% (-44,59 zł)
Take your web development skills from browser to server with Node.js, the popular backend framework used by more than 10 million developers at companies like Amazon, Netflix, and LinkedIn, to name just a few. If you're comfortable working with JavaScript, this practical guide from Samer Buna will show you how to effectively build and maintain even the most complex Node.js applications.
Following a hands-on, project-based approach, you'll move from key fundamentals to advanced concepts such as modules, packages, event-driven architecture, streams, child processes, scaling, testing, deployment, and much more—all while focusing on what actually matters in practice.
- Understand Node.js's native capabilities in order to best use the powerful libraries and tools in its ecosystem
- Utilize Node.js modules and packages
- Explore Node.js's event-driven architecture, streams, and child processes
- Create, test, and maintain efficient and scalable Node.js applications
Osoby które kupowały "Efficient Node.js", wybierały także:
- Windows Media Center. Domowe centrum rozrywki 66,67 zł, (8,00 zł -88%)
- Ruby on Rails. Ćwiczenia 18,75 zł, (3,00 zł -84%)
- Przywództwo w świecie VUCA. Jak być skutecznym liderem w niepewnym środowisku 58,64 zł, (12,90 zł -78%)
- Scrum. O zwinnym zarządzaniu projektami. Wydanie II rozszerzone 58,64 zł, (12,90 zł -78%)
- Od hierarchii do turkusu, czyli jak zarządzać w XXI wieku 58,64 zł, (12,90 zł -78%)
Spis treści
Efficient Node.js eBook -- spis treści
- Preface
- Who Should Read This Book
- Why I Wrote This Book
- Conventions Used in This Book
- Using Code Examples
- OReilly Online Learning
- How to Contact Us
- Acknowledgments
- 1. Node Fundamentals
- Introducing Node
- The JavaScript Language
- Executing Node Code
- Using Built-In Modules
- Using Packages
- ES Modules
- Asynchronous Operations
- The Non-Blocking Model
- Node Built-In Modules
- Node Packages
- Arguments Against Node
- Summary
- Introducing Node
- 2. Scripts and Modules
- Node CLI
- Options and Arguments
- Environment Variables
- REPL Mode
- Node Modules
- Resolving Modules
- Loading Modules
- Scoping Modules
- Executing Modules
- Caching Modules
- Summary
- Node CLI
- 3. Asynchrony and Events
- Sync Versus Async Handling
- Handler Functions
- Promises
- async/await
- An Analogy for Promises
- The Event Loop
- Event Emitters
- Asynchrony
- Errors
- Examples
- Summary
- 4. Errors and Debugging
- Throwing and Catching Errors
- Types of Errors
- Standard Errors
- SyntaxError
- ReferenceError
- RangeError
- TypeError
- System Errors
- Custom Errors
- Standard Errors
- Layered Error Management
- Debugging in Node
- Preventive Measures
- Code Quality Tools
- Immutable Objects
- Testing
- Code Reviews
- Summary
- 5. Package Management
- Introducing Package Management
- The npm Command
- Semantic Versioning
- Updating and Removing Packages
- Creating and Publishing Packages
- npm Run Scripts
- The npx Command
- Summary
- 6. Streams
- Introducing Streams
- Using Streams
- Fundamentals of Streams
- The pipeline Method
- Stream Events
- Paused and Flowing Modes
- Implementing Streams
- Writable Streams
- Readable Streams
- Duplex/Transform Streams
- Async Generators and Iterators
- Streams Object Mode
- Built-In Transform Streams
- Summary
- 7. Child Processes
- Introducing Child Processes
- The spawn Function
- Shell Syntax and the exec Function
- The execFile Function
- The fork Function
- Summary
- 8. Testing Node
- Assertions and Runners
- Types of Tests
- Unit Tests
- Functional Tests
- Integration Tests
- End-to-End Tests
- Test Doubles
- Organizing and Filtering Tests
- Test-Driven Development
- Continuous Integration
- Summary
- 9. Scaling Node
- Strategies of Scalability
- The Cluster Module
- Primary and Worker Processes
- Broadcasting Messages
- Increasing Availability
- Zero-Downtime Restarts
- Handling State
- Process Managers
- Summary
- 10. Practical Node
- Code Quality Tools
- Prettier
- ESLint
- Other Tools
- Module Bundlers
- Task Runners
- Frameworks
- JavaScript Transpilers
- TypeScript
- Summary
- Code Quality Tools
- Index