PacktLib: Getting Started with Backbone Marionette

Getting Started with Backbone Marionette

Credits

About the Authors

About the Reviewers

www.PacktPub.com

Preface

Starting with Backbone Marionette

Introducing Marionette.js

Installing Marionette.js

Summary

Our First Application

Introduction to what we are building

Setting up our development environment

The Backbone.Marionette.Application object

Summary

Marionette View Types and Their Use

Marionette.View and Marionette.ItemView

Building the layout of our application with Marionette.Layout

Extending Marionette views

Summary

Managing Views

Understanding the Marionette.Region object

Using the Marionette.RegionManager object

Using the Backbone.BabySitter object

Taking advantage of the Marionette.Renderer object

Improving the performance of the application with TemplateCache

Summary

Divide and Conquer – Modularizing Everything

Applying the divide and conquer principle

Modularizing single-page applications

Getting started with modules

Splitting modules into multiple files

Implementing initializers and finalizers

Working with subapplications

Using the route filter

Memory considerations

Summary

Messaging

Understanding the event aggregator

Using the event aggregator of Marionette.js

Getting started with Commands

Setting up the RequestResponse object

Summary

Changing and Growing

Using AMD

Defining our application module

Summary

Index