Getting Started with Backbone Marionette

If you know JavaScript and a little Backbone.js, this book is just what you need to move your speed and efficiency up a gear. It’s a complete and practical guide to the composite application library Backbone Marionette.
Preview in Mapt

Getting Started with Backbone Marionette

Raymundo Armendariz, Arturo Soto

If you know JavaScript and a little Backbone.js, this book is just what you need to move your speed and efficiency up a gear. It’s a complete and practical guide to the composite application library Backbone Marionette.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$12.60
RRP $17.99
Save 29%
Print + eBook
$29.99
RRP $29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$12.60
$29.99
$29.99p/m after trial
RRP $17.99
RRP $29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Getting Started with Backbone Marionette Book Cover
Getting Started with Backbone Marionette
$ 17.99
$ 12.60
Getting started with Azure Serverless computing with Node.js [Video] Book Cover
Getting started with Azure Serverless computing with Node.js [Video]
$ 124.99
$ 106.25
Buy 2 for $30.10
Save $112.88
Add to Cart
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 

Book Details

ISBN 139781783284252
Paperback94 pages

Book Description

Backbone Marionette is a composite application library for Backbone.js that aims to simplify the construction of large-scale JavaScript applications. It is a collection of common design and implementation patterns found in the applications that we build with Backbone, and it includes pieces inspired by composite application architectures, event-driven architectures, and messaging architectures.

This guide will help you learn some key concepts that will allow you to build large-scale applications with ease. You will learn how to add new features quickly and easily using a solid and composite Backbone Marionette framework. This book is a practical guide to developing scalable applications using an incremental and modular approach with Marionette.js.

This book begins by showing you the key benefits of Marionette.js and how to set up a development environment so you can begin writing code using this framework. It then walks you through the main components of the library such as the router, controller, and application. After that, it introduces you to topics like view types and the view life cycle before moving on to more advanced topics such as modularization, enterprise messaging patterns, incremental use, and memory management.

Getting Started with Backbone Marionette contains a lot of infrastructural examples that will help you to build an application of virtually any module size. It provides you with a collection of common design and implementation patterns to break your applications into small pieces. It then wraps-up by implementing extended capabilities like asynchronous module definitions and handlebars.

Table of Contents

Chapter 1: Starting with Backbone Marionette
Introducing Marionette.js
Installing Marionette.js
Summary
Chapter 2: Our First Application
Introduction to what we are building
Setting up our development environment
The Backbone.Marionette.Application object
Summary
Chapter 3: Marionette View Types and Their Use
Marionette.View and Marionette.ItemView
Building the layout of our application with Marionette.Layout
Extending Marionette views
Summary
Chapter 4: 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
Chapter 5: 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
Chapter 6: Messaging
Understanding the event aggregator
Using the event aggregator of Marionette.js
Getting started with Commands
Setting up the RequestResponse object
Summary
Chapter 7: Changing and Growing
Using AMD
Defining our application module
Summary

What You Will Learn

  • Install and understand the core concepts of Backbone Marionette
  • Orchestrate views with a controller object
  • Divide your application into logical independent regions
  • Manage an object's life cycle to avoid memory leaks
  • Reduce boilerplate and glue code normally needed in Backbone Development by decoupling your JavaScript applications into modules.
  • Provide structure, organization, and pattern to your Backbone code

Authors

Table of Contents

Chapter 1: Starting with Backbone Marionette
Introducing Marionette.js
Installing Marionette.js
Summary
Chapter 2: Our First Application
Introduction to what we are building
Setting up our development environment
The Backbone.Marionette.Application object
Summary
Chapter 3: Marionette View Types and Their Use
Marionette.View and Marionette.ItemView
Building the layout of our application with Marionette.Layout
Extending Marionette views
Summary
Chapter 4: 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
Chapter 5: 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
Chapter 6: Messaging
Understanding the event aggregator
Using the event aggregator of Marionette.js
Getting started with Commands
Setting up the RequestResponse object
Summary
Chapter 7: Changing and Growing
Using AMD
Defining our application module
Summary

Book Details

ISBN 139781783284252
Paperback94 pages
Read More

Read More Reviews

Recommended for You

Mastering Web Application Development with AngularJS Book Cover
Mastering Web Application Development with AngularJS
$ 26.99
$ 5.40
Backbone.js Cookbook Book Cover
Backbone.js Cookbook
$ 26.99
$ 18.90
Object-Oriented JavaScript - Second Edition Book Cover
Object-Oriented JavaScript - Second Edition
$ 29.99
$ 21.00
AngularJS Directives Book Cover
AngularJS Directives
$ 19.99
$ 2.00
MEAN Web Development Book Cover
MEAN Web Development
$ 29.99
$ 3.00
Backbone.js Testing Book Cover
Backbone.js Testing
$ 19.99
$ 14.00