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
Multi-platform Mobile with Calatrava - May 2013
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Pete Hodgson
May 23, 2013
Programming
2
560
Multi-platform Mobile with Calatrava - May 2013
Pete Hodgson
May 23, 2013
Tweet
Share
More Decks by Pete Hodgson
See All by Pete Hodgson
Feature Flags Suck! - KubeCon Atlanta 2025
phodgson
1
240
Migratory Patterns - KubeCon Salt Lake City, 2024
phodgson
0
180
A Journey Into Feature Toggles - OSCON Austin 2017
phodgson
5
690
Test-driven Client-side JS
phodgson
5
890
Functional Reactive JavaScript
phodgson
8
840
different.js - Forward JS 2014
phodgson
4
870
Railsconf2014
phodgson
7
1.5k
Building Your Own Lightsaber
phodgson
104
6.4k
iOS Unit Testing Workshop
phodgson
3
560
Other Decks in Programming
See All in Programming
AI活用のコスパを最大化する方法
ochtum
0
120
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
410
株式会社 Sun terras カンパニーデック
sunterras
0
1.9k
並行開発のためのコードレビュー
miyukiw
2
2.1k
go directiveを最新にしすぎないで欲しい話──あるいは、Go 1.26からgo mod initで作られるgo directiveの値が変わる話 / Go 1.26 リリースパーティ
arthur1
2
420
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
5
910
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
1
360
Swift ConcurrencyでよりSwiftyに
yuukiw00w
0
230
CopilotKit + AG-UIを学ぶ
nearme_tech
PRO
1
120
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
140
今、アーキテクトとして 品質保証にどう関わるか
nealle
0
200
CSC307 Lecture 11
javiergs
PRO
0
580
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
77
5.3k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
170
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.4k
Statistics for Hackers
jakevdp
799
230k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Designing for humans not robots
tammielis
254
26k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
63
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
450
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Site-Speed That Sticks
csswizardry
13
1.1k
Music & Morning Musume
bryan
47
7.1k
Transcript
Cross-platform Mobile
Pete Hodgson @ph1
Portable Body
http://martinfowler.com/articles/multiMobile/
mobile app
UI the rest
UI portable body
UI portable body
UI portable body JavaScript
UI portable body iOS JavaScript
portable body UI
portable body
portable body iPhone mobile web Android
portable body iPhone mobile web Android
iPhone mobile web Android
http://calatrava.github.io/
- controllers - domain objs. - services <html> views
- controllers - domain objs. - services <html> views
kernel UI
update UI respond to user input kernel UI
show me
None
updating the UI
updating the UI
updating the UI
updating the UI
someView.render( aViewMessage ) updating the UI
someView.render( aViewMessage ) updating the UI {...}
someView.render( aViewMessage ) updating the UI {...}
reading the UI
` reading the UI
someView.get( ‘field_id’, callbackFn ) ` reading the UI
someView.get( ‘field_id’, callbackFn ) ` reading the UI
responding to events
responding to events
responding to events `
someView.bind( ‘event_id’, callbackFn ) responding to events `
None
calatrava is HTML first
native <html> <html> <html> HTML first
native <html> <html> <html> native HTML first
native <html> <html> <html> native HTML first native
Testing Acceptance Tests
Testing Acceptance Tests app logic
where’s your logic? mobile app mobile services
shared mobile services app HTML
app shared mobile services app app iPhone HTML Android
thanks!
thanks! @ph1 for slides
www.thoughtworks.com/radar