Книги и журналы » Компьютерная литература » Веб-дизайн и программирование
MEAN Web DevelopmentГод: 2014
Автор: Amos Q. Haviv
Издательство: Packt Publishing
ISBN: 978-1-78398-329-2
Язык: Английский
Формат: PDF
Качество: Изначально компьютерное (eBook)
Интерактивное оглавление: Да
Количество страниц: 354
Описание:
The MEAN stack is a collection of the most popular modern tools for web development; it comprises MongoDB, Express, AngularJS, and Node.js.
Starting with MEAN core frameworks, this project-based guide will explain the key concepts of each framework, how to set them up properly, and how to use popular modules to connect it all together. By following the real-world examples shown in this tutorial, you will scaffold your MEAN application architecture, add an authentication layer, and develop an MVC structure to support your project development. Finally, you will walk through the different tools and frameworks that will help expedite your daily development cycles.
Watch how your application development grows by learning from the only guide that is solely orientated towards building a full, end-to-end, real-time application using the MEAN stack!
[spoiler="Примеры страниц"]

[/spoiler]
[spoiler="Оглавление"]
Preface
Chapter 1: Introduction to MEANThree-tier web application development
The evolution of JavaScript
Introducing MEAN
Installing MongoDB
Installing Node.js
Introducing NPM
Chapter 2: Getting Started with Node.jsIntroduction to Node.js
JavaScript closures
Node modules
Developing Node.js web applications
Chapter 3: Building an Express Web ApplicationIntroduction to Express
Installing Express
Creating your first Express application
The application, request, and response objects
External middleware
Implementing the MVC pattern
Configuring an Express application
Rendering views
Serving static files
Configuring sessions
Chapter 4: Introduction to MongoDBIntroduction to NoSQL
IntroducingMongoDB
Key features of MongoDB
MongoDB shell
MongoDB databases
MongoDB collections
MongoDB CRUD operations
Chapter 5: Introduction to MongooseIntroducing Mongoose
Understanding Mongoose schemas
Extending your Mongoose schema
Defining custom model methods
Model validation
Using Mongoose middleware
Using Mongoose DBRef
Chapter 6: Managing User Authentication Using PassportIntroducing Passport
Understanding Passport strategies
Understanding Passport OAuth strategies
Chapter 7: Introduction to AngularJSIntroducing AngularJS
Key concepts of AngularJS
Installing AngularJS
Structuring an AngularJS application
Bootstrapping your AngularJS application
AngularJS MVC entities
AngularJS routing
AngularJS services
Managing AngularJS authentication
Chapter 8: Creating a MEAN CRUD ModuleIntroducing CRUD modules
Setting up the Express components
Introducing the ngResource module
Implementing the AngularJS MVC module
Finalizing your module implementation
Chapter 9: Adding Real-time Functionality Using Socket.ioIntroducing WebSockets
Introducing Socket.io
Installing Socket.io
Building a Socket.io chat
Chapter 10: Testing MEAN ApplicationsIntroducing JavaScript testing
Testing your Express application
Testing your AngularJS application
Chapter 11: Automating and Debugging MEAN ApplicationsIntroducing the Grunt task runner
Debugging Express with node-inspector
Debugging AngularJS with Batarang
Index[/spoiler]