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.



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.


SQL Server 2022 Revealed

Author: Bob Ward
Publisher: Apress
Pages: 506
ISBN: 978-1484288931
Kindle: B0BLB4VJL9
Audience: DBAs & SQL devs
Rating: 5
Reviewer: Ian Stirk

This book aims to explain the new features in SQL Server 2022, how does it fare?

Learn Enough JavaScript to Be Dangerous

Author: Michael Hartl
Publisher: Addison-Wesley
Date: June 2022
Pages: 304
ISBN: 978-0137843749
Print: 0137843747
Kindle: B09RDSVV7N
Audience: Would-be JavaScript developers
Rating: 2
Reviewer: Mike James
To be dangerous? Is this a good ambition?

More Reviews

Last Updated ( Wednesday, 08 February 2012 )