Supercharged JavaScript Graphics book review.
August 20th, 2011 | books, JavaScript
- Author: Raffaele Cecco
- publisher: O’Reilly Media
- pages: 280
Introduction
A pleasant book written by an author with lots of experience. The examples are fun, and realistic. The tempo of the book is easy to follow for intermediate JavaScript developers.
Review
I like that the book begins with a DHTML example, this makes the reader really understand the fact that building the web is possible with many tools and that each tool has its cons and pros. The newest toys ( canvas, webgl etc ) aren’t necessarily the best or the fastest to build a proper user experience. In the beginning of the book the reader get acquainted with; the browser landscape, sprites, framerates and best practices for working with the DOM which is a pain for performance. The code examples are clear and luckily without excessive comments, which makes the example easy to read for the more experienced developers which are books target group.
The next chapters concern page enhancing techniques like scrolling effects, ui-libraries and shows the best way to create user interface elements form scratch. Al these chapters are a fine introduction for the more performance hungry subjects of games.
The second part of the book dicusses games, staring with a DHTML version of space invaders. This game example incorporates a lot previeous learned techniques en demonstrates the power and performance of well used DHTML.
Of course the power of the newer toys are easy to see with the examples in the book for example the ( recursive ) tree example is a brilliant example of the performance of the canvas element. The bigger part of this book emphasizes on the canvas element. The book clearly demonstrates the posibillities and raw power of the element.
The following chapters cover mobile javascript graphics, phonegap and the Google Charts API.
At first the mix of topics seemed strange to me, however the chapter were really fun to read and I will definitilly use Google Charts in upcoming projects if needed. jQuery Mobile is equally interesting, though personally I would probably take a more responsive way in the future with embedding the touch events into a global library for websites.
Bottom line
this book definitely is a fun read supported by excellent examples for medior to advanced javascript developers who develop applications at his moment, the author makes use of contemporary, but proven libraries and API’s . Which is a plus these days with swift innovation cycles.
The books product page
HTML5 Canvas book review
June 26th, 2011 | books, JavaScript
- Author: Steve Fulton, Jeff Fulton
- publisher: O’Reilly Media
- pages: 652
Summary
Finally one extensive book over the Canvas element. This should attract the more creative ( Javascript ) programmers. I find it hard to describe the entry level of this book, however I get the feeling that novice to medior (JavaScript) developers should get along with the book.
Review
I like the introduction of the all the canvas properties, the authors filled the book with easy to follow comprehensive examples. The examples let the reader experiment with the features of Canvas. Most of the examples have some minor cross-browser issues since the canvas element is not stable yet, but the book describes these issues open and sincere which I liked. After the reader gets acquainted with the canvas element the books start with game programming and animation mathematics. The animations and math reminds me of former actionscript book, but still I learned a lot from these chapters. Flash cannot be compared one-on-one with canvas regarding; performance, animation, collision detection and resource management.
After the game sections the book briefly touches mobile applications with phoneGap and 3d with webGL. I liked these sections but I am not sure if these sections are relevant for this book.
But still the canvas is an amazing element and this books opens up a new world in html, for example chapter 5 shows some impressive examples of how easy it is to combine video with canvas; transformations, bitmap filtering its all possible. It is exiting to see that every new browser generation will be faster and will open new possibilities.
It would be nice to see some additional information in the next edition regarding business applications, for example how to overcome sandbox issues when uploading images to canvas.
Conclusion
But overall I can recommend this book to every developer who wants to be creative with the web. This book provides a solid path for developing Canvas games/ applications with a solid performance. The books product page

