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

Chapter 7. Changing and Growing

In the previous chapter, we explored various functions that could be combined to produce a system that is fully integrated, but loosely coupled. In this chapter, we will cover some external pieces of Marionette that are very valuable, and as we progress, you will discover how to change some default features of the framework and combine Marionette.js with external libraries to make your application perform better. Here is a list of the topics that we will cover:

  • Using Asynchronous Module Definitions (AMD)
  • Using the Require.js library
  • Configuring Require.js
  • Using the text plugin to load the templates

Using AMD

Using the AMD, API will help us to load scripts on demand, specify the module dependencies, and reduce the script ...

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