售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Title Page
Copyright and Credits
MERN Quick Start Guide
Packt Upsell
Why subscribe?
PacktPub.com
Contributors
About the author
About the reviewer
Packt is searching for authors like you
Preface
What this book covers
To get the most out of this book
What you need for this book
Download the example code files
Download the color images
Code in Action
Conventions used
Sections
Getting ready
How to do it...
Let's test it...
How it works...
There's more...
See also
Get in touch
Reviews
Introduction to the MERN Stack
Technical requirements
Introduction
The MVC architectural pattern
Installing and configuring MongoDB
Getting ready
How to do it...
There's more...
Installing Node.js
Getting ready
How to do it...
Installing npm packages
Getting ready
How to do it...
How it works...
Building a Web server with ExpressJS
Technical requirements
Introduction
Routing in ExpressJS
Getting ready
How to do it...
Route methods
Route handlers
Chainable route methods
There's more...
Modular route handlers
Getting ready
How to do it...
Writing middleware functions
Getting ready
How to do it...
How it works...
Writing configurable middleware functions
Getting ready
How to do it...
Let's test it...
There's more...
Writing router-level middleware functions
Getting ready
How to do it...
There's more...
How it works...
Writing error-handler middleware functions
Getting ready
How to do it...
Using ExpressJS' built-in middleware function for serving static assets
Getting ready
How to do it...
How it works...
There's more...
Parsing the HTTP request body
Getting ready
How to do it...
How it works...
Compressing HTTP responses
Getting ready
How to do it...
How it works...
Using an HTTP request logger
Getting ready
How to do it...
Managing and creating virtual domains
Getting ready
How to do it...
There's more...
Securing an ExpressJS web application with Helmet
Getting ready
How to do it...
How it works...
Using template engines
Getting ready
How to do it...
Debugging your ExpressJS web application
Getting ready
How to do it...
How it works...
There's more...
Building a RESTful API
Technical requirements
Introduction
CRUD operations using ExpressJS' route methods
Getting ready
How to do it...
Let's test it...
How it works...
CRUD operations with Mongoose
Getting ready
How to do it...
See also
Using Mongoose query builders
Getting ready
How to do it...
See also
Defining document instance methods
Getting ready
How to do it...
There's more...
See also
Defining static model methods
Getting ready
How to do it...
There's more...
See also
Writing middleware functions for Mongoose
Getting ready
How to do it...
Document middleware functions
Query middleware functions
Model middleware functions
There's more...
See also
Writing custom validators for Mongoose's schemas
Getting ready
How to do it...
See also
Building a RESTful API to manage users with ExpressJS and Mongoose
Getting ready
How to do it...
Let's test it...
How it works...
See also
Real-Time Communication with Socket.IO and ExpressJS
Technical requirements
Introduction
Understanding Node.js events
Getting ready
How to do it...
How it works...
There's more...
Understanding Socket.IO events
The Socket.IO server events
Socket.IO client events
Getting ready
How to do it...
How it works...
Working with Socket.IO namespaces
Getting ready
How to do it...
Let's test it...
How it works...
There's more...
io.Manager
Defining and joining Socket.IO rooms
Getting ready
How to do it...
There's more...
Writing middleware for Socket.IO
Getting ready
How to do it...
Let's test it...
Integrating Socket.IO with ExpressJS
Getting ready
How to do it...
How it works...
There's more...
See also
Using ExpressJS middleware in Socket.IO
Getting ready
How to do it...
How it works...
See also
Managing State with Redux
Technical requirements
Introduction
Defining actions and action creators
Getting ready
How to do it...
How it works...
Defining reducer functions
Getting ready
How to do it...
Let's test it...
How it works...
Creating a Redux store
Getting ready
How to do it...
Let's test it...
There's more
Binding action creators to the dispatch method
Getting ready
How to do it...
Let's test it...
Splitting and combining reducers
Getting ready
How to do it...
Let's test it...
How it works...
Writing Redux store enhancers
Getting ready
How to do it...
How it works...
Time traveling with Redux
Getting ready
How to do it...
Let's test it...
There's more
Understanding Redux middleware
Getting ready
How to do it...
Let's test it...
How it works...
Dealing with asynchronous data flow
Getting ready
How to do it...
Let's test it...
How it works...
There's more...
Building Web Applications with React
Technical requirements
Introduction
Understanding React elements and React components
Getting ready
How to do it...
Let's test it...
Composing components
Getting ready
How to do it...
Let's test it...
How it works...
There's more...
Stateful components and life cycle methods
Getting ready
How to do it...
Let's test it...
Working with React.PureComponent
Getting ready
How to do it...
Let's test it...
How it works...
React event handlers
Getting ready
How to do it...
Let's test it...
How it works...
There's more...
Conditional rendering of components
Getting ready
How to do it...
Let's test it...
How it works...
Rendering lists with React
Getting ready
How to do it...
Let's test it...
How it works...
Working with forms and inputs in React
Getting ready
How to do it...
Let's test it...
How it works...
Understanding refs and how to use them
Getting ready
How to do it...
Let's test it...
How it works...
Understanding React portals
Getting ready
How to do it...
Let's test it...
How it works...
Catching errors with error boundary components
Getting ready
How to do it...
Let's test it...
Type checking properties with PropTypes
Getting ready
How to do it...
Let's test it...
How it works...
There's more...
Other Books You May Enjoy
Leave a review - let other readers know what you think
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