| Welcome to vBulletin FAQ |
vBulletin FAQ Navigation
Getting Started
Customizing your vBulletin
Search Engines & SEO
Making Money with a Forum
Promoting your Community
|
| Get your own vBulletin Today |
|
| Webmaster Help |
|

|
|
Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)
vBulletin Book Store > vBulletin books beginning with A
|
Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer) |
Author: Charles Petzold
Published: 2006-09-13 |
List price: $59.99
Our price: $37.79
|
Usually ships in 24 hours
As of: December 01st, 2008 04:45:13 PM
|
|
|
Customer comments on this selection.
Excellent book on windows based graphics I am still on chapter one, going through the book while coding the examples and learning from them. It is a good thorough description of what you can do with wpf. I'll add to this when I am finished.
br /Leon
Disappointing Title from an Amazing Author Over the last decade I've been reading books by Charles Petzold; until this one I enjoyed them all. I consider Petzold to be one of the best Windows development authors out there. He's been writing about it since Windows was became Windows. Most of his titles offer well thought out and presented material. This book did not.
br /
br /Twice I attempted to read this book as my introduction to the Windows Presentation Foundation. Both times I failed to advance my mark more than a few hundred pages. There are absolutely no illustrations, screenshots or pictures of any kind. This fact forces the reader to type up his numerous code samples to see their output. While I enjoy having many samples in a book about programming, I don't always need to type up the program myself to understand its meaning. Call it teaching to all the senses, but I like more visuals.
br /
br /My other complaint with the book is that while reading it I constantly feel I'm not moving anywhere. Most other programming books I've read I felt like I could go out and use the tool, even if it was only a fraction of its functionality. With this book I constantly felt like I had to wait until the 2nd half, the XAML discussion, to really use WPF. Yes, I could write a GUI by programmatically instantiating all the elements, but that isn't the way the technology was meant to be used. I would have enjoyed a brief introduction to XAML and its use throughout; only waiting until the end for diving into its deepest intricacies.
br /In the end, I couldn't finish this book and purchased a different title.
br /
The WPF Book I was waiting for Every book I had read so far on WPF sidestepped the basic premise behind WPF -- that it was a brand new platform and a new programming paradigm, which will eventually replace WinForms. How did they do that? By glorifying XAML and everything that it could do for you, turning Windows programming into that trash called HTML, which most Windows programmers stay away from. When I read Nathan Adams' highly touted book, I couldn't get past that 3rd chapter. Chris Sells? About the same. The problem was always the same -- each of the aforesaid authors unnecessarily burden you with XAML when you are already trying to get your head around the WPF, thereby glossing over some very, very important concepts!
br /
br /Charlie Petzold is that seasoned veteran that started doing Windows ever since Windows came into existence. He takes a truly novel approach in teaching you about WPF. He starts off by first telling you about WPF in the language you are most familiar with -- C#. He explains all the concepts, all the ideas, all the tenets. All in C#. And then, when you get familiar with all of that, bam! He hits you with XAML. He then starts showing you how you can do all of the things that he showed you in C# -- in XAML. But by this time, you are no longer struggling with the concepts of WPF. You already know what DependencyProperties and RoutedEvents are. You are already aware of virtual trees and logical trees. So now, when you see them represented in XAML, it makes so much more sense. And it's all easier to comprehend.
br /
br /The simplest analogy I can give is this: remember the time when you started learning calculus in high school? That was a new enough concept, right? Now imagine if you had to learn that in German (or your non-native tongue)! But once you learn all the concepts in English, you could very well proceed in a language you weren't quite as familiar with.
br /
br /To me this is the only way I could have learned WPF. And XAML. I was pushing off WPF all these days only because XAML was getting in the way of my learning. While a lot of Web-programmers will be happy for XAML, the fact is, declarative programming is not something Windows programmers are used to. To them, the only way to approach the subject is to first teach them WPF and then show them how XAML comes in the picture.
br /
br /Having said that, there are a two extremely irritating aspects to the book that start rearing their annoying heads by the time you get to the second chapter:
br /1. There are no graphics showing outputs from the code. Granted you are expected to run the code samples (which can be downloaded from the MS Press support site), but I shouldn't have to run every single code sample. Moreover, there are times when I'm reading the book on a crowded train, when I can't really run the program on my laptop -- there's barely room to open the book as it is.
br /2. Every program is a Console app. So after you hit the F5 key, the annoying console window gets in the way of viewing the main Window. You have to minimize the window, or move it in order to see the Window (Form). According to Petzold, it's convenient for him to hit Ctrl-C on the Console window to terminate the program. Note to Petzold: Chuck, have you tried hitting Shift-F5 on your IDE? I find this so debilitating that I had a utility converting every single csproj file in the folder tree from a console to a Windows application.
br /
br /Aside from that, the code samples run perfectly. I'm on Chapter 11, and so far every single code sample works.
br /
br /If you are a seasoned Windows/C# programmer facing similar mind blocks against XAML, this is the book for you. If you are a Web programmer for whom C# is subservient to VBScript, or JavaScript, and are comfortable with HTML, this may not be the right entry point for you (as evidenced by some of the low ratings that this book got). You may need to get in via XAML, and a book that overly emphasizes its importance (such as Adams or Sells) might be the way to go.
If you don't have this book then you don't know WPF! This book is ESSENTIAL for any WPF engineer. There are so many topics covered in this book that will allow you to take your WPF applications to the next level. Charles' style of writing is fantastic and easy to understand. I wouldn't neccessarily recommend this to be the book to learn WPF fro but consider it an essential source for advanced topics.
The dust has settled. This is a terrific book. Each chapter is well thought out and develops like a good narrative. Chapters are typically 20, 25 pages and thoroughly explain a central concept. They often end with a nice lead-in to the next chapter, like "this works, but what if you wanted to ...?"
br /
br /When first published, no one knew what WPF things like StackPanels looked like, so people wanted screenshots everywhere. The book uses a series of concise console applications to demonstrate WPF concepts. I'm glad it does. With a screenshot on every page, the book would be 50% thicker or have less detailed info.
br /
br /The console apps are self-contained little apps that generally demonstrate one aspect of a WPF feature. After a few chapters, I realized I needn't read every line of code carefully, since the author gives an intro on what to look for in the sample and often an explanation after the example about any non-obvious lines of code.
br /
br /Other books have their place. I have several others because I sometimes want to examine some topic from several authors' POV. But for taking a programming concept and building a full explanation in clear, logical steps, no one does it better than Mr. Petzold.
br /
br /Whether you are going to build next-gen Windows apps or develop Silverlight 2 applications, learning WPF and XAML is essential (just as web designers must sometimes work directly with html).
br /
br /Visual Studio and Expression Blend make assumptions when you drag elements onto the design surface. It's easier to work directly in XAML rather than delete extraneous properties these tools add to your code.
br /
br /Some criticize it takes half the book before delving into XAML. Anything in XAML can be done in C# (or VB), so starting with the code is a logical foundation for understanding. For things that are easier to wire up in XAML, the author points forward to those chapters. By the time you get to chapters on XAML, if you know anything at all about it, you'll fly thru the pages, filling in gaps about how code and markup work seamlessly together.
br /
br /I cannot imagine thoroughly understanding WPF without having this book's comprehensive explanations available to me. I think it's a terrific book that will stand the test of time.
|
|
Our vBulletin book picks:
|
|
Find more vBulletin related products of interest.
|