O'Reilly logo

PhoneGap for Enterprise by Kerri Shotts

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

Common patterns

There are several patterns that you should be familiar with before we cover some of the popular platforms. We'll cover the Model-View-Controller (MVC) architecture pattern, templates, routing, and data binding.

MVC (Model-View-Controller)

MVC or Model-View-Controller is an architecture pattern that simplifies UI development. In it are many different variations, such as MVP (Model-View-Presenter) and MVVM (Model-View-View-Model), but the fundamental architecture is about the separation of concerns for easier implementation and maintainability. A simplified example of MVC is shown in the following figure:

MVC (Model-View-Controller)

Model is responsible for storing ...

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