I'm sorry. I dont think I explained this very well. My application
will be deployed as a separate install and I would like to have my
users be able to configure a XML file (e.g. settings.xml) vs. having
to document and explain how to use the OpenBD admin ui to set the
datasource and possibly more.
So I would like to set a datasource object containing all of the
datasource info and use that in my cfquery (e.g. <cfquery
datasource="#application.config.dsn# ...)
Thanks,
Charlie
<root>
<settings>
<db_host>mysql.server.com</db_host>
<db_user>root</db_user>
<db_pass>pass</db_pass>
</settings>
</root>
On May 19, 11:44 am, Matthew Woodward <[email protected]> wrote:
> On Wed, May 19, 2010 at 11:29 AM, Skellington <[email protected]> wrote:
> > This way I can store application specific info in a XML file that I
> > can vs. hard coding the info in the OpenBD admin console.
>
> Everything gets stored in bluedragon.xml even if you use the admin console,
> so there really isn't anything hard-coded in the admin console. All the
> admin console does is gives you a nice interface for information that
> ultimately winds up in bluedragon.xml.
>
> So it's clear, what this means is that if you want another instance of
> OpenBD to have the same settings as an existing instance, all you need to do
> is copy over your bluedragon.xml file.
> --
> Matthew Woodward
> [email protected]http://blog.mattwoodward.com
> identi.ca/Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.http://www.gnu.org/philosophy/no-word-attachments.html
>
> --
> Open BlueDragon Public Mailing List
> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
> mailing list -http://groups.google.com/group/openbd?hl=en
>
> !! save a network - please trim replies before posting !!
--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
mailing list - http://groups.google.com/group/openbd?hl=en
!! save a network - please trim replies before posting !!