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.
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.
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
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 …
HTML5 WebSockets makes it possible to open a persistent connection to a server within a web-browser via javascript.
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.