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
【Go言語】golangci-lintの使い方
tomo1227
0
270
CSC307 Lecture 12
javiergs
PRO
0
220
継続的な活動で築く地方エンジニアの道
myamashii
2
350
Product Management LT会_クアンド新家
shinshin
0
210
コード生成を伴うLLMエージェント - 2024.07.18 Tokyo AI
smiyawaki0820
11
4.1k
AWSでゲームサーバーを運用! Amazon GameLiftのお話
iriikeita
0
200
Async Await: Mastering Python's Time-Bending Tricks - EuroPython2024
yanbo
1
290
みんなのオブザーバビリティプラットフォームを作ってるんだがパフォーマンスがやばい #mackerelio #srenext
ne_sachirou
0
370
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
CSC307 Lecture 10
javiergs
PRO
0
310
SDCon2024: Enabling DevOps and Team Topologies thru architecture: architecting for fast flow
cer
PRO
0
780
20240706_CDKConf
takuyay0ne
0
1.2k
Featured
See All Featured
Happy Clients
brianwarren
94
6.5k
Rails Girls Zürich Keynote
gr2m
93
13k
How GitHub Uses GitHub to Build GitHub
holman
471
290k
The Mythical Team-Month
searls
217
43k
Fontdeck: Realign not Redesign
paulrobertlloyd
79
5.1k
Done Done
chrislema
179
15k
Producing Creativity
orderedlist
PRO
340
39k
Web development in the modern age
philhawksworth
203
10k
In The Pink: A Labor of Love
frogandcode
139
22k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
26
2.1k
Debugging Ruby Performance
tmm1
71
11k
Build The Right Thing And Hit Your Dates
maggiecrowley
28
2.2k
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