Website: Underscores A Starter Theme For WordPress
Website: Template for Diving Club

Tutorial: A Step-by-Step Tutorial of Building a Simple Peer-to-Peer WebSocket Application


"This tutorial series walks you through the simple steps of building an HTML5 WebSocket app, demonstrating the power of the publish/subscribe development pattern directly in JavaScript. Our sample is almost as simple as a Chat app, the “Hello World” app of the WebSocket world, but is a tad more visual and dynamic."

The tutorial consists of 7 parts

Part 1: Review of the completed application
Part 2: Review of the starting code
Part 3: Establishing the WebSocket connection
Part 4: Sending and receiving messages
Part 5: Ignoring messages originating from the same client
Part 6: Adding an image that resizes in remote browsers
Part 7: Handling accumulating messages

demo 1
demo 2

Tags: websocket, web, internet, connection, application, tutorial, develop

Leave a Comment

No Comment

© Creative3x Ltd.