On 4/27/05, Schreck, Tom <[EMAIL PROTECTED]> wrote:
> What's the concept behind DAO and CFCs?  Is it a separate file for handling
> all of the inserts, updates, etc?

A DAO is a CFC that handles your persistence logic. It should be
separate from your business logic because business objects do not need
to know about how (or if) they get persisted. Hence separating your
SQL (or XML file handling) from your business logic.

This is generally accepted best practice and it is the reasoning
behind everything from Hibernate in Java to the act/qry file naming
convention in Fusebox.
-- 
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"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]


Reply via email to