Description
Backbone.Radio adds messaging patterns to Backbone applications. Backbone already includes Backbone.Events, a publish-subscribe system that lets objects react to each other, such as listening for a model's change event. Backbone.Radio builds on that with two features. Requests implement the request-reply pattern, where one part of an app asks another for a value and gets an answer back, similar to how HTTP works. Channels are explicit namespaces for communication, which keeps messages from different parts of an app separate. The library needs Underscore or Lodash and Backbone. Its documentation covers Getting Started, Backbone.Events, Radio.Requests, Channels, using Backbone.Radio with Marionette, and the full API. Each pattern is explained with examples and a diagram. You can clone the repository or install it with npm or Bower.…
Highlights
- Request-reply messaging between parts of an app
- Channels that namespace communication
- Builds on Backbone.Events
- Documented use with Marionette
- Install with npm, Bower or by cloning
Ratings & Reviews
No ratings yet
Be the first to rate Backbone.radio.
People also visit
Backbone.radio FAQ
What is Backbone.Radio?
A JavaScript library that adds messaging patterns to Backbone applications.
How is it different from Backbone.Events?
Backbone.Events handles publish-subscribe events. Backbone.Radio adds requests, which use a request-reply pattern, and channels that namespace communication.
How do I install it?
Install it with npm or Bower, or clone the repository. It needs Underscore or Lodash and Backbone.
Does it work with Marionette?
Yes. The documentation includes a section on using Backbone.Radio with Marionette.
Where is the documentation?
On the project's GitHub page, in the Getting Started guide and the API section.
What are the best Backbone.radio alternatives?
Popular alternatives to Backbone.radio include Backbone.js, Acts As Messageable and Broadcast Channel. See all Backbone.radio alternatives



