Backbone.js 復合框架:Marionette

jopen 9年前發布 | 28K 次閱讀 前端技術 Marionette

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
  • </ul>

    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

    項目主頁:http://www.baiduhome.net/lib/view/home/1424825618156

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!