-
Notifications
You must be signed in to change notification settings - Fork 0
Backbone.Marionette Framework
-
What Marionette is
-
Prerequisite Backbone.js Knowledge
-
What this solves
- Infrastructure
- Glue that reduce overall lines as an application grows.
-
Pros
- Don't need every part of Marionette
- Abstracted from real world projects
- Light weight (4k)
-
Cons
- Not beginner friendly
- Might seem like overkill to have to include all the functionality even if not used
Backbone.Marionette.Application: An application object that starts your app via initializers, and more
Backbone.Marionette.RegionManager: Manage visual regions of your application, including display and removal of content
Backbone.Marionette.ItemView: A view that renders a single item
Backbone.Marionette.CollectionView: A view that iterates over a collection, and renders individual ItemView instances for each model
Backbone.Marionette.AppRouter: Reduce your routers to nothing more then configuration
Backbone.Marionette.EventAggregator: An extension of Backbone.Events, to be used as an event-driven or pub- sub tool
Backbone.Marionette.BindTo: An event binding manager, to facilitate binding and unbinding of events
Backbone.Marionette.TemplateManager: Cache templates that are stored in <script> blocks, for faster subsequent access
Backbone.Marionette.Callbacks: Manage a collection of callback methods, and execute them as needed