background preloader

HTML5

Facebook Twitter

Start Using HTML5 WebSockets Today. One of the coolest new features of HTML5 is WebSockets, which let us talk to the server without using AJAX requests.

Start Using HTML5 WebSockets Today

In this tutorial, we'll review the process of running a WebSocket server in PHP, and then building a client to send and receive messages to it over the WebSocket protocol. What are WebSockets? WebSockets is a technique for two-way communication over one (TCP) socket, a type of PUSH technology. At the moment, it's still being standardized by the W3C; however, the latest versions of Chrome and Safari have support for WebSockets. Building Persistent Sticky Notes with Local Storage. HTML5 local storage is like cookies on steroids; it’s incredibly simple to use and yet still so powerful.

Building Persistent Sticky Notes with Local Storage

In this tutorial, I’ll show you how to create “sticky notes” functionality, that allows your users to take persistent notes while browsing your site. Step 1: The HTML Because of the dynamic nature of this project, there isn’t really much to code in the way of regular old semantic markup. We’ll just simulate a web page by putting together some filler content: 28 HTML5 Features, Tips, and Techniques you Must Know.