I'm want to implement a simple search page using Backbone. It is not a single page application, but still would like to structure my JavaScript code using Backbone. A search page consists of a search form and search results. The search is done via AJAX and has to be saved in history. When the page is loaded from history, search query parameters should be loaded into the form. The search form and the search results can be implemented as Backbone.View's. However, I have problems glueing them together.
What I think I need i some sort of controller. There is a Backbone.Router, but is it the right place? Where should the AJAX call be placed?
Any advice on the structure of such page is welcomed.