Settings

Theme

Chaplin, an Application Architecture based on Backbone.js

9elements.com

53 points by molily 14 years ago · 9 comments

Reader

davidgtonge 14 years ago

Very nice, really clean and well commented codebase. I love what you've done with the deferred and accumulator wrappers. Thanks for releasing this!

janmonschke 14 years ago

Why didn't you drop Backbone.js and write your own base-classes?

  • molilyOP 14 years ago

    Backbone surely has good parts we were able to use right away: the event-driven concept in general (the Backbone.Events mixin), the Model with its attributes and change events, the View with its conventions (element reference, the Render pattern, free templating). Even if we couldn’t use all parts of Backbone it was a good idea to built upon the Backbone code and these common practices.

    We dropped the Backbone.Router completely, but Backbone.History in turn is quite decent for HTML5 history and hashchange handling, so we’re relying on that.

    Of course we could have borrowed only the code from Backbone we might need, but I think in the long run it’s a good idea to build upon an existing library or framework which is actively maintained, even if it doesn’t provide everything you might need at the moment. So writing all code ourselves wasn’t really an option for us.

parrispreston 14 years ago

This is exactly what I was waiting for. Awesome.

paul_railslove 14 years ago

whooooooooooooooop!

toro_duque 14 years ago

:O!!!

damohasi 14 years ago

nice name :)

captainhagbard 14 years ago

nice

thomasdavis 14 years ago

IMO one of the best attempts at a Javascript framework to date, look forward to giving it a go if it survives infancy.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection