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
500
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Strategies for Cross-Platform Mobile
An talk I gave in Melbourne for an internal ThoughtWorks conference
Pete Hodgson
November 16, 2012
More Decks by Pete Hodgson
See All by Pete Hodgson
Feature Flags Suck! - KubeCon Atlanta 2025
phodgson
1
320
Migratory Patterns - KubeCon Salt Lake City, 2024
phodgson
0
220
A Journey Into Feature Toggles - OSCON Austin 2017
phodgson
5
740
Test-driven Client-side JS
phodgson
5
940
Functional Reactive JavaScript
phodgson
8
870
different.js - Forward JS 2014
phodgson
4
900
Railsconf2014
phodgson
7
1.5k
Building Your Own Lightsaber
phodgson
104
6.5k
iOS Unit Testing Workshop
phodgson
3
600
Other Decks in Programming
See All in Programming
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
760
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
560
バグを直したら useEffect が消えた
colorful12
3
760
Dockerfile CMD for Node.js
grazie1999
0
140
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
実装をデザインガイドラインに追従させるための取り組み / 260731-dip-mosh-design-system
dachi023
0
7.9k
初めての模倣学習とVLA
natsutan
0
310
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
3.8k
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
400
高専キャリア LT 発表内容
crysta1221
2
3.9k
不幸な GC
chencmd
0
810
Featured
See All Featured
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
510
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
We Have a Design System, Now What?
morganepeng
55
8.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
400
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
Technical Leadership for Architectural Decision Making
baasie
3
540
How GitHub (no longer) Works
holman
316
150k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
220
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!