Metro Revealed: Building Windows 8 apps with HTML5 and JavaScript

Author: Adam Freeman
Publisher: Apress
Pages: 90
ISBN: 978-1430244882
Audience: JavaScript programmers
Rating: 3
Reviewer: Mike James

With the bits being only just dry on the new WinRT JavaScript API you could do with a book to help, but can a book with only 80 pages be worth the effort?

It is a very difficult time for publishers. With Microsoft changing things very rapidly, the rush to be first carries even more risk than usual. In this case even the title of the book is out of date as Microsoft has indicated that using the title Metro for WinRT apps is no longer a good idea and there have been fairly large changes to the WinJS libraries and templates  since the first beta.

The good news is that the programs in the book are fairly up-to-date with the current release of Windows 8, but who knows if Microsoft will change things much before the final version.

There are two versions of this book. Here we've looked at the one with the subtitle "Building Windows 8 Apps with HTML5 and JavaScript" but the companion volume subtitled, "Building Windows 8 Apps with HTML5 and JavaScript" has  equivalent content.

 

Banner

 

The book starts off with an overview of WinJS and the whole approach to building JavaScript/HTML apps. From here we move on to a simple example with markup and no code. Then we dive in with a look at the very limited forms of databinding that WinJS supports. This probably isn't the best place to start because we haven't met the WinJS control as yet and this is the main user of data binding.

Chapter 3 deals with the UI controls - specifically the AppBar and building multipage apps. Chapter 4 discusses layout in general and how to use tiles and badges. Chapter 5 explains the lifecycle of a WinRT app and this ends the book - all too soon.

The list of topics left out of this short book is very long. There is no mention of toast, no mention of how to use the many utility functions, no mention of custom controls. Indeed, many of the standard controls are simply ignored. Other topics are mentioned in passing and in not enough depth - promises in particular - and the whole idea of asynchronous programming is just skimmed over.

There are some good parts of the book - the explanations of databinding are clear and concise, for example, but this only makes you wish that there was a bit more to the book. It also lacks any real explanation of the overall organization of a WinRT app although it does go briefly into the MVVC approach.

Overall this book really doesn't cover the ground and reads more like a few introductory articles on the subject. Let's hope that the book gets expanded into a real book after Windows 8 has been released.

Further Reading

Metro Revealed: Building Windows 8 apps with XAML and C#

Microsoft Drops Metro Name

WinRT JavaScript - ebook

 

Banner


The Art of WebAssembly

Author: Rick Battagline
Publisher: No Starch
Date: May 2021
Pages: 304
ISBN: 978-1718501447
Print: 1718501447
Kindle: B08TSYXJTS
Audience: WebAssembly developers
Rating: 5
Reviewer: Ian Elliot
WebAssembly is the coming thing - or so we are told.



Classic Computer Science Problems in Python

Author: David Kopec
Publisher: Manning
Date: March 2019
Pages: 224
ISBN: 978-1617295980
Print: 1617295981
Kindle: ‎ ‎ B09782BT4Q
Level: Intermediate
Audience: Python developers
Category: Python
Rating: 4
Reviewer: Mike James
Classic algorithms in Python - the world's favourite language.


More Reviews

<ASIN:1430244917>

Last Updated ( Saturday, 13 October 2012 )