theChrisWalker.net

“Lithium RAD Framework rocks! ”

says Chris

Archive for the ‘HTML5’ tag

QR Code for Permalink
HTML5 WebSockets: the demo (part 2)

without comments

For my next trick, here’s the code of the websockets demo. I’m afraid you’ll have to run it on your own machine, and you’ll need PHP5.3 but that’s all. I reckon an up to date XAMPP should probably do the trick.

WebSocket Demo Code

To use it, read the README file, it shows how to run the server, and then you can open clients in your modern browser and see them intercommunicate.

Note: The code is very basic, so treat it kindly…

Written by Chris

August 16th, 2010 at 8:40 pm

Posted in Not Code

Tagged with , ,

QR Code for Permalink
HTML5 WebSockets, very cool. (part 1)

with one comment

I only found out about these at the Future of Web Design on Tuesday. I knew they existed in the spec but had never really investigated what they were or how they worked. Now I know I am excited. It seems they are to web apps what the XMLHTTPRequest was when it started to get used for AJAX. So let’s look at what they are, and then why they can be so beneficial to web development. It’s also worth pointing out at this stage that only Chrome 4+ (I think that version, I’m writing from memory) supports WebSockets natively although apparently Mozilla want to implement them in the next iteration of Firefox (they are already available with an add-on), so don’t expect to be using them in any non-specialist projects just yet.

Read the rest of this entry »

Written by Chris

May 28th, 2010 at 2:45 pm

Posted in Not Code

Tagged with , ,