Could you be a bit more specific about your idea? I could recommend a few resources that i've used to help me.
Some of my biggest hurdles faced so far: - After days of banging my head against a wall, I learned HTML5's sessionStorage doesn't actually store objects - just single key/value pairs. - Minor jQuery typos that didn't register an error, but never did what it was supposed to. - (ongoing) Dealing with jQuery Mobile weirdness when loading dynamic content when an AJAX call has yet to complete.
I'm also looking at incorporating the PhoneGap framework so I can access some of the mobile hardware. We'll take that when we get to it.
I don't know too much about HTML5. I haven't had time to play with it but i think that you should take a look at node.js.
It could be what you're looking for.