SlideShare a Scribd company logo
1 of 18
Sencha Touch
author:Canred
Web Mobile Tech.
1.jQuery Mobile
Last Version : 1.4.5
官網:http://demos.jquerymobile.com/1.4.5/button-markup/
2.Sencha Touch
Last Version : 2.4
官網:http://www.sencha.com/products/touch/
3.Bootstrap
Last Verision:3.3.2
Depend by : JQuery 1.9 以上
官網:http://getbootstrap.com/
4.Other
ps:http://www.slideshare.net/stevedrucker/mobile-platforms-19979061?next_slideshow=1
Sench Touch’s優劣
1.可同時支持不同的Device顯示方式(Phone,Tablet,Windowsphone)
Sench Touch’s優劣
2.強調 One Page One Application 的開發方式,讓您的Web Mobile App的
操作方式更貼近於原生的App。
3.元件豐富
4.API文檔完整 http://docs-origin.sencha.com/touch/2.4/2.4.1-apidocs/
5.較少的CSS來控制UI Layout.
6.可轉成Android的原生碼的可能性,可再製開發
http://www.slideshare.net/edspencer/introduction-to-sencha-touch?related=2
Sench Touch’s優劣
1.Touch基底的程式碼較
大約2Mb,第一次載入
的時侯較花時間。
Sench Touch’s優劣
2.程序開發架框不易撐握。
Sench Touch’s優劣
3.不懂 Javascript , js 除錯的人學習趨線將
拉的很長
JS
容
易
學
嗎
?
Javascript
是一種易學,但難精通的語言!
It’s showtime..
Builder First Touch App
1.Download Sencha Touch Source code .
2.安裝Sencha command 來建立 Touch 的基本框架
參考資料:http://blog.toright.com/posts/3241/web-app-
%E8%A1%8C%E5%8B%95%E9%96%8B%E7%99%BC-3-sencha-touch-
%E9%96%8B%E7%99%BC%E7%92%B0%E5%A2%83%E5%BB%BA%E7%BD%AE.html
3.執行指令
sencha generate app YourApp YourAppPath
Sencha MVC
Store
Model
Direct
http://www.slideshare.net/mkamithkumar/mvc-in-sencha-touch?related=1
Sencha Controller’s refs
因為View & Controller 是完全的分離的情況下…當我們在Controller時,如何正
確的取得View上的元件,以及設定View元件上的行為動作(event)。
Controller’s refs
refs:{
txtUserName:”textfield[action=userName]”,
txtPasswordName:”passwordfield[action=userPwd]”
},
control:{
txtUserName:{
change:’onTxtUserName’ //onTxtUserName is a function
}
}
Sencha Controller’s refs
function onTxtUserName(obj,newValue,oldValue){
// how to get passworld value ???
}
this.getTxtPasswordName().value();
追縱程式碼
真
相
只
有
一
個
!!
程
序
入
口
僅
有
一
個
Q&A

More Related Content

Similar to Sencha touch 介紹

iPhone/iPad APP Development Class 101
iPhone/iPad APP Development Class 101iPhone/iPad APP Development Class 101
iPhone/iPad APP Development Class 101Ryan Chung
 
互联网产品监测报告(第五十二期)
互联网产品监测报告(第五十二期)互联网产品监测报告(第五十二期)
互联网产品监测报告(第五十二期)小熊 张
 
第一次 Mobile App 就上手
第一次 Mobile App 就上手第一次 Mobile App 就上手
第一次 Mobile App 就上手Ying-Hsiang Liao
 
Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221
Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221
Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221inspire digital
 
Er introduction
Er introductionEr introduction
Er introductionYubei Li
 
移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发fangdeng
 
2014南部創新應用工具研討會 快速開發行動 app
2014南部創新應用工具研討會 快速開發行動 app2014南部創新應用工具研討會 快速開發行動 app
2014南部創新應用工具研討會 快速開發行動 app益祥 許
 
移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发完颜 小卓
 
HTML5 生态系统和应用架构模型
HTML5 生态系统和应用架构模型HTML5 生态系统和应用架构模型
HTML5 生态系统和应用架构模型Tom Fan
 
