O'Reilly logo

Better Backbone Applications with MarionetteJS by Joseph Zimmerman, Smashing Magazine

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 12: Decisions and Setup

Before you write any application, you need to take some time to sit down, organize your thoughts, and make a few decisions — or, in this example, you need to understand the decisions I made. First and foremost, as I mentioned in the previous chapter, Marionette should be in the forefront of this application, so we need to keep the domain logic and other features simple. To this end, I chose not to have any form of persistence. Data is stored solely in memory. It will also be generated by some static JSON when the application is started up, so we at least have some data each time the browser is refreshed. This sidesteps the need to set up a back end and also allows us to skip using a solution for client-side storage. ...

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