Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)

Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)
by Charles Petzold

Applications = Code + Markup: A Guide to the Microsoft  Windows  Presentation Foundation (Pro - Developer)
List Price: $59.99
Our Price: $14.52
You Save: $45.47 (76%)
Availability: Usually ships in 1-2 business days
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Charles Petzold
Edition: Hardcover
Published: 2006-09-13
ISBN: 0735619573
Number of pages: 1020
Publisher: Microsoft Press

Book Reviews of Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)

Book Review: The WPF Book I was waiting for
Summary: 5 Stars

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!

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.

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.

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.

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:
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.
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.

Aside from that, the code samples run perfectly. I'm on Chapter 11, and so far every single code sample works.

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.

Summary of Applications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)

In this book, Windows programming legend Charles Petzold covers in parallel the two interfaces that make up the Windows Presentation Foundation (WPF). From the outset, the reader can shift focus seamlessly between Extensible Application Markup Language (XAML) and C# to see them as flip sides of the same processes. Beginning in the first chapter, Petzold presents the general syntax of the XAML and corresponding programming code with numerous illuminating examples on how the two correspond and interrelate. The book builds on this base, providing the classic Petzold Windows user interface (UI) treatment, to show Windows developers how to create next-generation interfaces for their applications.

Foundation Classes Books

Book Subjects
Most talked about in Essential .NET
Patterns of Enterprise Application Architecture (The Addison-Wesley Signature Series) ImagePatterns of Enterprise Application Architecture (The Addison-Wesley Signature Series)
by Martin Fowler
Addison-Wesley Professional; Published: 2002-11-15; Hardcover; Book
Best price: $45.94
Price in other shops: $64.99
Applying Domain-Driven Design and Patterns: With Examples in C# and .NET ImageApplying Domain-Driven Design and Patterns: With Examples in C# and .NET
by Jimmy Nilsson
Addison-Wesley Professional; Published: 2006-05-18; Hardcover; Book
Best price: $35.40
Price in other shops: $54.99
Domain-Driven Design: Tackling Complexity in the Heart of Software ImageDomain-Driven Design: Tackling Complexity in the Heart of Software
by Eric Evans
Addison-Wesley Professional; Published: 2003-08-30; Hardcover; Book
Best price: $41.99
Price in other shops: $59.99
Applications = Code + Markup: A Guide to the Microsoft  Windows  Presentation Foundation (Pro - Developer) ImageApplications = Code + Markup: A Guide to the Microsoft Windows Presentation Foundation (Pro - Developer)
by Charles Petzold
Microsoft Press; Published: 2006-09-13; Hardcover; Book
Best price: $20.94
Price in other shops: $59.99
Professional ASP.NET 2.0 Special Edition (Wrox Professional Guides) ImageProfessional ASP.NET 2.0 Special Edition (Wrox Professional Guides)
by Bill Evjen, Scott Hanselman, Devin Rader, Farhan Muhammad, Srinivasa Sivakumar
Wrox; Published: 2006-10-16; Hardcover; Book
Best price: $16.77
Price in other shops: $59.99
Windows Forms Programming in C# (Microsoft .NET Development Series) ImageWindows Forms Programming in C# (Microsoft .NET Development Series)
by Chris Sells
Addison-Wesley Professional; Published: 2003-09-06; Paperback; Book
Best price: $19.99
Price in other shops: $54.99
Pragmatic Unit Testing in C# with NUnit, 2nd Edition ImagePragmatic Unit Testing in C# with NUnit, 2nd Edition
by Andy Hunt, Dave Thomas, Matt Hargett
Pragmatic Bookshelf; Published: 2007-08-30; Paperback; Book
Best price: $15.19
Price in other shops: $29.95
Refactoring: Improving the Design of Existing Code (The Addison-Wesley Object Technology Series) ImageRefactoring: Improving the Design of Existing Code (The Addison-Wesley Object Technology Series)
by Martin Fowler, Kent Beck, John Brant, William Opdyke, Don Roberts
Addison-Wesley Professional; Published: 1999-07-08; Hardcover; Book
Best price: $38.99
Price in other shops: $59.99
Similar Books and other products
Pro C# 2008 and the .NET 3.5 Platform, Fourth Edition (Windows.Net) ImagePro C# 2008 and the .NET 3.5 Platform, Fourth Edition (Windows.Net)
by Andrew Troelsen
Apress; Published: 2007-11-12; Hardcover; Book
Best price: $38.82
Price in other shops: $59.99
Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries (Microsoft .NET Development Series) ImageFramework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries (Microsoft .NET Development Series)
by Krzysztof Cwalina, Brad Abrams
Addison-Wesley Professional; Published: 2005-09-29; Hardcover; Book
Best price: $34.00
Price in other shops: $49.99
Microsoft  Windows  Communication Foundation Step by Step (Step By Step Developer Series) ImageMicrosoft Windows Communication Foundation Step by Step (Step By Step Developer Series)
by John Sharp
Microsoft Press; Published: 2007-01-31; Paperback; Book
Best price: $11.61
Price in other shops: $44.99
Essential Windows Presentation Foundation (WPF) (Microsoft .NET Development Series) ImageEssential Windows Presentation Foundation (WPF) (Microsoft .NET Development Series)
by Chris Anderson
Addison-Wesley Professional; Published: 2007-04-21; Paperback; Book
Best price: $24.99
Price in other shops: $49.99
CLR via C#, Second Edition (Pro Developer) ImageCLR via C#, Second Edition (Pro Developer)
by Jeffrey Richter
Microsoft Press; Published: 2006-03-22; Paperback; Book
Best price: $29.97
Price in other shops: $59.99
Programming WCF Services (Programming) ImageProgramming WCF Services (Programming)
by Juval Lowy
O'Reilly Media, Inc.; Published: 2007-02-20; Paperback; Book
Best price: $25.15
Price in other shops: $44.99
3D Programming for Windows (Pro - Developer) Image3D Programming for Windows (Pro - Developer)
by Charles Petzold
Microsoft Press; Published: 2007-07-25; Paperback; Book
Best price: $19.82
Price in other shops: $39.99
Essential Windows Workflow Foundation (Microsoft .NET Development Series) ImageEssential Windows Workflow Foundation (Microsoft .NET Development Series)
by Dharma Shukla, Bob Schmidt
Addison-Wesley Professional; Published: 2006-10-13; Paperback; Book
Best price: $28.00
Price in other shops: $49.99
Programming WPF ImageProgramming WPF
by Chris Sells, Ian Griffiths
O'Reilly Media, Inc.; Published: 2007-08-28; Paperback; Book
Best price: $24.99
Price in other shops: $49.99
Windows Presentation Foundation Unleashed (WPF) (Unleashed) ImageWindows Presentation Foundation Unleashed (WPF) (Unleashed)
by Adam Nathan
Sams; Published: 2006-12-31; Paperback; Book
Best price: $24.94
Price in other shops: $49.99
Book store. Illustrated catalog of books on different categories