Book Image

MEAN Web Development - Second Edition

By : Amos Q. Haviv
Book Image

MEAN Web Development - Second Edition

By: Amos Q. Haviv

Overview of this book

The MEAN stack is a collection of the most popular modern tools for web development that helps you build fast, robust, and maintainable web applications. Starting with the MEAN core frameworks, this pragmatic 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. You will learn the best practices of maintaining clear and simple code and will see how to avoid common pitfalls. 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!
Table of Contents (18 chapters)
MEAN Web Development Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Introducing Angular 2


AngularJS was a frontend JavaScript framework designed to build single-page applications using an MVC-like architecture. The Angular approach was to extend the functionality of HTML using special attributes that bind JavaScript logic with HTML elements. AngularJS's ability to extend HTML allowed cleaner DOM manipulation through client-side templating and two-way data binding that seamlessly synchronized between models and views. AngularJS also improved the application's code structure and testability using MVC and dependency injection. AngularJS 1 was and still is a great framework, but it was built with the concepts of ES5 in mind, and with the huge improvements brought by the new ES2015 specification coming up, the team had to rethink the entire approach.

From Angular 1.x to Angular 2.x

If you're already familiar with Angular 1, moving to Angular 2 might seem like a big step. However, the Angular team made sure to keep the good parts of Angular 1 while leveraging ES2015...