$30 off During Our Annual Pro Sale. View Details »
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
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
120
[堅牢.py #1] テストを書かない研究者に送る、最初にテストを書く実験コード入門 / Let's start your ML project by writing tests
shunk031
11
6.9k
251126 TestState APIってなんだっけ?Step Functionsテストどう変わる?
east_takumi
0
300
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
4.1k
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
24
21k
配送計画の均等化機能を提供する取り組みについて(⽩⾦鉱業 Meetup Vol.21@六本⽊(数理最適化編))
izu_nori
0
120
目的で駆動する、AI時代のアーキテクチャ設計 / purpose-driven-architecture
minodriven
11
3.9k
Microservices rules: What good looks like
cer
PRO
0
540
宅宅自以為的浪漫:跟 AI 一起為自己辦的研討會寫一個售票系統
eddie
0
470
大体よく分かるscala.collection.immutable.HashMap ~ Compressed Hash-Array Mapped Prefix-tree (CHAMP) ~
matsu_chara
1
210
FluorTracer / RayTracingCamp11
kugimasa
0
180
社内オペレーション改善のためのTypeScript / TSKaigi Hokuriku 2025
dachi023
1
470
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
120
20k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Embracing the Ebb and Flow
colly
88
4.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Context Engineering - Making Every Token Count
addyosmani
9
460
Designing for Performance
lara
610
69k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
The Cost Of JavaScript in 2023
addyosmani
55
9.3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Designing Experiences People Love
moore
142
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