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
Pete Hodgson
May 23, 2013
Programming
2
370
Multi-platform Mobile with Calatrava - May 2013
Pete Hodgson
May 23, 2013
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
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
520
Automated Mobile Acceptance Testing Presentation - mdevcon 2013
phodgson
2
650
Other Decks in Programming
See All in Programming
生成AIをkintoneに連携してみた
hideg
0
230
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
DDDを志して3年経ったら「DDDの皮を被ったクリーンアーキテクチャ」になった話【デブサミ2024夏】
texmeijin
1
620
Rubyのパフォーマンスプロファイリングの改善 / Enhancing performance profiling for Ruby
osyoyu
1
410
Prompt FlowによるLLMアプリケーション開発
yuto2000
1
1k
開発部に不満を持っていたCSがエンジニアにジョブチェンしてわかった「勝手に諦めない」ことの大切さ
sakuraikotone
28
16k
CSC307 Lecture 14
javiergs
PRO
0
220
AWSでゲームサーバーを運用! Amazon GameLiftのお話
iriikeita
0
200
【Go言語】ジェネリクス
tomo1227
0
170
OpenAI/Gemini APIを使って EPUBを翻訳するCLIツールをつくってみた
tomiyan
0
790
なぜ宣言的 UI は壊れにくいのか / Why declarative UI is less fragile
uenitty
29
13k
Namespace on read
tagomoris
2
370
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
321
23k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
12
3.8k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
17
8.7k
The Mythical Team-Month
searls
217
43k
How GitHub (no longer) Works
holman
305
140k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
105
6.8k
The Invisible Customer
myddelton
117
13k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.8k
The Cost Of JavaScript in 2023
addyosmani
31
4.7k
Web Components: a chance to create the future
zenorocha
307
41k
Into the Great Unknown - MozCon
thekraken
20
1.3k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
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