Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Multi-platform Mobile with Calatrava - May 2013
Pete Hodgson
May 23, 2013
Programming
2
220
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
270
Test-driven Client-side JS
phodgson
5
600
Functional Reactive JavaScript
phodgson
8
570
different.js - Forward JS 2014
phodgson
4
600
Railsconf2014
phodgson
7
1.2k
Building Your Own Lightsaber
phodgson
96
4.9k
iOS Unit Testing Workshop
phodgson
3
310
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
360
Automated Mobile Acceptance Testing Presentation - mdevcon 2013
phodgson
2
500
Other Decks in Programming
See All in Programming
Hatena Engineer Seminar #23「新卒研修で気軽に『ありがとう』を伝え合える Slack アプリを開発した話」
slashnephy
0
210
Zynq MP SoC で楽しむエッジコンピューティング ~RTLプログラミングのススメ~
ryuz88
0
350
Swift Expression Macros: a practical introduction
kishikawakatsumi
2
720
23年のJavaトレンドは?Quarkusで理解するコンテナネイティブJava
tatsuya1bm
1
120
T3 Stack and TypeScript ecosystem
quramy
3
750
Qiita Night PHP 2023
fuwasegu
0
11k
Functional Data Engineering - A Blueprint for adopting functional principles in data pipeline
vananth22
0
180
PHPDocにおける配列の型定義を少し知る
shimabox
1
130
Cloudflare WorkersでGoを動かすライブラリを作っている話
syumai
1
320
OSC大阪 パスワード認証は人類には早すぎる ~ IDaaSを使ったソーシャルログインのすすめ ~
authyasan
7
1.4k
AWS App Runnerがそろそろ本番環境でも使い物になりそう
n1215
PRO
0
1k
爆速の日経電子版開発の今
shinyaigeek
2
600
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
38
7.7k
A Tale of Four Properties
chriscoyier
149
21k
jQuery: Nuts, Bolts and Bling
dougneiner
57
6.6k
Docker and Python
trallard
30
1.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
318
19k
Bash Introduction
62gerente
601
210k
Learning to Love Humans: Emotional Interface Design
aarron
263
38k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
10
1.3k
Building Better People: How to give real-time feedback that sticks.
wjessup
346
17k
Debugging Ruby Performance
tmm1
67
11k
Building Applications with DynamoDB
mza
85
5k
What's in a price? How to price your products and services
michaelherold
233
9.7k
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