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
ReadMoreTextView
fornewid
0
260
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
PRO
1
130
コードに語らせよう――自己ドキュメント化が内包する楽しさについて / Let the Code Speak
nrslib
6
1.4k
漸進。
ssssota
0
1.8k
Julia という言語について (FP in Julia « SIDE: F ») for 関数型まつり2025
antimon2
3
900
Webからモバイルへ Vue.js × Capacitor 活用事例
naokihaba
0
500
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
1
550
KotlinConf 2025 現地で感じたServer-Side Kotlin
n_takehata
1
180
20250528 AWS Startupイベント登壇資料:AIコーディングの取り組み
procrustes5
0
160
RubyKaigiで得られる10の価値 〜Ruby話を聞くことだけが RubyKaigiじゃない〜
tomohiko9090
0
140
TypeScript LSP の今までとこれから
quramy
1
490
Datadog RUM 本番導入までの道
shinter61
1
230
Featured
See All Featured
Making Projects Easy
brettharned
116
6.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
41
7.3k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.8k
The Invisible Side of Design
smashingmag
299
50k
Six Lessons from altMBA
skipperchong
28
3.8k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
The Pragmatic Product Professional
lauravandoore
35
6.7k
Into the Great Unknown - MozCon
thekraken
39
1.8k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
123
52k
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