Sencha Touch 2.3 發布,基于HTML 5的Mobile App框架

jopen 11年前發布 | 26K 次閱讀 Sencha Touch

Sencha Touch框架是一個基于HTML 5的Mobile App框架。

Sencha Touch可以讓你的Web App看起來像Native App。美麗的用戶界面組件和豐富的數據管理,全部基于最新的HTML 5和CSS3的 WEB標準,全面兼容Android和iOS設備。

下面是官方列出的幾大特性:

◆基于最新的WEB標準 – HTML 5,CSS3,JavaScript。整個庫在壓縮和gzip后大約80KB,通過禁用一些組件還會使它更小。

◆支持世界上最好的設備。Beta版兼容Android和iOS,Android上的開發人員還可以使用一個專為Android定制的主題。

◆增強的觸摸事件。在touchstart等標準事件基礎上,增加了一組自定義事件數據集成,如tap、swipe、pinch、rotate等。

◆數據集成。提供了強大的數據包,通過Ajax、JSONp、YQL等方式綁定到組件模板,寫入本地離線存儲。

這里有一些DEMO和案例,通過這些演示,我們可以發現下面的這些細節上的特點:

◆HTML 5離線存儲

◆HTML 5地理定位

◆Sencha Touch icon設置

◆JSONP代理

◆YQL數據代理

◆重力感應滾動

◆滾動Touch事件

◆遮罩彈出層

◆為移動優化的表單元素

◆CSS3 Gradients

◆CSS3 Transitions

◆Multi-Card布局

◆Tab組件

◆滾動列表視圖

◆其它……

Sencha Touch 2.3 發布了,該版本值得關注的新特性包括支持觸摸的表格、支持 Cordova 以及新的主題。

The iOS7 Theme for HTML5

Sencha Touch 2.3 發布,基于HTML 5的Mobile App框架

It takes a herculean effort to build themes that look native to your target platform. There is absolutely no doubt that the iOS7 look-and-feel is the most significant change since the first release of iOS. With the release of iOS7, everyone wants to get their apps to look native on iOS7 as soon as possible. With Sencha Touch 2.3, we are providing out-of-the-box support for iOS7. You can upgrade your existing iOS apps built with Sencha Touch very quickly, and you can even choose between Cupertino and Cupertino Classic based on the platform version you are targeting with your iOS apps.


Other New Themes & Enhancements

Sencha Touch 2.3 發布,基于HTML 5的Mobile App框架

The existing themes for Sencha Touch have received a number of enhancements in version 2.3. We have gone through the Blackberry 10 theme in great detail and enhanced its unique look and feel to match Blackberry 10 specifications exactly. In addition, we have included new themes for iOS and Android: Cupertino Classic (pre-iOS7 friendly theme) and Mountain View (Android friendly theme). For more information on BlackBerry 10 theme, visit BlackBerry Developer Blog.

Themes can be used based on their respective platforms using the theme switching capabilities of Sencha Touch. For more details on BlackBerry 10 development, see the BlackBerry Getting Started guide.


The All New Touch Grid

Sencha Touch 2.3 發布,基于HTML 5的Mobile App框架

Sencha Touch Grid is a highly optimized grid component for touch devices. The Touch Grid makes it easy to fetch, sort, filter, and edit large amounts of data on touch devices. It's easy to configure each column of the grid as well as customize any column using column renderers.

The Sencha Touch Grid uses a plugin architecture to support additional grid functionality such as:

  1. ViewOptions to allow showing, hiding and reordering of grid columns
  2. ColumnResizing to allow using pinch gestures to resize columns
  3. Editable to enable editing grid contents for an entire row (one at a time)
  4. MultiSelection to enable selection and deletion of multiple rows at a time
  5. PagingToolbar to quickly navigate to another page of data
  6. SummaryRow to add or pin an additional row of summarized data (averages, max, min, etc.) to the top of the grid

Touch Grid is available as part of Sencha Complete or the Sencha Touch Bundle.

In the near term, we'll be releasing some enhancements to the Touch Grid, including a buffered store. If there's a feature enhancement you want, please suggest it n the forums to help improve the component. Touch Grid will be supported in Sencha Architect 3 via a User Extension in an upcoming release.

詳細介紹請看發行說明

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!