O'Reilly User Group Program

HTML5 Hacks

On January 6, 2013, in Recensioni Libri, by admin

html5-hacksHTML5 Hacks is a book simple to read in a passionate manner. It is composed of 90 hacks that practically explain the new HTML5 features.

The first chapter is about the HTML5 new input fields and pickers, the CSS3 pseudo classes for required and invalid or missing fields and the related polyfills.

The second chapter describes the new CSS3 features: rounded corners, text and box shadows, media queries to obtain responsive designs, font faces, transforms and transitions explained in the nice hack “Make iOS-style card flips with CSS transforms and transitions“.

The third chapter is about media, so we can find hacks about the new video tag, the related built-in controls, the development of custom controls, the management of sound through the buzz library, the various solutions to provide subtitles for videos and the features of the mediaElement.js library.

The fourth chapter shows the usage of the canvas element through hacks to draw and animate it with both javascript API and SVG (Scalable Vector Graphics).

The fifth chapter describes the new HTML5 events and the solutions to provide drag and drop in between the application and the desktop and viceversa. There are also hacks to make pages editable and to provide a fine control of the browser history.

The sixth chapter shows the ways to use the various types of HTML5 local storages: localStorage, sessionStorage, the usage of Modernizr and YepNope to load the storage.js polyfill and indexedDb to provide a milestone calendar together with FullCalendar.js.

The seventh chapter introduces the geocoding and reverse geocoding with basic hacks for mobile web apps world. Here we have also a pair of nice hacks about the Geoloqui web service which show its usage in building a geofence app and in doing a real time streaming of a user location.

The eighth chapter is about web workers. Here we can find the ways to run scripts in background threads to perform operations that could be too expensive for the main browser thread. There are hacks related to JSONP and shared web workers too.

The ninth chapter explains the web socket full duplex communications with an introduction to node ws and jWebSocket, the server-sent events and the websocket.IO polyfill.

The last chapter contains hacks for the node.js world with a how-to develop a simple app via node.js and its web application framework Express.

HTML5 Hacks is a nice way to start learning HTML5 and the new approaches to available developments by mixing it with related server technologies. This book is not a bible that explains everything from A to Z but there is enough material to let us start ready and well, also because it provides us with useful external references in case an additional knowledge is required.



Comments are closed.