Essential Windows Presentation Foundation (WPF) (Microsoft Windows Development Series) (英語) ペーパーバック – 2007/4/11
Kindle 端末は必要ありません。無料 Kindle アプリのいずれかをダウンロードすると、スマートフォン、タブレットPCで Kindle 本をお読みいただけます。
“Chris Anderson was one of the chief architects of the next-generation GUI stack, the Windows Presentation Framework (WPF), which is the subject of this book. Chris’s insights shine a light from the internals of WPF to those standing at the entrance, guiding you through the concepts that form the foundation of his creation.”
–From the foreword by Chris Sells
“As one of the architects behind WPF, Chris Anderson skillfully explains not only the ‘how,’ but also the ‘why.’ This book is an excellent resource for anyone wanting to understand the design principles and best practices of WPF.”
–Anders Hejlsberg, technical fellow, Microsoft Corporation
“If WPF stands as the user interface technology for the next generation of Windows, then Chris Anderson stands as the Charles Petzold for the next generation of Windows user interface developers.”
–Ted Neward, founding editor, TheServerSide.NET
“This is an excellent book that does a really great job of introducing you to WPF, and explaining how to unlock the tremendous potential it provides.”
–Scott Guthrie, general manager, Developer Division, Microsoft
“WPF is a whole new animal when it comes to creating UI applications, drawing on design principles originating from both Windows Forms and the Web. Chris does a great job of not only explaining how to use the new features and capabilities of WPF (with associated code and XAML based syntax), but also explains why things work the way they do. As one of the architects of WPF, Chris gives great insight into the plumbing and design principles of WPF, as well as the mechanics of writing code using it. This is truly essential if you plan to be a serious WPF developer.”
–Brian Noyes, chief architect, IDesign Inc.; Microsoft Regional Director; Microsoft MVP
“I was given the opportunity to take a look at Chris Anderson’s book and found it to be an exceedingly valuable resource, one I can comfortably recommend to others. I can only speak for myself, but when faced with a new technology I like to have an understanding of how it relates to and works in relation to the technology it is supplanting. Chris starts his book by tying the WPF directly into the world of Windows 32-bit UI in C++. Chris demonstrates both a keen understanding of the underlying logic that drives the WPF and how it works and also a skill in helping the reader build on their own knowledge through examples that mimic how you would build your cutting edge applications.”
–Bill Sheldon, principal engineer, InterKnowlogy
Windows Presentation Foundation (WPF) replaces Microsoft’s diverse presentation technologies with a unified, state-of-the-art platform for building rich applications. WPF combines the best of Windows and the Web; fully integrates user interfaces, documents, and media; and leverages the full power of XML-based declarative programming.
In Essential Windows Presentation Foundation, former WPF architect Chris Anderson systematically introduces this breakthrough platform, focusing on the concepts and techniques working developers need in order to build robust applications for real users. Drawing on his unique experience as an architect on the team, Anderson thoroughly illuminates the crucial new concepts underlying WPF and reveals how its APIs work together to offer developers unprecedented value.
Through working sample code, you’ll discover how WPF draws on the Web’s simple models for markup and deployment, common frame for applications, and rich server connectivity, and on Windows’ rich client model, simple programming model, strong control over look-and-feel, and rich networking. Topics explored in depth include
- WPF components and architecture
- Key WPF design decisions–and why they matter
- XAML markup language
- Visuals and media, including 2D, 3D, video, and animation
- Data integration
- WPF Base Services
Essential Windows Presentation Foundation is the definitive, authoritative, code-centric WPF reference: everything Windows developers need to create a whole new generation of rich, graphical applications.
Foreword by Don Box
Foreword by Chris Sells
About the Author
Chapter 1: Introduction
Chapter 2: Applications
Chapter 3: Controls
Chapter 4: Layout
Chapter 5: Visuals
Chapter 6: Data
Chapter 7: Actions
Chapter 8: Styles
Appendix: Base Services
Chris Anderson, architect in Microsoft’s Connected Systems Division, specializes in designing and architecting .NET technologies for the next generation of applications and services. In ten years at Microsoft, he has worked on technologies ranging from Visual Basic 6.0 and Visual J++ 6.0 to .NET Framework 1.0 and 1.1. In 2002, he joined the Windows Client team as an architect for Windows Presentation Foundation. Anderson has spoken at numerous conferences, including PDC, TechEd, WinDev, and DevCon.
This is one of the best technical books I've read in a very long time, and I recommend it without reservation.
In particular, I like that he often provides the thinking that went into particular design decisions. He readily admits in several places that the design of this or that was hotly debated, and one can only imagine that they would be. Having worked at a few commercial software vendors myself, I know how difficult it can be to know the best way to design a thing, and it can only be more challenging as your audience widens.
After this, the main thing that makes the book valuable is that it is deeply conceptual. The point of the book is not to be a reference, a recipie book, or a smattering of tutorials. Rather, the book provides, in a coherent form, the key principles underlying the different aspects of WPF. And by elaborating these principles, Chris establishes a strong sense that the Foundation was designed in a similarly coherent manner.
My favorite chapters were the one on Data, the one on Actions, and the Appendix. For a solutions architect and developer, these I think provide the most interesting meat. Of course, these types will likely want to delve into the first three chapters as well. In fact, the only one that I'd suggest you can probably get away with skipping is the one on Visuals; I found this one pretty dry and hard to push through. Designers and those more interested in graphics per se will likely enjoy these.
The chapter on Styles took me by surprise, but then, that's because the concept of styles in WPF is a tad surprising. Being the language-oriented person that I am, I am a bit bothered by the choice of Style to encompass everything that you can do with styles in WPF. Needless to say, it's not just UI goodness--devs will need to be pretty familiar with this stuff.
Other than that, my only contention is with the assertion that apps today are all about data. This won't come as a surprise to those who've read my articles or talked to me about architecture much, but despite my philosophical objection, when it comes to UI, I'll admit that LOB apps are in fact largely about the data, i.e., largely about displaying and manipulating data since thus far, we seem to have mainly used computers to help with data storage and retrieval. In any case, it is certainly important to have good data binding mechanisms in the UI, and I have to say, WPF nails this better than any UI tech I've bumped into thus far.
But I digress. The book is good; I recommend it as a starting point or to complement other WPF learning resources. It is the essentials with which you can start effectively creating WPF applications. You'll need the docs and/or other more comprehensive books to really figure it all out, but you should read this one regardless.