Exactly what I meant, but put much more elegantly!

Rich Kroll

> -----Original Message-----
> From: Brian Kotek [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 10, 2007 11:53 AM
> To: CF-Talk
> Subject: Re: CFC Composition and/or Extention
> 
> I would do something similar as well (though just make sure to purge it
> back
> out if something goes wrong in the rest of the transaction, since you'll
> probably be returning the object back to the view for use in displaying
> the
> data they entered into the form and you don't want it to have the wrong
> ID).
> Which means, of course, make sure this whole process is wrapped in a
> cftransaction block so that it succeeds or fails as a single unit. The
> service layer is often a good place for transaction logic since it usually
> applies to multiple domain objects at once.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Check out the new features and enhancements in the
latest product release - download the "What's New PDF" now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290781
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to