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
Agent Skills Workshop - AIへの頼み方を仕組み化する
gotalab555
13
7.3k
CSC307 Lecture 10
javiergs
PRO
1
690
文字コードの話
qnighy
43
16k
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
140
Python’s True Superpower
hynek
0
190
今更考える「単一責任原則」 / Thinking about the Single Responsibility Principle
tooppoo
3
1.2k
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
200
Go1.26 go fixをプロダクトに適用して困ったこと
kurakura0916
0
310
AHC061解説
shun_pi
0
260
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
170
ぼくの開発環境2026
yuzneri
1
290
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
190
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
So, you think you're a good person
axbom
PRO
2
1.9k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
140
How to Talk to Developers About Accessibility
jct
2
140
Crafting Experiences
bethany
1
73
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
200
Git: the NoSQL Database
bkeepers
PRO
432
66k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
62
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
460
How to Ace a Technical Interview
jacobian
281
24k
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