Finally, the last part of the
Wreqr object is the
RequestResponse, which in our opinion is definitely a nice addition to the Backbone development. We just saw how we can make different components work together with the help of events in order to communicate each other. We also learned that not all the code belongs to a view or router of the controller, and for those cases, the Marionette commands are definitely a good option in order to keep our concerns separate. Similar to
RequestResponse object can help us split more responsibilities of the code in an application.
RequestResponse object conceptually works in the same way as events and
Commands, where an object fires a call and the other ...