The way we think about web applications has changed. The goal of this chapter is to provide an overview of the existing popular architectural patterns for building frontend applications, and the new approach that relies on composing self-contained custom components.
Understanding the architectural pattern that was implemented in Angular 1 will help you migrate your existing application to Angular 2 in the future. In this chapter, we will discuss those topics:
Overview of the Model-View-Controller pattern
Angular 1 implementation of model, view, and ViewModel
Moving from MVVM to components
An example of the Angular 2 components architecture