售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright
Credits
About the Author
www.PacktPub.com
Customer Feedback
Preface
Status
Notes on code formatting
Intended audience
Part 1: Node.js Basics in Detail
Introduction to Part 1
Working with NPM and Packages
Test-driven Node.js Development
Object-oriented JavaScript
Blueprints versus finger-pointing
A classless society
Creating objects
Using a simple function to create plain objects
Using a constructor function to create objects
Using prototyping to efficiently share behaviour between objects
Object-orientation, prototyping, and inheritance
A classless society, revisited
Summary
Synchronous and Asynchronous Operations Explained
Visualizing the Node.js execution model
Blocking and non-blocking operations
Using and Creating Event Emitters
Introduction
Creating your own event emitter object
Summary
Optimizing Code Performance and Control Flow Management Using the Async Library
Executing expensive asynchronous background tasks in parallel
Optimizing code structure with async
Node.js and MySQL
Using the mysql library
A first database application
Using the Streaming API
Making SQL queries secure against attacks
Summary
Node.js and MongoDB
Some MongoDB basics
Applying CRUD operations with the low-level mongodb driver
Retrieving specific documents using filters
More complex update operations
Working with indexes
Querying collections efficiently
Summary
Part 2: Building a Complete Web Application with Node.js and Angular
Introduction
The requirements from a user's perspective
High level architecture overview
Setting up the development environment
Milestone 1 – A First Passing Test Against the Server
Milestone 2 – The API Responds with Actual Database Content
Abstracting database access
Ensuring a clean slate for test runs
Completing the first spec
Milestone 3 – Setting the Stage for a Continuous Delivery Workflow
Introducing automatic database migrations
Milestone 4 – Giving Users a Frontend
Setting up frontend dependencies through bower
Serving the frontend through the backend server
Adding the frontend code
Adding AngularJS view templates
Milestone 5 – More Work on the Backend
Adding a route for retrieving categories
Making the backend recognize different environments
Milestone 6 – Completing the Backend and Finalizing the Application
Creating the route for adding new keywords
Creating the route for updating keywords
Creating the route for deleting keywords
Summary
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