Now let’s get a few more details out of the way, you can see the site up and running at http://twitches.apphb.com/ and you can get the source code at https://github.com/csainty/Twitches
The page basically consists of a textbox to enter a search term, a button to run the search and a UL that is bound to the results. There is some other fluff in there, but this is the core functionality.
So we define our viewModel, give it an observable value for the search string, an observable array for the results and a function to perform the search.
Here are the key elements from the HTML, as you can see we bind the UI with a jQuery.tmpl template, and wire up the value for the textbox and the click event for the button.
It really is as simple as that.
I highly recommend the tutorials at the Knockout website, they have created a wonderful live tutorial that takes you through each step of the process.