App Framework 3.0

We are happy to announce the release of App Framework 3.0.  You can find the latest code at and the documentation is at  

You can find the website and documentation for App Framework 2.1/2.2 at

App Framework 3.0 is a big change from previous versions.  When the project originally started in 2011, the focus was on fixing OS bugs such as CSS3 transforms on Android, providing a solid scrolling library, and a lightweight .  Now we can leverage native scrolling and use mature third party plugins in the application.  Below we will highlight changes for App Framework 3.0

  1. We recommend using jQuery* as the query selector library.  We are no longer maintaining our own.
  2. The TouchLayer plugin has been removed.  We recommend FastClick from FTLabs*
  3. We recommend using the native scroller for optimal performance.  You can use any JavaScript scroller you want.
  4. View based composition.  Headers, footers and navs are now shared in a common view.
  5. LESS* based CSS files.
  6. CSS driven transitions.  You can define custom transitions all through CSS.
  7. New plugins including swipe to reveal
  8. Support for partial loading of pages
  9. The JS object is now $.afui to be compatible with jQuery* UI

For more information on the view composition and page layouts, see  The quickstart guide will help you get started with building your next app. You can also preview components and get code snippets.

App Framework 2.x

We will continue to provide bug fixes for App Framework 2.2, but major development on that branch has stopped.  You can find the code at .

Upgrading my app

Upgrading may or may not be an easy process depending on the complexity of your code.  We encourage you to start a new project and replicate parts of your app with the new view based composition.  This should help you decide if it's feasible to upgrade your application or keep it on the 2.2 code base.

For more complete information about compiler optimizations, see our Optimization Notice.