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
Model, View, Whatever.
Search
Dominic Barker
January 08, 2015
Programming
130
0
Share
Model, View, Whatever.
Some ideas to help you build complex javascript applications that don't ruin the internet.
Dominic Barker
January 08, 2015
More Decks by Dominic Barker
See All by Dominic Barker
Introduction to functional programming with Javascript
dakuan
0
57
Atomic Architecture
dakuan
3
170
Somewhat Stylish
dakuan
1
63
Other Decks in Programming
See All in Programming
AI Assistants for YourAngular Solutions @Angular Graz, March 2026
manfredsteyer
PRO
0
130
Rethinking API Platform Filters
vinceamstoutz
0
4.6k
安いハードウェアでVulkan
fadis
1
860
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.2k
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
220
KagglerがMixSeekを触ってみた
morim
0
360
AIコードレビューの導入・運用と AI駆動開発における「AI4QA」の取り組みについて
hagevvashi
0
580
Symfonyの特性(設計思想)を手軽に活かす特性(trait)
ickx
0
110
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
3.9k
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
290
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
130
Feature Toggle は捨てやすく使おう
gennei
0
390
Featured
See All Featured
Writing Fast Ruby
sferik
630
63k
GraphQLとの向き合い方2022年版
quramy
50
14k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
450
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Scaling GitHub
holman
464
140k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
300
How to Ace a Technical Interview
jacobian
281
24k
We Are The Robots
honzajavorek
0
210
Become a Pro
speakerdeck
PRO
31
5.9k
HDC tutorial
michielstock
1
590
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
Context Engineering - Making Every Token Count
addyosmani
9
790
Transcript
Model, View, Whatever. *Document Object Model - not me! or
how I learned to stop worrying and love the DOM*
We ♥ Single Page Applications
• Complex UI • Feel really fast • Comparable to
native mobile apps • Can work offline • Cool MVC MVW frameworks galore
But…
None
• Javascript :( • Initial page load • Duplicated code
• < noscript /> • IE <9 Internet Explorer • Deep linking • Error handling • SEO
Another way is possible.
None
• Render a full working web page on the server
• For all routes, not just the first hit of index page • Bind SPA afterwards • SPA uses the same markup • Client and server use same templates
• Real forms! • Real links! • No duplicated templates!
• No white screen of death! • Error recovery for free! • Cheap integration tests! • Maximum dev gibberish: Isomorphic Application
None
Dom Barker Software Engineer @ Quill Content @mostlyharmlessd www.dombarker.co.uk www.github.com/dakuan
www.npmjs.com/~dakuan