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
Superior service-based web apps with Brunch and...
Search
paulmillr
November 18, 2012
Programming
2
1k
Superior service-based web apps with Brunch and Chaplin
A tale on building cool web services with
http://brunch.io
and
http://chaplinjs.org
paulmillr
November 18, 2012
Tweet
Share
More Decks by paulmillr
See All by paulmillr
Functional programming in JavaScript ecosystem
paulmillr
13
3.8k
Other Decks in Programming
See All in Programming
AI Agents with JavaScript
slobodan
0
200
Compose Hot Reload is here, stop re-launching your apps! (Android Makers 2025)
zsmb
1
310
安全に倒し切るリリースをするために:15年来レガシーシステムのフルリプレイス挑戦記
sakuraikotone
5
2.6k
Java 24まとめ / Java 24 summary
kishida
3
330
AtCoder Heuristic First-step Vol.1 講義スライド(山登り法・焼きなまし法編)
takumi152
4
1k
remix + cloudflare workers (DO) docker上でいい感じに開発する
yoshidatomoaki
0
120
Chrome Extension Techniques from Hell
moznion
1
150
CTFのWebにおける⾼難易度問題について
hamayanhamayan
2
1.1k
国漢文混用体からHolloまで
minhee
1
130
ReactFlow への移行で実現するユーザー体験と開発体験の向上
j9141997
0
150
複数ドメインに散らばってしまった画像…! 運用中のPHPアプリに後からCDNを導入する…!
suguruooki
0
450
List とは何か? / PHPerKaigi 2025
meihei3
0
590
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.4k
Six Lessons from altMBA
skipperchong
27
3.7k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
135
33k
Rails Girls Zürich Keynote
gr2m
94
13k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
How to Ace a Technical Interview
jacobian
276
23k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
YesSQL, Process and Tooling at Scale
rocio
172
14k
Automating Front-end Workflow
addyosmani
1369
200k
Facilitating Awesome Meetings
lara
53
6.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Transcript
Superior service-based web apps with Brunch and Chaplin
It’s 2012, after all Service-based web apps Why?
Maintability Service-based web apps Can develop both of them in
parallel Frontend decoupled from backend
Speed & costs Service-based web apps Server costs decreased by
a factor of 10+ Super fast & responsive feel
Dogfooding! Both parts become easier to maintain Service-based web apps
Open-source Can open-source front freely (in some types of apps)
Service-based web apps
Open-source Increases company reputation Good API usage exampleCloud. app itHub
Service-based web apps
Problems Service-based web apps Live reload Compiling LESS / Stylus
/ SASS
Problems Service-based web apps Modules Compiling Coffee / Type /
Live scripts
Problems Service-based web apps Linting Templates Scaffolding Testing
Solutions Service-based web apps Some DOM lib a-la jQuery? Some
DOM lib a-la jQuery? Nope! Too unmaintainable.
We need Service-based web apps Generator Builder Tester Scaffolder
Brunch brunch.io
Brunch 6 commands new build watch generate destroy test
Structure (app)
Deployal Optimization with simple flag brunch build --minify
Brunch 1.5 component(1) support source maps
Brunch Alternatives CodeKit LiveReload Yeoman (grunt)
Chaplin chaplinjs.org
Chaplin Why backbone? Super lightweight & simple The most popular
Well-tested
Chaplin Backbone.js has problems Unusable as an app architecture
Chaplin Chaplin solutions Memory management Forced modularity Rails routes Mediator
(global events management) Collection View Layout Controllers (MVP “presenters”)
Chaplin Alternatives Aura: sort of different Marionette: sort of similar
Chaplin v1.0 coming soon
Paul Miller paulmillr.com @paulmillr