MEAN web development /
Annotation
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2016.
|
Edición: | Second edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to MEAN; Three-tier web application development; The evolution of JavaScript; Introduction to ECMAScript 2015; Modules; Classes; Arrow functions; Let and Const; Default, Rest, and Spread; Summary; Introducing MEAN; Installing MongoDB; Installing MongoDB on Windows; Running MongoDB manually; Running MongoDB as a Windows service; Installing MongoDB on Mac OS X and Linux; Installing MongoDB from binaries; Installing MongoDB using a package manager.
- Using the MongoDB shellInstalling Node.js; Installing Node.js on Windows; Installing Node.js on Mac OS X; Installing Node.js on Linux; Running Node.js; Introducing npm; Using npm; The installation process of npm; Managing dependencies using the package.json file; Summary; Chapter 2: Getting Started with Node.js; Introduction to Node.js; io.js and the Node.js foundation; Node.js ES6 support; Node.js LTS support; JavaScript event-driven programming; Node.js event-driven programming; JavaScript Closures; Node modules; CommonJS modules; Node.js core modules; Node.js third-party modules.
- Node.js file modulesNode.js folder modules; Developing Node.js web applications; Meet the Connect module; Connect middleware; Understanding the order of Connect middleware; Mounting Connect middleware; Summary; Chapter 3: Building an Express Web Application; Introducing Express; Installing Express; Creating your first Express application; The application, request, and response objects; The application object; The request object; The response object; External middleware; Implementing the MVC pattern; The application folder structure; Horizontal folder structure; Vertical folder structure.
- File-naming conventionsImplementing the horizontal folder structure; Configuring an Express application; Environment configuration files; Rendering views; Configuring the view system; Rendering EJS views; Serving static files; Configuring sessions; Summary; Chapter 4: Introduction to MongoDB; Introduction to NoSQL; Introducing MongoDB; Key features of MongoDB; The BSON format; MongoDB ad hoc queries; MongoDB indexing; MongoDB replica set; MongoDB sharding; MongoDB 3.0; MongoDB shell; MongoDB databases; MongoDB collections; MongoDB CRUD operations; Creating a new document.
- Creating a document using insert()Creating a document using update(); Creating a document using save(); Reading documents; Finding all the collection documents; Using an equality statement; Using query operators; Building AND/OR queries; Updating existing documents; Updating documents using update(); Updating documents using save(); Deleting documents; Deleting all documents; Summary; Chapter 5: Introduction to Mongoose; Introducing Mongoose; Installing Mongoose; Connecting to MongoDB; Understanding Mongoose schemas; Creating the user schema and model; Registering the User model.