Ryan,

It is easy to add support for a database. I found the info I needed by
examining those two files for other databases. If you add a new
database, I recommend adding it to one of the sample applications - it
helped me find a few bugs. 

Good luck!

Beth Bowden

Phone: 919-541-3355 FAX: 919-541-3687
E-Mail: [EMAIL PROTECTED]
Address: NIEHS, MD EC-03, P.O. BOX 12233, Research Triangle Park, NC
27709


-----Original Message-----
From: Sean Corfield [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 13, 2006 2:40 PM
To: [email protected]
Subject: Re: [Reactor For CF] What does it take to support a new
database?

On 3/13/06, Ryan Guill <[EMAIL PROTECTED]> wrote:
> My main question is what would it take to support a new database.

Look in the reactor.data directory. There's a sub-directory for each
database type, containing two CFCs:
- Convention.cfc - defines naming / escaping conventions etc
- ObjectDao.cfc - code to introspect the database

There isn't much documentation for any of this but I built the mysql4
support from the mysql (5) files and Oracle support is coming real
soon (from Beth). I believe Doug is working on some DB2 support.

Good to meet you at cf.Objective() !!
--
Sean A Corfield -- http://corfield.org/
Got frameworks?

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

 

-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/




-- Reactor for ColdFusion Mailing List -- [email protected]
-- Archives at http://www.mail-archive.com/reactor%40doughughes.net/


Reply via email to