> In the out put file, it writes all the information to a database. Would
> it be better to put the cfmail part in the output file?

Hi Johnny, in a case like this I would suggest doing whatever feels
best for you.  One benefit of moving it might be to send the e-mail
after the user has been inserted into the database so if there are
errors during that part of the process the e-mail won't be triggered
until after the user has actually been created.  Architectural issues
like this are best addressed by either using a framework which imposes
those rules for you, or simply choosing a path and sticking with it
and staying consistent (while that 'rule' makes sense, anyway).  If
you choose a path and keep consistent, your future self will thank you
when you have to go back and modify or do maintenance on existing code
since it will all look/feel the same.


-Justin

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5767
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to