The advantage of an object is that we have multiple applications that all 
use this data. By putting it in an object, we can use the same data over 
multiple objects, and more importantly, we can store the default data 
outside the web root.

We certainly have a lot of code out there that does what you describe, too, 
though.

On 9/20/05, Michael Traher <[EMAIL PROTECTED]> wrote:
> 
> or
> <cfset application.dsn = mydsn>
> <cfset application.username = myusername>
> <cfset application.password = mypassword>
> 
> whether you read mydsn etc. from an init file, from XML, or maybe derive 
> it
> from the host name is subject to debate. However surely storing this data 
> in
> an object is just overly complicating something that can be simple?
> Mike T
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218689
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to