Building live updating search pages with Zotonic

Search pages are often simple forms that reload the page with new arguments. In this article we will show how you can make a search page that updates live whilst typing or selecting options. The location of the page will be updated, so reloading or bookmarking a page will load the expected query.

For this implementation we will make use of a combination of Cotonic routing topics together with a small Zotonic widget to programmatically initialize the form from the search parameters in the URL.