first_page

Looking at the Songhay System with GOF “Creational” Patterns at DoFactory.com

Buy this book at Amazon.com!Since I have been on several job interviews, the time is more than right to flex the tech vocabulary muscles holding together my .NET plans. We all know that experienced developers are already applying the patterns and practices with the pretty names coming from luminaries such as Martin Fowler what with his Gang of Four (GOF) book—too many of us just don’t have names for what we are doing. In my case, I do not have (enough) names for what I am doing because the opportunity for casual conversation about technical issues (anything of real substance, actually) is quite rare. This situation is no excuse—so here we go:

  • DAR uses the Abstract Factory “creational pattern” when it instantiates concrete Data Activity Assemblies with an interface, IDataActivityAssembly.
  • The Builder Pattern is not seen in the Songhay System. It might be used in Songhay.Data.GenericWeb to build valid ‘input documents’ (XML-based documents) as native .NET types.
  • The “frequently used” Factory Method is not seen in the Songhay System. The suspicion here is that the pervasive use of XPathDocument (and the Abstract Factory) leads away from this need.
  • The Prototype creational pattern is not seen in the Songhay System. The suspicion here is that the pervasive use of XPathDocument leads away from this need.
  • A pattern with Windows Forms (using Mutex) resembles the Singleton creational pattern. This is used in UriTree.

rasx()