What is the difference between the listenTo and on methods of Backbone.js?

  node.js, question

Is there any difference between the two methods?


var object = {};
 _.extend(object, Backbone.Events);
 The reason why custom events are bound to object here is What?
 Is it not generally directly bound to a model or view?
 object.on("alert", function(msg) {
 Alert("Triggered "plus msg);
 object.trigger("alert", "an event");

http://backbonejs.org/#Events …
Look at the documents
On is the event monitoring of object
ListenTo is used to monitor triggering events of other object, for example, when view needs to handle changes in model, it is more flexible.