舉報

會員
Node.js Design Patterns
最新章節(jié):
Index
Inthisbook,wewillshowyouhowtoimplementaseriesofbestpracticesanddesignpatternstohelpyoucreateefficientandrobustNode.jsapplicationswithease.WekickoffbyexploringthebasicsofNode.js,analyzingitsasynchronouseventdrivenarchitectureanditsfundamentaldesignpatterns.Wethenshowyouhowtobuildasynchronouscontrolflowpatternswithcallbacks,promisesandasync/await.Next,wediveintoNode.jsstreams,unveilingtheirpowerandshowingyouhowtousethemattheirfullcapacity.Followingstreamsisananalysisofdifferentcreational,structural,andbehavioraldesignpatternsthattakefulladvantageofJavaScriptandNode.js.Lastly,thebookdivesintomoreadvancedconceptssuchasUniversalJavaScript,scalabilityandmessagingpatternstohelpyoubuildenterprise-gradedistributedapplications.Throughoutthebook,you’llseeNode.jsinactionwiththehelpofseveralreal-lifeexamplesleveragingtechnologiessuchasLevelDB,Redis,RabbitMQ,ZeroMQ,andmanyothers.Theywillbeusedtodemonstrateapatternortechnique,buttheywillalsogiveyouagreatintroductiontotheNode.jsecosystemanditssetofsolutions.
目錄(98章)
倒序
- 封面
- 版權(quán)信息
- Why subscribe?
- Contributors About the authors
- About the reviewers
- Preface
- 1 The Node.js Platform
- The Node.js philosophy
- How Node.js works
- JavaScript in Node.js
- Summary
- 2 The Module System
- The need for modules
- Module systems in JavaScript and Node.js
- The module system and its patterns
- CommonJS modules
- Module definition patterns
- ESM: ECMAScript modules
- ESM and CommonJS differences and interoperability
- Summary
- 3 Callbacks and Events
- The Callback pattern
- The Observer pattern
- Summary
- Exercises
- 4 Asynchronous Control Flow Patterns with Callbacks
- The difficulties of asynchronous programming
- Callback best practices and control flow patterns
- The async library
- Summary
- Exercises
- 5 Asynchronous Control Flow Patterns with Promises and Async/Await
- Promises
- Async/await
- The problem with infinite recursive promise resolution chains
- Summary
- Exercises
- 6 Coding with Streams
- Discovering the importance of streams
- Getting started with streams
- Asynchronous control flow patterns with streams
- Piping patterns
- Summary
- Exercises
- 7 Creational Design Patterns
- Factory
- Builder
- Revealing Constructor
- Singleton
- Wiring modules
- Summary
- Exercises
- 8 Structural Design Patterns
- Proxy
- Decorator
- The line between proxy and decorator
- Adapter
- Summary
- Exercises
- 9 Behavioral Design Patterns
- Strategy
- State
- Template
- Iterator
- Middleware
- Command
- Summary
- Exercises
- 10 Universal JavaScript for Web Applications
- Sharing code with the browser
- Fundamentals of cross-platform development
- A brief introduction to React
- Creating a Universal JavaScript app
- Summary
- Exercises
- 11 Advanced Recipes
- Dealing with asynchronously initialized components
- Asynchronous request batching and caching
- Canceling asynchronous operations
- Running CPU-bound tasks
- Summary
- Exercises
- 12 Scalability and Architectural Patterns
- An introduction to application scaling
- Cloning and load balancing
- Decomposing complex applications
- Summary
- Exercises
- 13 Messaging and Integration Patterns
- Fundamentals of a messaging system
- Publish/Subscribe pattern
- Task distribution patterns
- Request/Reply patterns
- Summary
- Exercises
- Other Books You May Enjoy
- Leave a review - let other readers know what you think
- Index 更新時間:2021-06-18 18:15:23
推薦閱讀
- 演進式架構(gòu)(原書第2版)
- C語言程序設(shè)計教程
- Visual C++串口通信開發(fā)入門與編程實踐
- Redis入門指南(第3版)
- 大學(xué)計算機基礎(chǔ)實驗教程
- 新一代通用視頻編碼H.266/VVC:原理、標準與實現(xiàn)
- Instant Typeahead.js
- Python程序設(shè)計
- Getting Started with Gulp
- Building Machine Learning Systems with Python(Second Edition)
- Android群英傳
- OpenCV Android Programming By Example
- Functional Python Programming
- Python Automation Cookbook
- Mastering XenApp?
- R統(tǒng)計應(yīng)用開發(fā)實戰(zhàn)
- Learning Yeoman
- Python大數(shù)據(jù)與機器學(xué)習(xí)實戰(zhàn)
- JavaScript Security
- R語言編程:基于tidyverse
- 零基礎(chǔ)學(xué):微信小程序開發(fā)
- Android移動應(yīng)用程序開發(fā)
- Learning Python for Forensics
- Visual Studio 2010 Best Practices
- Mastering Linux Shell Scripting
- Ionic Cookbook
- Python深度強化學(xué)習(xí):基于Chainer和OpenAI Gym
- GPU編程實戰(zhàn)(基于Python和CUDA)
- Learning Angular(Second Edition)
- Internet of Things with Arduino Blueprints