Sencha Touch

Sencha Touch ( is a JavaScript framework for creating web applications targeted to touch-based devices. Sencha Touch is the flagship product of Sencha (formerly Ext JS), a Palo Alto, Calif. company launched in 2007 that makes application frameworks. Sencha Touch combines ExtJS, jQTouch and Raphaƫl. Unlike jQTouch, Sencha Touch is not dependent on jQuery and is compatible with both the iPhone and Android. Sencha Touch is distributed under the GPL v3 open source license. As of this writing, it is in beta and not available for commercial distribution; however, it is expected to have a commercial license upon final release.

Sencha Touch allows your web applications to have a consistent look and feel across both the iPhone and Android. It does not strive for a native look in most cases, but rather has created a blend of widgets that don't look like any specific operating system (with the exception of some iPhone-looking toolbars.)

Sencha Touch is powered by HTML5 and CSS3. Unlike the iWebKit and jQTouch, the Sencha Touch API is pure JavaScript. Developers need to be fairly experienced at JavaScript to take advantage of the Sencha Touch framework. Due to Sencha's recent release, still in beta at the time of this writing, this chapter focuses on providing a foundation in the Sencha style of UI layout and programming and does not provide full recipes for how to develop applications.

In Sencha Touch, you write all of your application code in JavaScript. Focused on the WebKit-based mobile browsers of iOS and Android, you will get the best results when developing if you do your testing on the Safari desktop browser before testing it in the simulator. As with all mobile development, be sure to test on target devices, not just the simulator, before releasing your mobile application.

When implementing the visual design and client-side interaction and testing on your desktop, you can simply open an HTML file in Safari. However, when integrating the interface into your web application, you will make AJAX requests that require your HTML file be hosted in a web server (for example, accessed via "http://..." rather than

Was this article helpful?

0 0
Living With Android

Living With Android

Get All The Support And Guidance You Need To Finally Be A Success At Using Android. This Book Is One Of The Most Valuable Resources In The World When It Comes To Playing With the Hottest Android Tablet.

Get My Free Ebook

Post a comment