64 ms·
The source code is a treasure trove for those looking for an example of a larger Backbone.js application with a Rails backend and Faye for push notifications to
by mutewinter 14y ago
The source code is a treasure trove for those looking for an example of a larger Backbone.js application with a Rails backend and Faye for push notifications to the browser.
Backbone code - https://github.com/cloudfuji/kandan/tree/master/app/assets/javascripts/backbone https://github.com/cloudfuji/kandan/tree/master/app/assets/j...
Faye (on the Backbone side) - https://github.com/cloudfuji/kandan/blob/master/app/assets/javascripts/backbone/broadcasters/faye.js.coffee https://github.com/cloudfuji/kandan/blob/master/app/assets/j...
Faye (on the Ruby side) - https://github.com/cloudfuji/kandan/blob/master/app/models/activity_observer.rb https://github.com/cloudfuji/kandan/blob/master/app/models/a...
- sgrove 14y agoThanks - Akash Manhor (https://twitter.com/hashnuke https://twitter.com/hashnuke) made both of those decisions early on in Kandan's life. There have been challenges around both, but overall it's worked out very well - in fact, the faye interface opens up some really interesting possibilities. We'll have some examples of this soon.