{"repo":"marionettejs/backbone.radio","free":true,"listed":false,"github":"https://github.com/marionettejs/backbone.radio","clone":"git clone https://github.com/marionettejs/backbone.radio.git","description":"Messaging patterns for Backbone applications.","language":"JavaScript","stars":492,"topics":["backbone","marionette","radio","pub-sub","decoupling","messaging","request","events","javascript","backbone-applications"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Backbone.Radio Backbone.Radio provides additional messaging patterns for Backbone applications. Backbone includes an event system, Backbone.Events, which is an implementation of the publish-subscribe pattern. Pub-sub is by far the most common event pattern in client-side applications, and for good reason: it is incredibly useful. It should also be familiar to web developers in particular, because the DOM relies heavily on pub-sub. Consider, for instance, registering a handler on an element's click event. This isn't so much different than listening to a Model's change event, as both of these situations are using pub-sub. Backbone.Radio adds two additional messaging-related features. The first is Requests, an implementation of the request-reply pattern. Request-reply should also be familiar to web developers, as it's the messaging pattern that backs HTTP communications. The other feature are Channels: explicit namespaces to your communications. Installation Clone this repository or install via Bower or npm. You must also ensure that Backbone.Radio's dependencies on Underscore (or Lodash) and Backbone are installed. Documentation - Getting Started - Backbone.Events - Radio.Requests - Channels - Using With Marionette - API - Radio.Requests - Channel - Radio - Top-level API Getting Started Backbone.Events Anyone who has used Backbone should be quite familiar with Backbone.Events. Backbone.Events is what facilitates communications between objects in your application. The quintessen","default_branch":null,"files":null,"tree":[],"storefront":"/r/marionettejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/marionettejs/backbone.radio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}