O'Reilly logo

Getting Started with Backbone Marionette by Arturo Soto, Raymundo Armendariz

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

Modularizing single-page applications

Designing a base architecture for single-page apps is not trivial. SPAs are opposite to traditional web apps that often have full-page reloads. They are dynamic page applications running in one page and usually, require spending some time on designing foundations. They are designed more like desktop apps since we store the application state in the client, but managing it quickly becomes a problem. As we have learned from the divide and conquer principle, a problem can be divided in several parts, so that each part can be handled independently. Having said that, let's explore how we can implement an application that will load single responsibility subapplications on demand, each of them has the ability to stop ...

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