Programming WPF

Programming WPF
Price: $49.99 USD
If you want to build applications that take full advantage of Windows Vista's new user interface capabilities, you need to learn Microsoft's Windows Presentation Foundation (WPF). This new edition, fully updated for the official release of .NET 3.0, is designed to get you up to speed on this technology quickly. By page 2, you'll be writing a simple WPF application. By the end of Chapter 1, you'll have taken a complete tour of WPF and its major elements.

WPF is the new presentation framework for Windows Vista that also works with Windows XP. It's a cornucopia of new technologies, which includes a new graphics engine that supports 3-D graphics, animation, and more; an XML-based markup language, called XAML, for declaring the structure of your Windows UI; and a radical new model for controls.

This second edition includes new chapters on printing, XPS, 3-D, navigation, text and documents, along with a new appendix that covers Microsoft's new WPF/E platform for delivering richer UI through standard web browsers -- much like Adobe Flash. Content from the first edition has been significantly expanded and modified. Programming WPF includes: Scores of C# and XAML examples that show you what it takes to get a WPF application up and running, from a simple "Hello, Avalon" program to a tic-tac-toe game Insightful discussions of the powerful new programming styles that WPF brings to Windows development, especially its new model for controls A color insert to better illustrate WPF support for 3-D, color, and other graphics effects A tutorial on XAML, the new HTML-like markup language for declaring Windows UI An explanation and comparison of the features that support interoperability withWindows Forms and other Windows legacy applications

WPF represents the best of the control-based Windows world and the content-based web world. Programming WPF helps you bring it all together.

