O'Reilly logo

Programming Social Applications by Jonathan LeBlanc

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

Separate Visual Markup from Programming Logic

In a normal application, employing programming design pattern concepts such as Model-View-Controller (MVC) allows developers to separate programs into logical chunks. In MVC’s case, program logic is separated into the base data sources (model), the data visualization (view), and the program event handlers, data request, and flow logic (controller). If you follow design pattern precepts, switching containers with different visual/markup standards simply means having to swap out the view—instead of having to rewrite program logic, event handlers, and data transitioning flows, as would be the case with an embedded visual/programming logic.

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