Backbone.js 复合框架:Marionette
jopen
10年前
Backbone.Marionette是一个Backbone.js的复合应用程序库,旨在简化大型JavaScript应用程序的构建。它包含了在应用中常见的设计和实施模式的集合。
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 anApplicationand modules that attach to it
- Compose your application's visuals at runtime, with theRegionandLayoutViewobjects
- Nested views and layouts within visual regions
- Built-in memory management and zombie-killing in views, regions and layoutViews
- Event-driven architecture withBackbone.Wreqr.EventAggregator
- Flexible, "as-needed" architecture allowing you to pick and choose what you need
- And much, much more
Marionette Inspector
- Visualize the view hierarchy with the UI tree
- Visualize application activity with a full history of actions
- Inspect view ui, events, listeners, properties
- Inspect model attributes, listeners, properties
- Explore Radio channel events, requests, commands
- Explore application with an inspector magnifying glass
- Jump between the inspector elements and source panel with intelligent links