Monday, August 21, 2006 11:44 AM
On Tuesday I am giving a presentation on Software Patterns. One of the patterns I am presenting is the factory pattern. However I don't use that often. Actually, I just completed a changeset in my codebase where I removed a boatload of factories and reverted to constructors. So you could say that I am even averse to them at the moment.
So how in the heck am I going to give a presentation on this stuff if I don't have a lot of experience with it? Well i guess I will have to read up, and build some factories. Well the ASP.Net uses factories alot, I think maybe I will spelunk down there. See what I can dig up.
---
Yup ASP.Net was a good place to look for factory inspiration. The main area that I looked at was in how ASP.Net chooses to handle the different types of files. Once decided it looks at its options and then uses a factory method to get a specific handler. Bam! Handler executes the action. Very cool.
Dru