HTML5 car

The Brave New World of HTML5
[Home of the HTML5 Car]

Reusing the Engine – WebSockets

Since this blog introduced the invention of the HTML5 car you might expect that we stress this analogy again. Imagine you bought a new car. In the users manual you find the following hint: “In case you are interested in the power but don’t want to drive you can easily isolate the engine and use it for whatever purpose you like.” You might be surprised. Not only that the pure power might be dangerous. In order to make it useful you will need to have something that you can drive with this power.

If HTML5 (based on HTTP) is the car then TCP/IP can be seen as the engine. And HTML5 provides you access to the engine. It allows using TCP plain – without the HTTP around it. And as with the car engine you can only make use of it if there is a counterpart that can consume and react on what is produced. The API that provides this to you is called WebSockets. [read more]

Who’s leading?

In this post we will investigate a bit on who has the say with HTML5. We will start with another demo called the towers of Hanoi – often implemented in wood or plastics as a child’s game. This game was also used by our computer science teachers to introduce the principles of recursion. We will use it to introduce HTML5 drag and drop. (In the end it could also serve as a demo for CSS3 because it accomplishes quite some graphical tasks just by using some simple CSS3). Try it: [read and play]

Visions meet reality

Once upon a time W3C looked at the Web and said: “We provided the world with HTML, we gave them even XML and CSS and so much more. But people are reluctant to follow our standards. Developers write poorly designed, non validating code. They don’t separate content from presentation, not to talk about accessibility. Browsers accept this garbage and don’t even complain. Much worse: they offer silly extensions like e.g. blink to please silly developers.” And W3C decided that something had to happen. [read more]

Web Workers limitations

There is a trend of installing multiprocessors in computers and mobile devices. Following this trend it is reasonable to provide a means to use multiprocessing capabilities in Web applications. Especially games would be on target. I wondered about a plausible, simple example of Web Workers for teaching purposes. [read and play]

Unbeschwert entspannen, unbeschwert wandern? Wandern in Europa!

Copyright © 2007-2024 ict-Media GmbH --- Impressum --- Datenschutzerklärung --- powered by Wordpress