README.md revision e86e0d8d1dd6334c2b9e74cafcf94072c0194add
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glass[App Framework][app]
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glass=============
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glass
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav GlassThe app framework provides simple MVC-like building blocks (models, model lists,
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glassviews, view-controllers, and URL-based routing) for writing single-page
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav GlassJavaScript applications.
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glass
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav GlassThese building blocks can be used together or separately to create functionality
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glassranging in complexity from simple non-interactive views to rich, multiple-view
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glassapps with URL-based routing, data binding, and full client-server
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glasssynchronization.
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav Glass
cfb5c556e841b63b73ea6328df5fd730963e0c44Dav GlassIf you've used DocumentCloud's excellent Backbone.js framework, many of the
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Groveclasses and APIs provided by the app framework will look familiar to you. There
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Groveare important differences, though, and the YUI app framework takes full
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Groveadvantage of YUI's powerful component and event infrastructure under the hood.
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan GroveModules
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove-------
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove* [`app`][app]: Rollup module that includes all of the following modules. Use
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove this module when you plan to use the full app framework stack.
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove* [`model`][model]: Provides the `Y.Model` class.
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove* [`model-list`][model-list]: Provides the `Y.ModelList` class.
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove
71651656e38f39cf8f088e75166fb0bf51c52eb1Ryan Grove* [`router`][router]: Provides the `Y.Router` class.
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass* [`view`][view]: Provides the `Y.View` class.
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass[app]: http://yuilibrary.com/yui/docs/app/
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass[model]: http://yuilibrary.com/yui/docs/model/index.html
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass[model-list]: http://yuilibrary.com/yui/docs/model-list/
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass[router]: http://yuilibrary.com/yui/docs/router/index.html
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass[view]: http://yuilibrary.com/yui/docs/view/
8c3dc62e775bd2e2d8a0d8ea5a1d34cb7fe8bfc3Dav Glass