title: Realtime search results
body: <p>I'm building a customized search engine. In my program, it takes a little while for each search result to show up. What I'm looking for is a way to show the search result item on the user's browser, as soon as it is found.</p>
  
  <p>The most related thing to this that comes to my mind, is WPF's binding. When you bind a list of items to a <code>ListView</code>, as soon as you add an item to the list, it will show up in the UI. I'd like to implement something like that.</p>
  
  <p>In .Net &amp; C# world, I've played a little with concepts like SignalR, web sockets, etc. but I'm no expert but I know jQuery fairly well. However, I'm looking to implement this in Java (which is my server's back-end) and PHP (as the front-end). My previous static (without the feature I described) search engine is implemented using Thrift as a web service to communicate between the Java server and PHP (<a href="http://blog.alireza-noori.com/programming/thriftpart-one-introduction/" rel="nofollow">more on how to do that</a>). Can I expand the current implementation and add this feature? How?</p>