O'Reilly logo
  • Pasha Craydon thinks this is interesting:

BookStoreApp = new Backbone.Marionette.Application(); BookStoreApp.addRegions({ mainRegion: "#mainContent", }); CatalogLayout = Backbone.Marionette.Layout.extend({ template: "#CatalogLayout", regions: { categoriesRegion : '#categories', productsRegion : '#products', orderRegion : '#order', bookRegion: '#book' } }); var catalogLayput = new CatalogLayout(); BookStoreApp.mainRegion.show(catalogLayput ); catalogLayput.categoriesRegion.show(new CategoriesView()); catalogLayput.productsRegion.show(new ProductsView());

From

Cover of Getting Started with Backbone Marionette

Note

Example of an app region, displayed inside a layout region