Brett,
Does reactor work on CFMX 6.1?
Yes
How would we use reactor with mutliple DSN's? I saw that the DSN for reactor is configured in the reactor.xml file. Can we change the DSN programmatically?
It is an XML file that is called when you instantiate the factory. If you change the XML file and then call the reactor.xml again, you will have new configurations.
Can we set up rules for how reactor generates the name of it's classes. Our database schema makes a use of underscores in table and column names (emp salary table has an emp id column in it) Can we set up reactor to generate the classes as EmpSalary with getEmpId/setEmpId.
When you create a record factory for a table, Reactor generates the object code to modify each column of the database you are acccessing. If the table that you are updating has three columns, a getter and setter will be generated for each column automatically. It is what makes the Object Reltional mapping more efficient and portable than ad hoc queries and removes the repetitive nature of creating DAO code.
Hope that helps,
Teddy
On 6/3/06, Brett Deline (CDI) <[EMAIL PROTECTED]
> wrote:
I was impressed by Doug's Breeze presentation on Reactor enough to check it out in a little more depth. I know its still in Beta, but I'm intested in testing it out on one of my existing applications. Just as a background our application is in the ASP mold. We have a single set of webcode and each client we have has their own database. Each database schema is exactly the same for all of our clients. My questions are:
- Does reactor work on CFMX 6.1?
- How would we use reactor with mutliple DSN's? I saw that the DSN for reactor is configured in the reactor.xml file. Can we change the DSN programmatically?
- Can we set up rules for how reactor generates the name of it's classes. Our database schema makes a use of underscores in table and column names (emp salary table has an emp id column in it) Can we set up reactor to generate the classes as EmpSalary with getEmpId/setEmpId.
Thats all I have for now. Thanks in advance.
Brett
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
--
<cf_payne />
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
