Binding

Shifting from actions to data model

In traditional development when describing how the user interacts with the system we often describe it in terms of actions. the user types in the search field, selects some options and clicks on the button to get search results This requirement becomes the following piece of code $("search_button").click(function () {   var searchString = $("search_field").val(); …