PHP5 WebSocket Example – A Simple Chat

The classic example for websockets is a chat. This chat example has only 200 lines of code (excl. the Websocket class), is really easy to understand and customizable.

Read the rest of this entry »

PHP Websocket Class new Version

Auf Anfrage einiger Leser habe ich jetzt die Klasse kommentiert und Informationen zur Lizenz hinzugefügt. An der Funktionalität hat sich nichts geändert. Die aktuelle Version 1.0.5 ist unter folgender URL zu finden: http://bohuco.net/labs/php-websocket-class/lib/WebSocketServer1.0.5.php.txt

Read the rest of this entry »

PHP WebSocket Server – The Handshake

WebSockets are the new cool boys in town, but the specs are in a very early state and so it’s hard to keep up to date with the different browser implementations …

Read the rest of this entry »

HTML5 WebSockets Example

HTML5 WebSockets makes it possible to open a persistent connection to a server within a web-browser via javascript.

Read the rest of this entry »

SproutCore Erfinder eröffnet HTML5-Firma

Der SproutCore Erfinder Charles Jolley verlässt Apple und gründet ein Unternehmen das sich mit der Entwicklung neuer Rich-Web Applikationen auf HTML5-basis beschäftigen wird.

Read the rest of this entry »

Firefox 4.0 Beta: HTML5, WebM und Websockets

Die erste Beta-Version von Firefox 4.0 bringt einige neue geile Technologien für Web-Entwickler.  Via WebM und HTML5 können jetzt HD-Videos ohne zusätzliches Plugin im Browser angezeigt werden. Der neue HTML5 Parser wurde schneller gemacht und kann jetzt Inline-SVG und MathML.

Read the rest of this entry »

Der König ist tot, lang lebe …, NEIN er ist tot.

“Die XHTML2 Arbeitsgruppe wird aufgelöst”, das ging heute durch die Fachmedien. XHTML2 war von Anfang an ein typisches “Gut gemeint”-Projekt, und wie wir wissen ist “gut gemeint” das genaue Gegenteil von “gut gemacht”. Alles sollte durchdacht und perfekt werden, dabei hatte man sich schnell von der praktischen Anwendbarkeit verabschiedet und ist in theoretische Undurchsichtigkeit abgeglitten.

Read the rest of this entry »