Author: Chris Sells
Author: Ian Griffiths
Publisher: O'Reilly Media, Inc.
Customer Reviews
  • Possibly a "Classic"
    A quick background of my skills prior to reading the book so you know where I'm coming from: <br /> - Strong: C++, Win32, 2D UI <br /> - Learning: C#, .NET, WPF, XAML, XML <br /> <br />Being extremely anxious to dig in to WPF, I was seeking a book that would hold my hand through the process but by the end, leave no stones unturned. This book comes close. <br /> <br />My first attempt at learning was "Windows Presentation Foundation Unleashed" by Adam Nathan. I quickly became frustrated with the book because I was regularly feeling lost. You know, like when you are conversing with a really intelligent person who has a hard time helping you connect the dots. I do recommend Adam's book as a supplement as it's got good material and is in full color. After reading the reviews for "Programming WPF" by Sells & Griffiths I took the leap. <br /> <br />I read the book cover to cover minus 3 chapters: 3D, Interoperability and Async/Multithreaded -- about 700 of 800 pages. Usually books this fat have lots of useless pages. Not this book, no sir, which just goes to show how much there is to learn about WPF and XAML. In a word, the book is brilliant, written for experienced programmers who want to learn WPF and XAML. <br /> <br />It has the same feel as Petzold's Win 3.x books, i.e. Light-hearted, start easy and built to a powerful crescendo as the chapters progress. The latter chapters are no more difficult to digest than the previous chapters, but do build upon previous chapters. That said, I was extremely grateful that the book didn't have a grand project that was slowly built upon chapter by chapter; code examples mostly stood on their own and were plentiful (and they worked as printed!) <br /> <br />As noted above, I know very little about WinForms, and WPF is the obvious successor. Though parallels were duly noted, I was thrilled that there were not constant sidebars saying "Hey Mr. WinForms! Everything's OK! This is just new stuff and you can handle it. Rah! Rah! Rah!" As the authors make abundantly clear from page 1, WPF is light years ahead of WinForms. <br /> <br />As noted above, WPF and XAML are big topics so be prepared to get up and stretch your legs a lot, hold you head frequently and doubt the wisdom of learning new things. <br /> <br />On the down side, the book is weighted a bit too heavily towards XAML for my tastes. Since C# can do absolutely everything (and more) that XAML can do, I wish there were more dual examples that show how XAML does it and then how C# does it. There are examples like this but not enough. This would satisfy the curiousity of developers who wonder about how XAML "magically" achieves things. <br /> <br />Another gripe, now that I am attempting to apply what I have learned: I am frequently having to turn to a Google search to find details not present in the book. For example, the section about event bubbling covers good ground but I immediately had a problem when trying to use bubbling: I was attempting to use it with sibling elements and that does not work but (as far as I can tell) this was not noted in the book. It feels as though the book was not field tested. <br /> <br />And a final gripe: The index is sparse. I am regularly having to pencil in items. <br /> <br />Some brief notes: <br /> - I really hope this book evolves along with WPF's evolution <br /> - The material seemed fresh (as of Oct 2008) except the Silverlight appendix which has aged since Silverlight 2.0 has been released <br /> - The corresponding errata website does not seem to be updated regularly (though I didn't encounter many editing problems) <br /> - Even though the book only has a dozen pages of color plates, you won't feel deprived as the examples will light up your display in all sorts of fun ways. <br />
  • Sells Sells
    I have both WPF books by Chris Anderson and Adam Nathan. I read initial chapters of both of them but never got so excited to continue reading and got astray into LINQ and other stuff. Then I bought this one from Chris Sells and all I can say is it is much better than both Anderson and Adam book and the book keeps you engaged making you eager to find out what next in very simple terms and wonderful example. I loved the way the data binding chapter was explained and am hoping to finish this soon. <br /> <br />Great Job Sells and Ian.
  • A book even Evangelists can learn from
    I'm almost ashamed to admit that after diving into WPF back when it was known as "Avalon", I haven't even touched WPF since. So I finally needed to suck it up, get started, and learn WPF. <br /> <br />As somebody new to WPF, I just have to give a huge "Thank You" to both Chris and Ian. This book is very entertaining and the quality of the writing between both Chris and Ian is just tremendous. The pace of the book is perfect and the teaching style is one that any developer can relate to. <br /> <br />As a Technical Evangelist working for Microsoft, I think that every "Evangelist" in the tech industry can learn from Chris and Ian on how to tell a compelling story that developers can relate to and "grok". We evangelists are all-too-willing to simply explain the technical details of an API while completely forgetting to answer the "why" (let alone telling a compelling story to suck people in). This is yet another area that this book excels at. <br /> <br />I can say with full confidence that this book is the first book I recommend to anybody wanting to dive into WPF. Enjoy! <br /> <br />Jason Olson, Technical Evangelist, Visual Studio & the .NET Framework <br />[...] <br />
  • Witty, clearly written, easy to understand -- an excellent book!
    Writing a programming book is not an easy thing to do -- I know, because I've done it myself. And I have to say that I'm really impressed with the job that Chris Sells and Ian Griffiths have done with "Programming WPF". This is one of the best programming books I've ever read (and I've read a lot of them). <br /> <br />For a programming book to be good, it's not enough for it to simply contain all of the information that you need to know. If that information doesn't stick to your brain, then the book hasn't done it's job. If you want the information to stick, then the book has to be interesting to read. It has to have a lot of clear examples that show you real-world applications without extraneous fluff. And to be really effective, all of that should be done with a little bit of style and wit. <br /> <br />And I'm really pleased to say that "Programming WPF" does all of those things. I recently needed a refresher on WPF, so I just spent a lot of time over the last few weeks going through the book very carefully. And I have to say that I'm really impressed. It's engaging, interesting and they chose really good examples. And it's witty! (You'd be amazed at how the occasional chuckle keeps a reader from getting that "eyes glazed over" feeling that far too many books induce.) <br /> <br />I know from experience -- believe me, I know! -- just how hard it is to pull that off. And they did it with style. So first of all, congratulations to Chris and Ian for doing a great job. And second, if you're a C# developer looking for a good, hands-on way to learn WPF, I highly recommend "Programming WPF".
Results provided by Amazon