It's very easy have the browser window as your user interface, even on desktop applications.
Below is a small phone book demo.
- Have a web server serve the main search page
- Run an AJAX query and display the results
- I'm using jQuery
- fork the server so the program will return