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
Strategies for Cross-Platform Mobile
Search
Pete Hodgson
November 16, 2012
Programming
2
300
Strategies for Cross-Platform Mobile
An talk I gave in Melbourne for an internal ThoughtWorks conference
Pete Hodgson
November 16, 2012
Tweet
Share
More Decks by Pete Hodgson
See All by Pete Hodgson
A Journey Into Feature Toggles - OSCON Austin 2017
phodgson
5
490
Test-driven Client-side JS
phodgson
5
760
Functional Reactive JavaScript
phodgson
8
710
different.js - Forward JS 2014
phodgson
4
750
Railsconf2014
phodgson
7
1.3k
Building Your Own Lightsaber
phodgson
101
6k
iOS Unit Testing Workshop
phodgson
3
440
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
410
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
550
Other Decks in Programming
See All in Programming
AWS Lambda Web Adapterを活用する新しいサーバーレスの実装パターン
tmokmss
6
5.2k
Iteratorでページネーションを実現する
sonatard
3
690
標準ライブラリの動向とイテレータのパフォーマンス
makki_d
3
180
利用者視点で考える、イテレータとの上手な付き合い方
syumai
4
210
ファーストペンギンBot @Qiita Hackathon 2024 予選
dyson_web
0
200
なぜアジャイルがうまくいかないのか?
yum3
2
140
Removing Corepack
yosuke_furukawa
PRO
9
1k
sqlcを利用してsqlに型付けを
kamiyam
0
220
Perl 5 OOP機構30年史 - Perl 5's OOP Mechanism over the past 30 years
moznion
1
760
CSC509 Lecture 02
javiergs
PRO
0
140
サークルポータルを支えるフロントエンドアーキテクチャの選定
toranoana
1
220
フロントエンドの標準仕様をどう追っているか / How I follow the frontend standards specs
petamoriken
3
170
Featured
See All Featured
The Cult of Friendly URLs
andyhume
76
6k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
45
4.8k
Six Lessons from altMBA
skipperchong
26
3.4k
What the flash - Photography Introduction
edds
67
11k
[RailsConf 2023] Rails as a piece of cake
palkan
49
4.7k
How To Stay Up To Date on Web Technology
chriscoyier
786
250k
The Language of Interfaces
destraynor
154
24k
Designing the Hi-DPI Web
ddemaree
278
34k
Mobile First: as difficult as doing things right
swwweet
221
8.8k
How to Ace a Technical Interview
jacobian
274
23k
Typedesign – Prime Four
hannesfritz
39
2.3k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
166
48k
Transcript
Cross-plat orm Mobile
Agenda • mobile strategy • technical approaches • deep dive
into Calatrava
a question rom the client...
“ We need a mobile strategy. What should we be
building? ”
The Consultant’s Motto:
The Consultant’s Motto: “it depends”
“it depends” on... Plat orm Coverage User Experience Time to
Market Dev. Cost Discover- ability etc... Development Capability
plat orm coverage UX Zone of Awesome
plat orm coverage UX Zone of Awesome You are here
plat orm coverage UX
plat orm coverage UX
mobile approaches
mobile approaches pure web pure native ‘hybrid’ WORA Portable Body
pure web pure native ‘hybrid’ WORA Portable Body
pure web the uture, but...
pure web hardware access plat orm access per ormance discoverability
pure web pure native ‘hybrid’ WORA Portable Body
pure native implement rom scratch or each plat orm should
at least share requirements
pure web pure native ‘hybrid’ WORA Portable Body
‘hybrid’
web native vs.
web native
web native pure native
web native pure native pure web
web native pure web wrabbed web (e.g. phonegap) pure native
wrabbed web (e.g. phonegap) embedded web views web native pure
web pure native
web native
‘hybrid’ web native
pure web pure native ‘hybrid’ WORA Portable Body
WORA (write once, run anywhere) (e.g. Kony, Appcelerator Titanium)
common implementation iphone app android app mobile web
common implementation iphone app android app mobile web write once
run anywhere
The Uncanny Valley
The Uncanny Valley
The Glass Ceiling
pure web pure native ‘hybrid’ WORA Portable Body
Portable Body
mobile app
UI the rest
portable body UI
portable body iPhone mobile web Android
portable body iPhone mobile web Android
iPhone mobile web Android
Calatrava A cross-platform mobile framework
- controllers - domain objs. - services <html> views
update UI respond to user input kernel UI
updating the UI
someView.render( aViewMessage ) updating the UI {...}
someView.render( aViewMessage ) updating the UI {...}
someView.get( ‘field_id’, callbackFn ) reading the UI
someView.bind( ‘event_id’, callbackFn ) responding to events
calatrava is ‘HTML irst’
<html> <html> <html> HTML irst
HTML irst Get broad plat orm coverage quickly No glass
ceiling or UX Avoid the uncanny valley Experiment cheaply, validate, and double-down only where it matters
Testing Acceptance Tests
Testing app logic Acceptance Tests
where’s your logic? mobile app mobile services
shared mobile services app
app shared mobile services app app iPhone HTML Android
In Summary Strategy depends on context The Web Is The
Future ‘Hybrid’ == Mobile App Portable Body > WORA Consider Thin Client
THANKS!