Programming WPF: Building Windows UI with Windows Presentation Foundation
H**0
This book is not quite recent but cover a lot and in depth
Just started using it. I have no previous experience with WPF, so it's a good starting point.
T**L
Possibly a "Classic"
A quick background of my skills prior to reading the book so you know where I'm coming from: - Strong: C++, Win32, 2D UI - Learning: C#, .NET, WPF, XAML, XMLBeing 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.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.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.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!)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.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.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.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.And a final gripe: The index is sparse. I am regularly having to pencil in items.Some brief notes: - I really hope this book evolves along with WPF's evolution - The material seemed fresh (as of Oct 2008) except the Silverlight appendix which has aged since Silverlight 2.0 has been released - The corresponding errata website does not seem to be updated regularly (though I didn't encounter many editing problems) - 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.
M**N
Pragmatic, immediateley applicable, well done.
This is exactly the book you need on "both ends" of working with a technology like WPF:End 1 - The Beginning - When you're brand-new to WPF, you're quite anxious to start coding immediately, and this book pays off immediately. In each section, there is meaty depth (or, if you're vegan, "carroty depth") with extensive code examples you can type in and fiddle with. While each chapter does build upon the previous, you still get to really work with each chapter's topic instead of the overly-Professorial or baby-step approach you get with other books.End 2 -- Well on the road -- Once you're up to your armpits in real WPF development, the book is fantastic as a reference. Look up the topic you can't quite figure out or can't recall, and everything you need is there, again with terrific code examples and notch-outs with real-world experiences to keep in mind.Somewhere along the way, a book like WPF Unleashed (which I really don't consider a competitor to this book, but instead a good companion) is a good read to fill you in on the deeper architectural and design patterns within WPF, and will fill in any cracks that may remain after reading this text.But for a "dive in now" AND "reference later" text, this is an excellent choice. It's also over 600 pages, making it an excellent footrest or doorstop, in the event you decide WPF is not for you.
L**I
waste of money
I agree with many reviewers. Search the web for WPF tutorials/information.I can only guess why few of the books do a good job explaining a complex subject such as "binding". Even one of the authors of this book (Griffiths) said understanding is gained by experience. This book doesn't explain "binding" unless (as many books) you already know the subject.Read the reviews. Reviewers for the MacDonald book sayThis book doesn't explain "binding" unless you already know the subject. The vocabulary is partly to blame. Never use terms that haven't been defined.After I've mastered the subject, I'll be able to explain the subject in minutes. Why? Because I understand how to introduce a complex subject without relying on previous knowledge.In this book there is an example "Binding to Relational Data". The author(s) start off fine but wander into synchronicity using complex terms. Best to stick to explaining the binding involved. I converted this example to using MS SQL Server 2008 but still do not thoroughly understand the "binding" involved. I can email the project if you'd like to see it.New development...I bought the Sams "Teach Yourself WPF in 24 hours" and it is great!I'd start with "Teach Yourself WPF in 24 hours". Terse/clear handling of code snippets to put over a point...completely.Many books require a knowledge of the subject in order to read it.I wonder where all these rave book reviews come from. friends and family?Want a example of WPF + SQL Server 2008 Express? Email [...]uses delete, update, select and insert.Do me a favor and shoot it full of holes!I wrote it for VS 2008 Express and it converted correctly to VS2010 Beta2 (except for a bunch of artifacts)
K**L
Highly recommended
I think this might be the best book I've read on WPF basics, along with WPF Unleashed 4.5 by Adam Nathan.
W**R
Well done!!!!
Thank you very much for this book, Chris!!This is an excellent book, well organized smooth flow from start to end.Easy to understand, before reading this book, learning WPF was really frustrating after reading this book, seems too easy. Code samples are excellent, I am working with VS 2008 beta 2 and pretty much all programs work too...
J**H
Good reference
Not for the beginner. Programming in C# is a must have. Familiarity with Net concepts helps. Good reference book for the developer.
L**E
Informative and easy to read
Having struggled through many technical manuals I have to say this is easy to read, well thought out, and covers the subject in a simple step by step way.It doesn't seek to impress with Jargon, instead it take you through not just what to do, and how to do it but also the ethos behind the design letting you know why it's done this way.
P**R
Great introduction to WPF
Bougth this book to get started in WPF. Even though the version I received was not up to date (I bought the 2007 edition in 2012), it does a good job of explaining the core principles of WPF. I found that it does a good job of explaining xmal and how it interacts with code.
M**R
Excellent
This is an excellent book on WPF. The pacing is a bit off for an experienced developer looking to get into WPF but a worthy reference book. That said, its the BEST WPF book I have found and I have read a lot of them.
B**N
Five Stars
Great!
Trustpilot
2 weeks ago
1 day ago