I'm actually struggling with "Design Patterns" now (tho' I understand less
than half of it).  Thanks for the other references... Amazon, here I come.
;^)

Actually, in this case, the point I was trying to make is in the book: a
"potential disadvantage" of the Factory Method is "that clients might have
to subclass the Creator class just to create a particular ConcreteProduct
object" and that "the client must now deal with another point of evolution".

That's pretty much my concern here.  I want the creation of the
business-level components to be drop-dead, stupid simple - the person using
them shouldn't have to care what DB is in use.  Furthermore the same
application should be able to switch DBs/persistence layer implementations
without recoding.

Jim Davis

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Massimo, Tiziana e Federica
> Sent: Sunday, May 09, 2004 4:06 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [CFCDev] Best way to dynamically change method bodies (from
> "CFINCLUDE forces var scope into arguments?")
> 
> > What am I missing (besides a Comp Sci degree)?
> >
> I can say I know that feeling :-)
> 
> Are you familiar with Design Patterns? This book could help you figuring
> out
> many potential strategies:
> 
> Data Access Patterns: Database Interactions in Object-Oriented
> Applications
> by Clifton Nock
> Paperback - 468 pages (September 2003)
> Addison-Wesley
> ISBN: 0131401572
> 
> In case you are still new to Design Patterns (I am a newbie myself), this
> could be a good opportunity to get started. A friendly introduction I
> would
> reccomend is:
> 
> Design Patterns Explained: A New Perspective on Object-Oriented Design
> by Alan Shalloway, James R. Trott
> Paperback - 334 pages (July 2001)
> Addison-Wesley
> ISBN: 0201715945
> 
> ----------------------------
> Massimo Foti
> http://www.massimocorner.com
> ----------------------------
> 
> 
> 
> 
> 
> ----------------------------------------------------------
> You are subscribed to cfcdev. To unsubscribe, send an email
> to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev'
> in the message of the email.
> 
> CFCDev is run by CFCZone (www.cfczone.org) and supported
> by Mindtool, Corporation (www.mindtool.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' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

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

Reply via email to