Chapter 2. Model-View-Whatever

If you are a frontend developer, you may not be familiar with the traditional software architectural pattern referred to as Model-View-Controller (MVC). Variations of this pattern have found their way into frontend software architectural patterns in recent years through such frameworks as Backbone.js, Ember.js, and AngularJS. Regardless of your experience in these areas, this chapter will discuss the evolution of the so-called Model-View-Whatever (MVW) pattern and its relevance to SPA development through the following topic areas:

  • The original MVC pattern
  • Model-View-Presentation (MVP)/Model-View-ViewModel (MVVM) explained
  • View-Interactor-Presenter-Entity-Router (VIPER) and other variations of MVW
  • AngularJS and MVW
  • Using ...

Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.