Saturday, April 07, 2007

Reusable Outlook Style Rules Wizard

Code Project - Reusable Rules Wizard in Outlook style

"Introduction

If you are a regular user of Microsoft's Outlook you may have come across the most useful "Rules and Alerts..." feature. This feature is a great tool to help you automatically manage and organize your emails. The power in this feature lies in the fact that it allows the user to define his or her own set of rules on how he/she would like to have things organized. This gives a great sense of freedom and configurability within an application for the user.

The wizard in Outlook may look very intuitive and easy, however I found that it is actually quit a bit of work to implement this in my own application and faces some challenges. So what I tried to do here is to make a framework where this same concept can be used in your own applications and applied to any type of business objects you are managing in the application. E.g. this could be list of emails such as in Outlook, but also for managing other 'business domain types' such as Contacts, Transactions, Sales, Suppliers, Projects or any other business domain you can think of. The sky is the limit ;-)

In the demo application I have added examples where it is possible to manage a list of customers using the Rules Wizard, simply by defining your own set of applicable rule conditions and actions to be performed that are relevant and tailored for your own application and business domain. I also included an example on how to simply save and load the rules to and from file.

..."

This is a cool bit of work...

No comments: