Jump to content

Sencha Touch

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Torchiest (talk | contribs) at 17:57, 22 December 2012 (Features: copy edited and removed excessive subsections). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Sencha Touch
Developer(s)Sencha
Stable release
2.0.3 / August 22, 2012; 12 years ago (2012-08-22)
Written inJavaScript
Operating systemAndroid, iOS, RIM, Kindle
Available inEnglish
TypeJavaScript library
LicenseGPLv3 or commercial
Websitewww.sencha.com/products/touch

Sencha Touch is a user interface (UI) JavaScript library, or framework, specifically built for the Mobile Web. It can be used by Web developers to develop user interfaces for mobile web applications that look and feel like native applications on supported mobile devices. It is fully based on web standards such as HTML5, CSS3 and JavaScript. Sencha Touch aims to enable developers to quickly and easily create HTML5 based mobile apps that work on Android, iOS and Blackberry devices, and produce a native-app-like experience inside a browser.

Version history and support

Sencha Touch is a product of Sencha, which was formed after popular JavaScript library projects Ext JS, jQTouch and Raphaël were combined.[1] The first release of Sencha Touch, version 0.90 beta, was made available on July 17, 2010. This beta release supported devices running Android, and iOS (on iPhone, iPod touch, iPad). Subsequently the first stable version, 1.0, was released in November 2010. Version 1.1.0 added support for devices running BlackBerry OS version 6. The latest release, Sencha Touch 2, was released on March 7, 2012 and is designed to run on WebKit based browsers such as Android, Google Chrome for Android, RIM Blackberry Browser, Bada Mobile Browser, Kindle Fire Browser, and Safari. Sencha has announced its intention to support Windows Phone in the 2.x line. There are no plans to support Firefox Mobile.

Features

Sencha Touch includes a set of graphical user interface GUI-based controls (or components) for use within mobile web applications. These components are optimized for touch input. The components are: buttons with device specific themes and effects; form elements such as text fields for email, date picker, and address; sliders, selectors, and combo-boxes; a list component with momentum-scrolling and an index bar; a minimal icon set; toolbars and menus; movable tabs; bottom toolbars; and a map component with support for multi-touch gestures such as pinch and zoom.[2]

All the components can be themed according to the target device. This is done using SASS, a stylesheet language built over CSS.

Sencha Touch has four in-built transition effects: slide over or under the current element, pop, flip, and cube. It supports common touch gestures built from touch events, which are Web standards but supported only by Android, iOS, and some touch enabled devices. These are tap, double tap, swipe, scroll, and pinch.

Comparison to native applications

Native applications on mobile devices have access to device components such as the camera, compass, and microphone[3] which Sencha Touch can access through the use of a native shell such as Phonegap. As mobile browsers and devices have evolved to meet emerging standards, APIs and components such as WebSockets, GPS and accelerometers have become available to mobile web applications, with GPS specifically supported by Sencha Touch.[4] Sencha Touch can be used along with PhoneGap or its own native packager, to create applications native to a mobile device that have access to currently native-only components, and which can be made available from app marketplaces.[5] The capability of such applications may be restricted by the capability of PhoneGap; alternatively, Sencha Touch can be used with its own native packager, which is included in Sencha Touch 2 Preview SDK tools.

See also

References

Bibliography

  • Jesus Garcia and Anthony De Moss, Sencha Touch in Action (Early access edition), ISBN 978-1-61729-037-4.