Some of Chaplin’s features:
There is no “global variables” build, so Chaplin explicitly prohibits any using without module systems.
bower install chaplin#0.9.0
Chaplin depends on the following libraries:
Documentation for Chaplin is available on GitHub.
There is also annotated source code available.
Articles, screencasts and talks:
While developing several web applications using Backbone.js, we felt the need for conventions on how to structure such applications. Backbone is an easy starting point, but provides only basic, low-level patterns. Especially, Backbone provides little to structure an actual application. For example, the famous “Todo list” is not an application in the strict sense nor does it teach best practices how to structure Backbone code.
Backbone doesn’t intend to be an all-round framework so it’s not appropriate to blame Backbone for these deliberate limitations. Nonetheless, most Backbone use cases need a sophisticated application architecture.
This is where Chaplin enters the stage. Chaplin is derived from the codebase of moviepilot.com, a real-world single-page application. It draws attention to the top-level architecture: everything above simple routing, individual models, views and their binding.
Chaplin needs a simple skeleton to start up and configure the core modules. We provide several boilerplates to make the start easier.
Are you using Chaplin too? Add your application to the wiki page and it will be featured here.
github.com/chaplinjs/facebook-example example uses Facebook client-side authentication to display the user’s Likes.
github.com/brunch/twitter is a simple twitter client. It uses Twitter client-side authentication to display user’s feed and to create new tweets.
Delicious is a free service designed to be the best place to save what you love on the web, whether it's a video, picture, product, blog post, article or music. We then help you remember and find it later. It’s using Brunch as application builder and Chaplin as a framework on top of Backbone.
Moviepilot is a home for upcoming movies, where you can discover and read about the movies that interest and excite you.
9elements — Berlin/Bochum, Germany
Paul Miller — Kharkiv, Ukraine
Chaplin & Brunch maintainer is offering consulting & training for all Backbone-related stuff. Contact him: email@example.com.
Concordus Applications — Sacramento, CA, USA
La Coopérative des Tilleuls - Lille, France