Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Sencha Touch & PhoneGap
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Stefan Kolb
January 05, 2012
Programming
330
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Sencha Touch & PhoneGap
Introduction to both Sencha Touch and PhoneGap
Note: Slides are in mostly in German
Stefan Kolb
January 05, 2012
More Decks by Stefan Kolb
See All by Stefan Kolb
Desktop? Mobile? Unify!
stefankolb
0
160
iEnterprise - Mit HTML5 zum Unternehmens-Dashboard für Tablets
stefankolb
1
250
Other Decks in Programming
See All in Programming
さぁV100、メモリをお食べ・・・
nilpe
0
150
依存関係から依存物へ―Dependencyという言葉の歴史をひも解く
j_lee
0
140
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
280
AIで効率化できた業務・日常
ochtum
0
150
はてなアカウント基盤 State of the Union
cockscomb
0
700
Dataformのリポジトリを立ち上げるときにまずやること / dataform-day0-2026
snhryt
0
180
The NotImplementedError Problem in Ruby
koic
1
930
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
1
300
Webフレームワークの ベンチマークについて
yusukebe
0
180
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
270
JavaDoc 再入門
nagise
1
420
Mujeres en SEO Summit 2026 - Greatest Disaster Hits en Web Performance
guaca
0
200
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.3k
Docker and Python
trallard
47
3.9k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Utilizing Notion as your number one productivity tool
mfonobong
4
330
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
610
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Thoughts on Productivity
jonyablonski
76
5.2k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
72
40k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
250
Practical Orchestrator
shlominoach
191
11k
ラッコキーワード サービス紹介資料
rakko
1
3.7M
Transcript
Sencha Touch & PhoneGap Cross-Plattform Mobile Development Stefan Kolb Indiginox
GmbH MobileTechCon 2011 14/Sep/2011 - Mainz, Germany http://www.intomobile.com/wp-content/uploads/2011/02/pile-of-phones.jpg
Me, Myself & I Softwareentwickler Hier macht‘s Spaß :-) @stefan_kolb
Social Media, baby! stefankolb.de My blog is my castle
Sencha Touch https://lh5.googleusercontent.com/-MJUrGT-iyqQ/TYind_vJ7BI/AAAAAAAAKPM/lw7NADI2qgg/Japanese_Sencha_9_Tea.JPG
“ http://fc04.deviantart.net/fs50/f/2009/333/1/7/Blue_Bubbles_Wallpaper_by_SonnyKingBlack.jpg http://www.sencha.com/products/touch The first HTML5, Mobile Web App Framework
jQuery <HTML> DOM DOM Element DOM Element DOM Element ...
$(‘#selector‘); jQuery Wrapper position(); append(); removeClass();
Sencha Touch <HTML> DOM List Button Toolbar ... new Ext.List({
... }); Sencha Touch Widgets
Sencha Touch • HTML5, CSS3, JavaScript • Basiert auf Ext
JS (Platform) • Cross-Platform
http://www.sencha.com/img/20110222-loopfuse.png
http://dev.sencha.com/deploy/touch/examples/kitchensink/
Sencha Touch
index.html
Model-View-Controller MVC http://rarewallpapers.com/_wallpapers/blueprint-1024x768.jpg
• Ext.regModel(); • Ext.regController(); • Ext.reg(); • new Ext.###CLASS###({ });
Managers
Model erstellen
View erstellen
Controller erstellen
Funktionen
Data Package http://www.etleboro.com/picture_library/Server_room_4.jpg
http://www.sencha.com/blog/countdown-to-ext-js-4-data-package/ & Sencha Touch
• Repräsentiert Daten • Validierung von Daten • Verbindung zu
anderen Modellen Model
Store • Sammlung von Model-Instanzen • Datenmanagement für UI- Komponenten
Proxy • Laden / Speichern von Model-Daten • ClientProxy vs.
ServerProxy • LocalStorageProxy, SessionStorageProxy, MemoryProxy • AjaxProxy, ScriptTagProxy • CRUD / Operation-Objekt
Design User Interface http://culturedcode.com/things/iphone/makingof/ThingsTouch-InterfaceStillLife.jpg
• Visuellen Bestanteile einer App • User Interface Components
http://media.oregonlive.com/ent_impact_arts/photo/leventijpg-1275f1d04cd5ba33.jpg Components Demo
• Wrapper für andere Components • Hinzufügen, Einfügen und Entfernen
von Components • Anordnung der beinhaltenden Components mittels Layout Container
Layout • Legt fest, wie Components innerhalb eines Containers gerendert
wrden • auto, fit, card, hbox, vbox • dock, field, box
fit
card
hbox
vbox
Container/Layout Konfiguration • pack: start, center, end, justify • align:
start, center, end, stretch • direction: normal, reverse • width, height, flex
Container/Layout Konfiguration
None
Events & Gestures Touch http://www.sencha.com/products/touch/ tap/double-tap pinch/rotate swipe tap &
hold
http://media.oregonlive.com/ent_impact_arts/photo/leventijpg-1275f1d04cd5ba33.jpg Touch Solitaire Demo
• CSS3 • Unabhängig der Bildschirmauflösung • Icons • Animations
• slide, pop, fade, flip & cube • Eigene Animationen mittels CSS Style & Design
http://media.oregonlive.com/ent_impact_arts/photo/leventijpg-1275f1d04cd5ba33.jpg Styles & Design Demo
Theming http://www.sencha.com/products/touch/style-design
Lizenzen • Open Source Licenses • GPL v3 & FLOSS
• Commercial Software License • Commercial OEM License
Lizenzen • Open Source Licenses • GPL v3 & FLOSS
• Commercial Software License • Commercial OEM License
Offline HTML5 CSS3 Touch Events Animations Theming MVC Data Package
iOS BlackBerry Android Windows Phone Charts Ajax Forms Layouts Audio Video History Templates Animations ScrollView Maps
PhoneGap http://lh5.ggpht.com/-rmzR397-NWM/SJFLfL6_0OI/AAAAAAAAAB8/-yL_flScXAY/UTGC0101.jpg
Web-App HTML5 CSS JavaScript Native APIs
PhoneGap • Native Bibliothek • JavaScript • navigator.*
http://www.phonegap.com/about/features
http://docs.phonegap.com
deviceready?
build.phonegap.com PhoneGap Build
http://media.oregonlive.com/ent_impact_arts/photo/leventijpg-1275f1d04cd5ba33.jpg Sencha Touch & PhoneGap Demo
Fragen? Bitte nicht so schwierige :-) @stefan_kolb
[email protected]
I‘m up for beers THX http://hi-zu-mi.deviantart.com/art/The-Legendary-152264959