You mean a bit like this diagram here:
Actually, this is quite mild. I remeber seeing one somewhere that had about 40 patterns on it and nearly fainted :)
Cheers, Pete (aka lad4bear)
On 22/08/05, Joe Rinehart <[EMAIL PROTECTED]> wrote:
> But over all I've kind of been converted to the gateway/dao stuff. I
> didn't really understand before that a gateway is something that I've
> been doing for a few months.
Cool! That's the way most patterns start - they're not really cooked
up, they're just things developers started doing, then said to each
other "Hey! I do that too! Let's call it something so that we can
share the technique."
> I thought this stuff was a complicated
> mess of cfcs that would add hours to your dev time. I guess all the
> lingo and acronyms scared me. :\
It _can_ add some upfront time, but it's been my experience that when
stuff starts changing (and we know it's going to!), having "everything
in its place" can be a lifesaver.
The lingo and acronyms provide a common vocabulary, which is a very
big aspect of design patterns. It's a lot easier for me to say to
Barney that I've built a multiple database implementation using
Abstract Factory than to say "I created a set of components each with
the same methods, but built specifically for each database platform,
and then another set of components to sit in front of them and load
the correct data access component for the database platform on
demand."
I think your original post, however, made some really good points -
these things have their places. Using them for the sake of using them
is just going to add unnecessary hassle!
In a recent interview, Gamma (one of the Gang of Four authors, kind of
credited with "inventing" the concept of design patterns) said that he
had received e-mails from folks saying that they were proud of
implementing almost every pattern in his Design Patterns book in the
same application. He was completely puzzled: not only did that put
the cart way before the horse, but some of the patterns do the same
thing, in different ways!
-Joe
--
Get Glued!
The Model-Glue ColdFusion Framework
http://www.model-glue.com
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone ( www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.
CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).
CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm
An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
