> Didn't quite understand the INI suggestion (Raymond Camden)

CF has the ability to read ini files, which are standard (on Windows)
file formats that look kinda like this

[sectionA]
settingOne=foo
settingTwo=goo

[sectionB]
Etc

XML files are probably preferable, but ini files are easy enough to
read, and again, easy to use in CF. No need to read/parse the file, just
tell CF to grab setting X from section Foo in file X.

> Is it recommendable to put CFCs in the application scope? 
> (Barney Boisvert) how will things work when using: <cfset 
> application.myCFC = createObject(...) /> 
> <cfset application.myCFC.init(application.dsn) /> 

In general, I'd put the CFCs in cache just so you don't have to
constantly recreate them everytime you need to use them. Once in the
application scope, they don't act any different from any other
application scope var.

========================================================================
===
Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc
(www.mindseye.com)
Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia)

Email    : [EMAIL PROTECTED]
Blog     : www.camdenfamily.com/morpheus/blog
Yahoo IM : morpheus

"My ally is the Force, and a powerful ally it is." - Yoda 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com

Reply via email to