O'Reilly logo

Mastering JavaScript Single Page Application Development by John Moore, Philip Klauzinski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required