I'd pick #4:
4) only do data access within CFCs, and use ColdSpring to wire the DSN
into any beans that need it.
But that's not really an "upgrade" kind of approach, in which case I'd
go with #3, moving as much as possible to application.dsn, and then
trying to start down the path of #4 as much a
I am converting Application.cfm to Application.cfc in a CF5 site that
is now running under CFMX7. The Application.cfm uses request.dsn to
define the data source. For Application.cfc, I have three choices:
1. Define request.dsn in OnRequestStart
2. Define request.dsn at the top of Application.cfc,
2 matches
Mail list logo