手机上面的Ria应用
手机上面的Ria应用手机上面的Ria应用
手机上面的Ria应用Kenshin Wang
 
智能手機與平版電腦系統及開發平台概覽
智能手機與平版電腦系統及開發平台概覽智能手機與平版電腦系統及開發平台概覽
智能手機與平版電腦系統及開發平台概覽Amanda Lam
 
Let's talk about Web Design
Let's talk about Web DesignLet's talk about Web Design
Let's talk about Web DesignAbby Chiu
 
Sencha touch 2 訓練課程 1 建置專案環境
Sencha touch 2 訓練課程 1 建置專案環境Sencha touch 2 訓練課程 1 建置專案環境
Sencha touch 2 訓練課程 1 建置專案環境My own sweet home!
 
2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例
2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例
2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例Justin Lee
 
常用开发工具介绍
常用开发工具介绍常用开发工具介绍
常用开发工具介绍haozes
 
中文加英文(肖金华)
中文加英文(肖金华)中文加英文(肖金华)
中文加英文(肖金华)金华 肖
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium昱劭 劉
 
Android 4-app
Android 4-appAndroid 4-app
Android 4-applydiafly
 

Similar to Sencha touch 介紹 (20)

iPhone/iPad APP Development Class 101
iPhone/iPad APP Development Class 101iPhone/iPad APP Development Class 101
iPhone/iPad APP Development Class 101
 
互联网产品监测报告(第五十二期)
互联网产品监测报告(第五十二期)互联网产品监测报告(第五十二期)
互联网产品监测报告(第五十二期)
 
第一次 Mobile App 就上手
第一次 Mobile App 就上手第一次 Mobile App 就上手
第一次 Mobile App 就上手
 
UIKit-Swift
UIKit-SwiftUIKit-Swift
UIKit-Swift
 
Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221
Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221
Inspire dgt 網路技術分享_手機版網頁製作簡介_20111221
 
Er introduction
Er introductionEr introduction
Er introduction
 
移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发
 
2014南部創新應用工具研討會 快速開發行動 app
2014南部創新應用工具研討會 快速開發行動 app2014南部創新應用工具研討會 快速開發行動 app
2014南部創新應用工具研討會 快速開發行動 app
 
移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发移动互联网时代的Mobile app设计和开发
移动互联网时代的Mobile app设计和开发
 
HTML5 生态系统和应用架构模型
HTML5 生态系统和应用架构模型HTML5 生态系统和应用架构模型
HTML5 生态系统和应用架构模型
 
手机上面的Ria应用
手机上面的Ria应用手机上面的Ria应用
手机上面的Ria应用
 
智能手機與平版電腦系統及開發平台概覽
智能手機與平版電腦系統及開發平台概覽智能手機與平版電腦系統及開發平台概覽
智能手機與平版電腦系統及開發平台概覽
 
Android design4.0
Android design4.0Android design4.0
Android design4.0
 
Let's talk about Web Design
Let's talk about Web DesignLet's talk about Web Design
Let's talk about Web Design
 
Sencha touch 2 訓練課程 1 建置專案環境
Sencha touch 2 訓練課程 1 建置專案環境Sencha touch 2 訓練課程 1 建置專案環境
Sencha touch 2 訓練課程 1 建置專案環境
 
2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例
2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例
2011/08/20跨平台行動應用程式使用者介面開發—以titanium mobile為例
 
常用开发工具介绍
常用开发工具介绍常用开发工具介绍
常用开发工具介绍
 
中文加英文(肖金华)
中文加英文(肖金华)中文加英文(肖金华)
中文加英文(肖金华)
 
Automated Web Testing Using Selenium
Automated Web Testing Using SeleniumAutomated Web Testing Using Selenium
Automated Web Testing Using Selenium
 
Android 4-app
Android 4-appAndroid 4-app
Android 4-app
 

Sencha touch 介紹

Editor's Notes

  1. 3+…還可以plug-in圖表的功能 Sencha Charts ,echart。