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
280
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
460
Test-driven Client-side JS
phodgson
5
740
Functional Reactive JavaScript
phodgson
8
690
different.js - Forward JS 2014
phodgson
4
730
Railsconf2014
phodgson
7
1.3k
Building Your Own Lightsaber
phodgson
101
5.9k
iOS Unit Testing Workshop
phodgson
3
430
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
370
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
520
Other Decks in Programming
See All in Programming
DynamoDB コスト最適化っぽいことの基本 with Terraform
kuro_kurorrr
2
250
はしめてのプログラミングとロボット制御
watawatavoltage
0
290
コード生成を伴うLLMエージェント - 2024.07.18 Tokyo AI
smiyawaki0820
11
4.1k
3 Effective Rules for Success with Signals in Angular
manfredsteyer
PRO
0
120
Polarsの成長: v0.14からv1.0までの変遷と今後の展望
zerebom
1
350
しくじり先生 Image Matching Challenge 2024 編
goosehaaan
0
810
Javaの現状2024夏 / Java current status 2024 summer
kishida
4
1.4k
12年前の『型システム入門』翻訳の思い出話
mame
11
1.2k
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
継続的な活動で築く地方エンジニアの道
myamashii
2
350
社内 LT 会を発足し、アウトプット文化を醸成させるために考えたこと・やったこと / Starting internal LT meetings and fostering an output culture
mackey0225
3
120
CSC307 Lecture 11
javiergs
PRO
0
240
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
219
8.8k
Fontdeck: Realign not Redesign
paulrobertlloyd
79
5.1k
What the flash - Photography Introduction
edds
65
11k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
35
6.3k
Clear Off the Table
cherdarchuk
89
320k
The World Runs on Bad Software
bkeepers
PRO
63
11k
Building Applications with DynamoDB
mza
89
5.8k
Bash Introduction
62gerente
607
210k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
12
3.8k
Stop Working from a Prison Cell
hatefulcrawdad
266
20k
RailsConf 2023
tenderlove
16
720
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!