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
Building Single Page Applications
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Alexander Beletsky
April 25, 2013
Programming
9
5.4k
Building Single Page Applications
The talk I gave in April-2013 on MSSWIT conference in Kiev.
Alexander Beletsky
April 25, 2013
Tweet
Share
More Decks by Alexander Beletsky
See All by Alexander Beletsky
Snapshot Testing: Going beyond UI
alexbeletsky
1
680
Tech Culture in Startups
alexbeletsky
0
230
TDD in JavaScript
alexbeletsky
4
850
This is Node.js
alexbeletsky
10
440
Likeastore
alexbeletsky
3
140
PaaS in your pocker with Dokku
alexbeletsky
7
2.6k
.NET developer in JavaScript world
alexbeletsky
1
2.9k
How to write good tests?
alexbeletsky
2
320
Dynamic web development with Oak
alexbeletsky
1
620
Other Decks in Programming
See All in Programming
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
540
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
670
Package Management Learnings from Homebrew
mikemcquaid
0
180
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
200
組織で育むオブザーバビリティ
ryota_hnk
0
170
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
980
CSC307 Lecture 07
javiergs
PRO
0
540
QAフローを最適化し、品質水準を満たしながらリリースまでの期間を最短化する #RSGT2026
shibayu36
2
4.3k
ZJIT: The Ruby 4 JIT Compiler / Ruby Release 30th Anniversary Party
k0kubun
1
390
Fragmented Architectures
denyspoltorak
0
140
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
55
Typedesign – Prime Four
hannesfritz
42
2.9k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
280
Speed Design
sergeychernyshev
33
1.5k
エンジニアに許された特別な時間の終わり
watany
106
230k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
89
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
54
For a Future-Friendly Web
brad_frost
182
10k
Designing Powerful Visuals for Engaging Learning
tmiket
0
210
Transcript
None
None
None
NEW:
NEW:
NEW:
photo by Constantine Stoyanov
API-ORIENTED
None
None
None
None
How to build Single Page Applications?
None
ASP.NET MVC / Backbone.js
Node.js / Backbone.js
Server
None
None
… doesn’t really matter, as long as 2 functions accomplished
OPEN API: HTTP GET http://app.com/api/sales/invoices/:id HTTP POST http://api.app.com/api/expenses/payments HTTP PUT
http://api.app.com/api/sales/drafts/:id HTTP DELETE http://api.app.com/api/sales/products/:id
MASTER HTML: <div class="container"> <div id="app" class="container"></div> </div>
Client
None
None
None
None
None
None
None
None
None
None
None
Application Route
None
None
None
None
None
None
None
None
None
None