Just another Foxite.COM Community Weblog site
this implementation uses the abstract factory pattern to avoid one of the most difficult code maintenance issues. this is the problem that arises whenever we need to change either the class name, or the source library (or both) from which we want to instantiate an object, or simply need to make changes to an existing class definition.
to change a name is fraught with peril and the only way to do it is to search the source code for all occurrences of the item that we want to change and replace it with the new one. this works just fine… Continue reading