XAML Developer Reference

Author: Mamta Dalal & Ashish Gho
Publisher: Microsoft Press, 2012
Pages: 318
ISBN: 978-0735658967
Aimed at: Microsoft developers
Rating: 4
Pros: Good explanations and examples
Cons: Many topics omitted
Reviewed by: David Conrad

 

XAML? Can you really have a book that deals with it in isolation?

Given the way that XAML has spread into other Microsoft technologies, having a book on the subject isn't silly. However XAML's future is far from secure. Even though it is one of the layout languages that you can use with WinRT Microsoft seems very keen on the alternative HTML5. Of course XAML is far superior to HTML5 in the sense that it is more powerful. The only downside of using it is that it isn't standard and, as this book explains in the first chapter, it isn't even particularly standard across Microsoft technologies.

The reason for this is that at its heart XAML is an object-instantiation language and not a markup language. If I were writing a book on it then this is the angle I would emphasise, but this would have the disadvantage of making it less accessible to non-programmers. This book takes the view that XAML is a markup language and describes it as such.


Banner

 

The first three chapters form a basic introduction to XAML. After discovering what it is all about you move on to object elements and attributes and then properties and events.

Part II is called Enhancing User Experience, but it is really about advanced XAML. Topics covered include extensions, resources, styles and triggers. Part III is about UI controls - positioning and types of control.Most of this is about the layout process used in WPF. Part IV is about data binding - the topic that causes most confusion - and media in general.

Overall the book has a messy look which isn't encouraging but when you focus in on a topic you will find that the explanations are good as are the examples. Although the book attempts to say with pure XAML it can't and code examples are in C# - this shouldn't be a problem. There are also lots of references to further material on the web but following them up involves typing in long URLs.

Obviously the book tends to concentrate on WPF and Silverlight and how they interact with XAML and there is no mention of WinRT and how this fits in  However being focuses on XAML in general it would probably be helpful if you wanted to make the move from Windows Forms to WinRT. It also doesn't cover the main tools that you would used to work with XAML - i.e. Visual Studio and Expression Blend. This isn't unreasonable as the focus is on XAML and what the actual markup means rather than how you generate XAML.

This quite a slim book, but this helps it focus on the topic in question.It doesn't really work as a reference, however, as it is more like an introduction to the subject than any sort of dry, dull and boring reference - after all the Internet is better at providing answers to questions of specific syntax.

As long as you are happy with an account that has to be incomplete because of the technologies that are left out, e.g. WPF, Silverlight etc, then this is a good introduction to XAML.



Banner


Deep Learning (No Starch Press)

Author: Andrew Glassner
Publisher: No Starch Press
Date: July 2021
Pages: 750
ISBN: 978-1718500723
Print: 1718500726
Kindle: ‎ B085BVWXNS
Audience: Developers interested in deep learning
Rating: Mike James
Reviewer: 5
A book on deep learning wtihout an equation in sight?



Python Programming and Visualization for Scientists 2nd Ed

Author: Alex DeCaria and Grant Petty
Publisher: Sundog Publishing
Pages: 372
ISBN: 978-0972903356
Print: 0972903356
Audience: Scientists wanting to use Python
Rating: 2
Reviewer: Mike James
Visualization - a difficult topic and difficult to see how to explain the ideas in a book.


More Reviews

Last Updated ( Wednesday, 08 February 2012 )