Hi,

I've just started using Cake and so far I'm quite impressed. I've
dabbled with a couple of PHP frameworks but this is the first that I've
gone so far as to begin building a real-world application with.

The app I'm building need to connect to a legacy database using ODBC.
The app itself stores its data in a MySQL database, and that was nice
and easy to configure, but now I want to create and use another
database connection inside one method of a QueriesController I've
written.

I could just use odbc_connect and do it all by hand, but if there are
any advantages to having Cake manage the connection for me then I'd
like to know what those are and how to create and use the connection.
I've taken a quick look at the API, but some of the documentation,
although present, is a little lacking and I don't have time to delve
deep into the code.

Can anyone help me out? Should I just manage the connection myself or
will I benefit from using Cake's DB API? How do I go about establishing
and using a Cake DB connection manually?

Cheers,

Richard.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to