Interview Question in SQL Server Indexing


 

Interview Question :: What should the file type be for a webpage moving from a coldfusion server to an unknown server


I have never moved a webpage from one host server to the next or needed to switch programming environments so I have many questions regarding how to do this. I am not a developer so please be don't be upset that I might be asking odd questions or using incorrect terminology- I am trying to learn what I need to do here.

I have a website with 4 pages currently being built on a server that runs coldfusion. I need to hook up one of the pages to a SQL database and another needs to be a form. The way that webpages normally do this on the current server are coldfusion includes.

But this site will soon be moving from this host to an outside source and I do not think the server will be running coldfusion.

Right now my page are titled like this: index.cfm or help.cfm

Every page on this server (thousands of them) have the cfm suffix so that is why i have been using the cfm suffix on my new pages thoguh they are not yet dynamic. Can I use the cfm suffix on servers that don't run coldfusion, even if the page doesn't actually have any coldfusion code?

Maybe if the pages don't have any coldfusion the can simply have the .htm suffix...but I will still need to have at least two pages that have some sort of dynamic coding - so will those pages need the correct suffix? If the new host is using ASP - will my two dynamic pages need .asp suffixes and the other pages are .htm?

Can you mix suffixes on one site?
Answers to "What should the file type be for a webpage moving from a coldfusion server to an unknown server"
RE: What should the file type be for a webpage moving from a coldfusion server to an unknown server?

What language do I speak, in order to be understood, to a person whose language I'm unaware of? That's what you're asking. You first have to find out what server-side language the new server supports. If it's a Windows server, ASP is a good guess, if it's Linux, PHP is a good guess. But they're guesses - before you waste all the time and effort, ask.



BTW, it's not just changing the suffix - if you change a .cfm file to .php, you'll just throw a lot of errors - you have to rewrite the CF code to PHP code. (Changing the title of a document from English to French doesn't make it a French document.)
 
Vote for this answer ::  
Update Alert Setting