Back to list
Views:   8.4K
Replies:  1

Patterns in Action vs. Microsoft Enterprise Library


I'm new to Patterns in Action and I also have limited exposure to the Microsoft Enterprise Library. Can anyone offer insights in the relative benefits and drawbacks of the the Logging and Validation methods in each?

Do they differ in philosophy? Ease of use? Depth? Etc. Etc.

Thanks for your ideas.

Ira Dobrow
Ira Dobrow, Sep 01, 2010
Reply 1

This is a great question.

The Design Pattern Framework is an educational tool that highlights the areas in which your code can succussfully benefit from design patterns.  In many cases we had to find a balance between comprehensiveness and simplicity and we decided that the learning experience would be best when things are kept simple. Therefore, most implementations are very lightweight by design.

Next the Enterprise Library. First off, I am not an expert on the Enterprise Library, but this set of tools is rather different from the Design Pattern Framework. If offers an enormous amount of functionality throught their Application Blocks. It is large, comprehensive, and some would argue too bloated (here is a sample discussion: ).  It will require a fair amount of study, but overall it seems very useful and powerful.

So, at the end, the answer is: it depends. If you like to keep your code lightweight and know exactly what goes on, you probably want to write things yourself (borrowing some code left and right, like from the Design Pattern Framework), otherwise you can get a headstart with the Enterprise Library, but you must follow their approach and philosophy. Personally, I am more in the lightweight KISS ( and YAGNI ( schools of thinking.

Dan McMillan, Sep 03, 2010
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.