Web Page Info

andrewbc

Moderator
Hi

Just wondering if someone can explain the difference between web pages with the extensions .php and .asp compared to the htm and html.

I have a simple web site and all extensions are in .htm but i have noticed that more and more websites are changing over to these extensions.

Can anybody give me some feedback.
 
First off, .htm and .html are exactly the same if you didn't already know that. .php, .asp and .shtml are all ways of enhancing a regular .html page with commands that cause the server to insert files at various points, fetch parts of the page from a database, perform computations and so on.
 
ASP is a technology that enables you to make dynamic and interactive web pages. ASP uses server-side scripting to dynamically produce web pages that are not affected by the type of browser the web site visitor is using. http://www.asp.net/

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.http://www.php.net

Most developers choose to develop in one or the other. I prefer PHP mainly due to low cost, fast development time, broad developer community support options and its tighter integration with MySQL. Totalbowling uses PHP and MySQL (and some javascripting to assist with forms).

You'll find debates about the merits of each all over the web.

For more - http://marty.anstey.ca/programming/php_asp.html
 
Back
Top Bottom