Marionette follows Backbone's pseudo-class architecture. This documentation is meant to provide a comprehensive listing of those classes so that the reader can have a high-level view and understand functional similarities between the classes. All of these classes share a common set of functionality.
View is used for managing portions of the DOM via a single parent DOM element or
el. It provides a consistent interface for managing the content of the
el which is typically administered by serializing a
Backbone.Collection and rendering a template with the serialized data into the
View provides event delegation for capturing and handling DOM interactions as well as the ability to separate concerns into smaller, managed child views.
View can have
View manages a portion of the DOM via a single parent DOM element or
el. This view manages an ordered set of child views that are shown within the view's
el. These children are most often created to match the models of a
Backbone.Collection though a
CollectionView does not require a
collection and can manage any set of views.
CollectionView can have
Regions provide consistent methods to manage, show and destroy views in your applications and views.
Behavior provides a clean separation of concerns to your view logic, allowing you to share common user-facing operations between your views.
Application provides hooks for organizing and initiating other elements and a view tree.
Application can have a single region.
MnObject incorporates backbone conventions
Users of versions of Marionette prior to v4 will notice that a router is no longer bundled. The Marionette.AppRouter was extracted and the core library will no longer hold an opinion on routing.
Continue Reading about routing in Marionette.
© 2017 Muted Solutions, LLC
Licensed under the MIT License.