The HTML 5 initiative contains a draft spec for WebSockets which allow a browser
to establish a full-duplex, bi-directional communication channel over a single
TCP socket. This allows web developers to establish real time two way
communications with a server using simple javascript without resorting to Flash,
Java, ajax long polling, comet, forever iframe, or other current workarounds.
Here I’ve written a simple browser chat using WebSockets for the client and
PHP for the server.
Read more…
This is another weekly summary of the live video class
HTML 5 Mobile Web Development. I have already written a
summary of week 2. This week we are going to use ajax to request live
Twitter updates, use some CSS3 transitions, and explore web fonts.
Read more…
I am currently attending a live video class HTML 5 Mobile Web Development,
and am summarizing the second lesson here in order to digest the material better
and help some friends who got a late start. If you want to follow along, go to
the class download page linked at the end and download the code.
This week starts our construction of “Tweetstr”, a mobile web twitter client.
We create and edit the basic HTML and CSS files to display the home screen while
exploring some new HTML 5 and CSS 3 tags as well as some settings specific to
Apple devices such as the iPhone.
Read more…