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
320
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
Migratory Patterns - KubeCon Salt Lake City, 2024
phodgson
0
20
A Journey Into Feature Toggles - OSCON Austin 2017
phodgson
5
510
Test-driven Client-side JS
phodgson
5
780
Functional Reactive JavaScript
phodgson
8
730
different.js - Forward JS 2014
phodgson
4
770
Railsconf2014
phodgson
7
1.4k
Building Your Own Lightsaber
phodgson
103
6.1k
iOS Unit Testing Workshop
phodgson
3
460
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
430
Other Decks in Programming
See All in Programming
Jakarta EE meets AI
ivargrimstad
0
580
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
2
1.1k
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
280
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
1k
アジャイルを支えるテストアーキテクチャ設計/Test Architecting for Agile
goyoki
9
3.3k
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.2k
EventSourcingの理想と現実
wenas
6
2.3k
.NET のための通信フレームワーク MagicOnion 入門 / Introduction to MagicOnion
mayuki
1
1.4k
見せてあげますよ、「本物のLaravel批判」ってやつを。
77web
7
7.7k
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
Duckdb-Wasmでローカルダッシュボードを作ってみた
nkforwork
0
120
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Become a Pro
speakerdeck
PRO
25
5k
What's new in Ruby 2.0
geeforr
343
31k
Producing Creativity
orderedlist
PRO
341
39k
Adopting Sorbet at Scale
ufuk
73
9.1k
Code Review Best Practice
trishagee
64
17k
Optimizing for Happiness
mojombo
376
70k
Designing Experiences People Love
moore
138
23k
Product Roadmaps are Hard
iamctodd
PRO
49
11k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
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!