MEAN web development master real-time web application development using a mean combination of MongoDB, Express, Angular JS, and Node.js
If you are a web or a full-stack JavaScript developer who is interested in learning how to build modern web applications using the MEAN stack, this book is for you.
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, [England] :
Packt Publishing
2014.
|
Edición: | 1st edition |
Colección: | Community experience distilled
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009628699506719 |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to MEAN; Three-tier web application development; The evolution of JavaScript; 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; Install MongoDB using a package manager; Using the MongoDB shell; Installing Node.js; Installing Node.js on Windows; Installing Node.js on Mac OS X; Installing Node.js on Linux
- Running Node.jsIntroducing 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; 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 modules; Node.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 ApplicationIntroduction to 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; Application folder structure; Horizontal folder structure; Vertical folder structure; Files naming conventions; Implementing the horizontal folder structure; Configuring an Express application; Environment configuration files; Rendering views; Configuring the view system; Rendering EJS views
- Serving static filesConfiguring sessions; Summary; Chapter 4: Introduction to MongoDB; Introduction to NoSQL; Introducting MongoDB; Key features of MongoDB; The BSON format; MongoDB ad hoc queries; MongoDB indexing; MongoDB replica set; MongoDB sharding; 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 documentsUpdating 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; Creating new users using save(); Finding multiple user documents using find(); Advanced querying using find(); Reading a single user document using findOne(); Updating an existing user document; Deleting an existing user document
- Extending your Mongoose schema