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
Stefan Kolb
January 05, 2012
Programming
4
320
Sencha Touch & PhoneGap
Introduction to both Sencha Touch and PhoneGap
Note: Slides are in mostly in German
Stefan Kolb
January 05, 2012
Tweet
Share
More Decks by Stefan Kolb
See All by Stefan Kolb
Desktop? Mobile? Unify!
stefankolb
0
130
iEnterprise - Mit HTML5 zum Unternehmens-Dashboard für Tablets
stefankolb
1
230
Other Decks in Programming
See All in Programming
Android 15 でアクションバー表示時にステータスバーが白くなってしまう問題
tonionagauzzi
0
140
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
440
カラム追加で増えるActiveRecordのメモリサイズ イメージできますか?
asayamakk
4
1.6k
[PyCon Korea 2024 Keynote] 커뮤니티와 파이썬, 그리고 우리
beomi
0
110
Nuxtベースの「WXT」でChrome拡張を作成する | Vue Fes 2024 ランチセッション
moshi1121
1
530
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
440
僕がつくった48個のWebサービス達
yusukebe
18
17k
役立つログに取り組もう
irof
27
8.7k
Identifying User Idenity
moro
6
8k
Modern Angular: Renovation for Your Applications
manfredsteyer
PRO
0
210
讓數據說話:用 Python、Prometheus 和 Grafana 講故事
eddie
0
350
JaSST 24 九州:ワークショップ(は除く)実践!マインドマップを活用したソフトウェアテスト+活用事例
satohiroyuki
0
270
Featured
See All Featured
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
How to Think Like a Performance Engineer
csswizardry
19
1.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
33k
Bash Introduction
62gerente
608
210k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
A better future with KSS
kneath
238
17k
10 Git Anti Patterns You Should be Aware of
lemiorhan
654
59k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
7
150
RailsConf 2023
tenderlove
29
880
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