Sean, 

Thanks a lot for the response... I was getting nervous - thought I was the
only one working the day after Christmas :)

I am working my way through Design Patterns Explained 2nd Edition and it
just covered the Abstract Factory and now going through it for the second
time, it just started to feel odd in the my Web world. 

Have a happy holiday.

......................
Ben Nadel 
Web Developer
Nylon Technology
6 West 14th Street
New York, NY 10011
212.691.1134
212.691.3477 fax
www.nylontechnology.com

"Vote for Pedro"

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sean Corfield
Sent: Monday, December 26, 2005 4:00 PM
To: [email protected]
Subject: Re: [CFCDev] Factory with only one family?

On 12/26/05, Ben Nadel <[EMAIL PROTECTED]> wrote:
> Question about the factory pattern. From what I understand, the factory is
> useful when creating various implementations of various object families.
> However, when it comes to (my) web development, I find that I really only
> have one family of objects.

There are two Factory patterns: Factory Method (what we're typically
using in CF at the moment) and Abstract Factory which has multiple
factory implementations and handles multiple "families" of objects.

So when we say "Factory" we're just being a little sloppy with our
terminology.

If you want to see an Abstract Factory in all its glory (gory?), check
out this final part of my old compiler-writing article:

http://corfield.org/index.cfm/event/cplusplus.section/section/compile6

The abstract factory pattern is introduced (without naming it) about
three-quarters through. I guess the article dates back to the late
90's...

(Feel free to read the other five parts too if you're a masochist)
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood


----------------------------------------------------------
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).

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).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to