万本电子书0元读

万本电子书0元读

顶部广告

MERN Quick Start Guide电子书

售       价:¥

1人正在读 | 0人评论 9.8

作       者:Eddy Wilson Iriarte Koroliova

出  版  社:Packt Publishing

出版时间:2018-05-31

字       数:29.5万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Build web applications with MongoDB, ExpressJS, React, and Node About This Book ? Build applications with the MERN stack ? Work with each component of the MERN stack ? Become confident with MERN and ready for more! Who This Book Is For The book is for JavaScript developers who want to get stated with the MERN Stack. What You Will Learn ? Get started with the MERN stack ? Install Node.js and configure MongoDB ? Build RESTful APIs with Express.js and Mongoose ? Build real-time applications with Socket.IO ? Manage synchronous and asynchronous data flows with Redux ? Build web applications with React In Detail The MERN stack is a collection of great tools—MongoDB, Express.js, React, and Node—that provide a strong base for a developer to build easily maintainable web applications. With each of them a JavaScript or JavaScript-based technology, having a shared programming language means it takes less time to develop web applications. This book focuses on providing key tasks that can help you get started, learn, understand, and build full-stack web applications. It walks you through the process of installing all the requirements and project setup to build client-side React web applications, managing synchronous and asynchronous data flows with Redux, and building real-time web applications with Socket.IO, RESTful APIs, and other concepts. This book gives you practical and clear hands-on experience so you can begin building a full-stack MERN web application. Quick Start Guides are focused, shorter titles that provide a faster paced introduction to a technology. They are for people who don't need all the detail at this point in their learning curve. The presentation has been streamlined to concentrate on the things you really need to know. Style and approach This guide shows you how to use your JavaScript knowledge to build web applications that use the MERN stack in both client-side and in server-side environments.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部