aurajs / aura

A scalable, event-driven JavaScript architecture for developing component-based applications.
MIT License
2.94k stars 255 forks source link

Taking Advantage of the Mediator Part Only #103

Closed gsklee closed 12 years ago

gsklee commented 12 years ago

I like the concept of Aura, but for now all I need for my current project is a mediator plugin that works well with Backbone. Is there any way, and how should I do it, to implement only the part of Aura that brings the mediator pattern into my Backbone project?

addyosmani commented 12 years ago

If you are strictly looking for a Mediator implementation to use with Backbone but don't require the rest of what Aura provides, I recommend looking at http://thejacklawson.com/Mediator.js/ :)

gsklee commented 12 years ago

Tried Mediator.js but it didn't work well with AMD modules. Did some more research and settled with https://github.com/chalbert/Backbone-Mediator for now, feature's a bit dry comparing with Mediator.js but works pretty well with Backbone + RequireJS. Might as well try merging the best of both projects together when I get to have some time later =)