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
340
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
47
A Journey Into Feature Toggles - OSCON Austin 2017
phodgson
5
540
Test-driven Client-side JS
phodgson
5
790
Functional Reactive JavaScript
phodgson
8
750
different.js - Forward JS 2014
phodgson
4
790
Railsconf2014
phodgson
7
1.4k
Building Your Own Lightsaber
phodgson
104
6.2k
iOS Unit Testing Workshop
phodgson
3
480
Multi-platform Mobile with Calatrava - May 2013
phodgson
2
460
Other Decks in Programming
See All in Programming
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
1.3k
はてなにおけるfujiwara-wareの活用やecspressoのCI/CD構成 / Fujiwara Tech Conference 2025
cohalz
2
2.6k
令和7年版 あなたが使ってよいフロントエンド機能とは
mugi_uno
10
5k
2025.01.17_Sansan × DMM.swift
riofujimon
2
520
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
ドメインイベント増えすぎ問題
h0r15h0
2
560
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
290
ErdMap: Thinking about a map for Rails applications
makicamel
1
570
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.3k
『改訂新版 良いコード/悪いコードで学ぶ設計入門』活用方法−爆速でスキルアップする!効果的な学習アプローチ / effective-learning-of-good-code
minodriven
28
4k
AHC041解説
terryu16
0
330
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
Designing Experiences People Love
moore
139
23k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
4 Signs Your Business is Dying
shpigford
182
22k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
Building an army of robots
kneath
302
45k
A better future with KSS
kneath
238
17k
GitHub's CSS Performance
jonrohan
1030
460k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Music & Morning Musume
bryan
46
6.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
950
Gamification - CAS2011
davidbonilla
80
5.1k
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!