https://github.com/alchaplinsky/marionette.doc
Marionette.js 1.8.0 documentation
https://github.com/alchaplinsky/marionette.doc
Last synced: 10 months ago
JSON representation
Marionette.js 1.8.0 documentation
- Host: GitHub
- URL: https://github.com/alchaplinsky/marionette.doc
- Owner: alchaplinsky
- Created: 2014-04-14T08:46:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-21T08:42:55.000Z (about 12 years ago)
- Last Synced: 2025-02-21T17:49:46.906Z (over 1 year ago)
- Homepage: http://alchapone.github.io/marionette.doc/
- Size: 2.41 MB
- Stars: 16
- Watchers: 4
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Official Backbone.Marionette Doc
This Doc is build for developers so that it's easier to read and examine Marionettejs v1.8.0 doc.
Built using [Gitbook](https://github.com/GitbookIO/gitbook).
## Backbone.Marionette
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 I (Derick Bailey) have been building with Backbone,
and includes various pieces inspired by composite application architectures,
such as Microsoft's "Prism" framework.
### App Architecture On Backbone's Building Blocks
Backbone provides a great set of building blocks for our JavaScript
applications. It gives us the core constructs that are needed to build
small apps, organize jQuery DOM events, or create single page apps that
support mobile devices and large scale enterprise needs. But Backbone is
not a complete framework. It's a set of building blocks. It leaves
much of the application design, architecture and scalability to the
developer, including memory management, view management, and more.
Marionette brings an application architecture to Backbone, along with
built in view management and memory management. It's designed to be a
lightweight and flexible library of tools that sits on top of Backbone,
providing the framework for building a scalable application.
Like Backbone itself, you're not required to use all of Marionette just
because you want to use some of it. You can pick and choose which features
you want to use. This allows you to work with other Backbone
frameworks and plugins easily. It also means that you are not required
to engage in an all-or-nothing migration to begin using Marionette.
### Key Benefits
* Scalable: applications are built in modules, and with event-driven architecture
* Sensible defaults: Underscore templates are used for view rendering
* Easily modifiable: make it work with your application's specific needs
* Reduce boilerplate for views, with specialized view types
* Build on a modular architecture with an `Application` and modules that attach to it
* Compose your application's visuals at runtime, with the `Region` and `Layout` objects
* Nested views and layouts within visual regions
* Built-in memory management and zombie-killing in views, regions and layouts
* Event-driven architecture with `Backbone.Wreqr.EventAggregator`
* Flexible, "as-needed" architecture allowing you to pick and choose what you need
* And much, much more