Hi guys, Firstly, great work on PSHB. I've had success tonight publishing my feed and subscribing to it in my app. I'm very impressed and so excited to get my app kicking ass!
I have a question regarding the handling of callbacks on-screen for the user. I'm using my published feed to deliver updated contact detail data for companies. ie, company X updates their phone number/ address, employee information, other CRM type stuff. When this update is received, I ping the hub to tell it that my feed now contains updated data, you get the idea. The hub posts my feed to my callback URL, which is then processed by my server. Here's where I'm getting lost. My admin user is looking at the screen of recently updated contact details. My server has received the new feed containing some updates via the hub POST, in the background. How do I get that data to automatically show up on the screen without the user having to hit refresh? (Google Reader, Friendfeed, Buzz style) I'm no javascript whiz, but I'm no slouch either, and I can't for the life of me think of how this is done. What is happening on the user's client browser to KNOW that the server has received the callback and new feed data? Please help, this is kind of key to the whole thing if you ask me. If she has to refresh the page, what's the point of doing any of this? Ben (And just to make it clear, this is not for one user looking at the screen. I'm intending for my app to allow thousands of users to look at the screen and receive real-time updates of various types of data - (atom-ised))
