Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

App Framework

The app framework provides simple MVC-like building blocks (models, model lists, views, view-controllers, and URL-based routing) for writing single-page JavaScript applications.

These building blocks can be used together or separately to create functionality ranging in complexity from simple non-interactive views to rich, multiple-view apps with URL-based routing, data binding, and full client-server synchronization.

If you've used DocumentCloud's excellent Backbone.js framework, many of the classes and APIs provided by the app framework will look familiar to you. There are important differences, though, and the YUI app framework takes full advantage of YUI's powerful component and event infrastructure under the hood.


  • app: Rollup module that includes all of the following modules. Use this module when you plan to use the full app framework stack.

  • app-base: Provides the Y.App class.

  • app-transitions: Provides the Y.App.Transitions class.

  • model: Provides the Y.Model class.

  • model-list: Provides the Y.ModelList class.

  • router: Provides the Y.Router class.

  • view: Provides the Y.View class.

Something went wrong with that request. Please try again.