Right...I saw that. Thanks for the clarification.

<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--------------//--------->

-----Original Message-----
From: Matt Williams [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 17, 2006 12:20 PM
To: CF-Talk
Subject: Re: OOD/Design Patterns and ColdFusion.


Correct Andy. Calling the set method would only do whatever the code within
those <cffunction></cffunction> tags tells it to. Usually a setAddress(
Form.Address) call simply updates the data which is in the variables (or
variables.instance) scope of the component (object) the set method is in.

To update the database, somewhere in your code you would have to explicitly
call the update function of a Data Access Object (DAO).

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:240781
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to