This content has been marked as final. Show 3 replies
So, is it possible to create cold fusion code that connects to a oracle
database, and then package it and pop it on a server that doesn't have a
cold fusion server on it?
Make my day!
Potentially if the server has a compatible J2EE server (JRun, WebSphere,
ect.) or possible Blue Dragon. But otherwise, No. You must have
ColdFusion installed to run CFML, but it does not have to be installed
on the same server as the code.
Might be a question for ASP or PHP developers. In ColdFusion, I'd look at CFHTTP as a way of getting info from another server and integrating it into my CF page. If there is a similar command in ASP or PHP, you could incorporate these as server side includes on your html pages, going to your CF server to run the database query and return the results.
Copy all of the files to a suitable CF server* immediately.
Then on the original server, setup the web server (Apache or IIS) to 307 redirect** all traffic to the CF server.
The CF server then handles all processing with no more involvement by the original server.
The user's links and view of the site are unaffected.
When the final server is ready, remove the 307 redirect.
* The CF server must be publicly visible and capable of handling the site's traffic.
** A 307 redirect is the "temporarily moved" redirect. Similar to the 301 but does not alter the user's perception of the site.