how to switch views with the backbone.js router?
问题 This is more of a conceptual question, in terms of using the backbone router and rendering views in backbone. for the sake of an example (what I'm building to learn this with) I've got a basic CRUD app for contacts, with create form, a listing of all contacts, a contact single view and an edit form. for simplicities sake I'm going to say that I would only want to see one of these things at a time. Obviously showing and hiding them with jQuery would be trivial, but thats not what I'm after. I