Nibbles Blend/WPF/XAML Tutorial site

October 29, 2007

For those of you who are still new to the world of Blend/WPF/XAML, here is a nice collection of tutorials on the Nibble’s site:

As for the lack of recent updates on this blog, I’ve been busy working on some internal middle-ware framework that are no-less amazing than WPF. It is good to see the WPF and especially XAML is attracting more attentions from the development community, even the Java/Eclipse community. Take a look at the eFace XAML engine for Java/Eclipse, you will see that the mark-up and declarative programming methodology is making ways into more traditional development worlds.

This is also happening to the middle-ware applets I am working on now. From Spring.Net, Castle/Windsor, we see more development approaches that adopt the MVC pattern and declarative ways of doing and implementing things. WPF is no exception here.

I will update more when I have more inspirations to share, not only limited to WPF or XAML anymore 🙂

Formatted Text in WPF

August 19, 2007

WPF has very rich support for displaying and manipulating formatted text. I’ve recently came across couple articles at MSDN on this topic. You can get an overview of the rich format support from this article. And then you can read the in-depth article on drawing formatted text.

This compares very nicely with this excellent book on .Net 2.0 Windows Form GDI+ graphics and text drawing by Eric White. Overall I am very impressed with the rich format text rendering support in WPF, despite some unresolved anti-alias issues I have on Windows XP workstations.

About Face 3.0 – reading time

August 9, 2007

Just got the new book by Alan Cooper – About Face 3.0. Seems this book comes out right on time when we are facing a new wave of UI technology revolution – Ajax, Flex, SlilverLight, XAML, WPF, and RIA (Rich Internet Application). I highly recommend this book to anyone who is in the UI design and develop business.

Rant of the day – OOP design principles

July 18, 2007

Coming from the background of enterprise-level software applications development, it is often sad to see development of software being pushed into dead-ends with end-less and count-less bug fixes, and feature break-downs. Though Object-Oriented software design approach was introduced many years ago (or at least 10-15 years ago), it is still surprisingly common to find so many software packages created with lack of basic understanding of OOA&D principles in mind. The other day after I finished reading this Head First Object-Oriented Analysis and Design book from O’Reilly, I feel this book should be recommended to anyone who seriously considering a career in the software development field, at least anyone who are using or planning to use object-oriented language to develop software packages. Here is a nice summary of OOA&D principles. Personally I found the following principles of are very important to understand and follow wisely to build a successful and adaptable system:

Also in general, programming to interfaces, not inheritances can help a big time in many cases. Composition, decorator (or helper service)-based approach is more adaptive than inheritance based approach. We learned that in one of my previous projects in a hard way.

WPF is an excellent example of the extensive usage of decorator (helper-service) approach – through DependentProperty, AttachedProperty, you don’t have to subclass the existing UI elements to add new behaviors. Instead, you build decorators and through AttachedProperty, you can modify or extend behaviors of existing UI elements.