News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Michael Feichtinger's Blog:
HTML5 WebSockets Example
July 15, 2010 @ 12:09:39

Michael Feichtinger has as recent post to his blog talking about HTML5 WebSockets including an example he's created.

HTML5 WebSockets makes it possible to open a persistent connection to a server within a web-browser via javascript. Websockets works already in the latest Webkit-browsers like Safari 5 and Chrome 5. Firefox 4 Beta 1 knows the Websocket-Object but it can't open the connection.

His sample script lets you control the cursors of the other visitors of the page via some Javascript that runs a "mousemove" event on the current page. You can get the source for both the WebSocketServer and server.

1 comment voice your opinion now!
websockets example tutorial javascript object


blog comments powered by Disqus

Similar Posts

RoofTopSolutions.nl: Caching in PHP using the filesystem, APC, and Memecached

phpPatterns.com: Creating XUL applications with PHP

Jonnay's Blog: PHP vs. Javascript: A shit vs. poo fight.

DevShed: Developing an Extensible Template Processor in PHP 5 (Part 1)

Manfred Weber's Blog: Sharing complex objects between PHP and Flash - Part II


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant series community library threedevsandamaybe language podcast opinion release laravel5 introduction framework interview laravel unittest extension feature api development wordpress

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework