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
1.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.9k
Other Decks in Programming
See All in Programming
rack-attack gemによるリクエスト制限の失敗と学び
pndcat
0
140
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
470
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
120
AtCoder Conference 2025
shindannin
0
950
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
130
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
500
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
2.2k
2年のAppleウォレットパス開発の振り返り
muno92
PRO
0
180
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
250
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 2
philipschwarz
PRO
0
140
Claude Codeの「Compacting Conversation」を体感50%減! CLAUDE.md + 8 Skills で挑むコンテキスト管理術
kmurahama
1
760
Grafana:建立系統全知視角的捷徑
blueswen
0
290
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
1
230
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Bash Introduction
62gerente
615
210k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
290
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
170
A designer walks into a library…
pauljervisheath
210
24k
Writing Fast Ruby
sferik
630
62k
Optimizing for Happiness
mojombo
379
70k
Accessibility Awareness
sabderemane
0
35
A Soul's Torment
seathinner
5
2.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
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