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 1: Application

In the introduction, the library’s author mentions something about “a composite application architecture”. This composite architecture refers to two different things:

Application components built in a hierarchical module structure.

Hierarchical view structures through nested (sub)views.

This chapter will discuss the root piece of that first point: the Application object. We won’t be going into details about how to add subcomponents to your applications until the next chapter, when we talk about modules, but we’ll learn just about everything else there is to know about Application.

The Central Application Object

Most of the time, when someone creates a Backbone application, they make a central object that everything is attached ...

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