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
330
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
420
Test-driven Client-side JS
phodgson
5
710
Functional Reactive JavaScript
phodgson
8
670
different.js - Forward JS 2014
phodgson
4
700
Railsconf2014
phodgson
7
1.3k
Building Your Own Lightsaber
phodgson
100
5.7k
iOS Unit Testing Workshop
phodgson
3
400
Unit testing with Kiwi - CocoaConf San Jose 2013
phodgson
1
470
Automated Mobile Acceptance Testing Presentation - mdevcon 2013
phodgson
2
620
Other Decks in Programming
See All in Programming
JavaScript Closure
asoluka
0
1.9k
最近コードレビューで指摘したこと
forrep
3
110
一文字エイリアスのすすめ
fujimura
0
180
GitHub Actionsの痒いところを埋めるサードパーティーランナー
dora1998
1
110
Docker_OSS_ホスティング入門
satokoki645
0
140
2 週間で Twitter Bot を作ってみた
contour_gara
0
840
How to improve maintainability and readability of your automated tests? ( #scrumniigata )
teyamagu
PRO
1
120
Documentation testsの恩恵 / Documentation testing benefits
ssssota
1
530
Adding Security to Microcontroller Ruby
sylph01
0
120
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
140
AppRouter Panel Talk
yosuke_furukawa
PRO
1
520
Exploring Type-Informed Lint Rules in Rust based TypeScript Linters
unvalley
3
600
Featured
See All Featured
Designing the Hi-DPI Web
ddemaree
276
33k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Code Reviewing Like a Champion
maltzj
515
39k
Thoughts on Productivity
jonyablonski
60
3.9k
Building a Modern Day E-commerce SEO Strategy
aleyda
22
6.4k
Product Roadmaps are Hard
iamctodd
45
9.8k
Why Our Code Smells
bkeepers
PRO
331
56k
YesSQL, Process and Tooling at Scale
rocio
165
13k
Typedesign – Prime Four
hannesfritz
36
2.1k
Building Effective Engineering Teams - LeadDev
addyosmani
33
1.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
39
2.5k
Git: the NoSQL Database
bkeepers
PRO
423
63k
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