I thought this was interesting. I was playing with the filetype operator in Google to see what how popular different technologies are. Here's how it came out: HTML - 7.35 billion (The champ.) PHP - 6.63 billion (Wow - free goes a long way.) HTM - 1.81 billion (html beats htm, who would have guessed?) Classic ASP - 1.67 billion (Why do dot neters hate classic? Over a billion pages can't be wrong.) ASP.NET - 1.44 billion (I wonder when it will overtake classic asp?) JSP - 563 million Cold Fusion - 348 million (Surprisingly low.) Flash - 93 million (Everybody loves animation...) PDF - 7.72 million (Good for printing...) JavaScript - 634 thousand (Why would google index any of these?) It's also kind of interesting to look at the top result for these queries... I know I left some out, but this is a pretty good snapshot of the web don't you think?
Some major sites often don't even have file extensions, or will make php look like .html with a simple rewrite. Hell once had a PHP site , using mod_rewrite had all the file extensions as aspx
Well, you may as well look at: The state of the computer book market http://radar.oreilly.com/2009/02/state-of-the-computer-book-mar-22.html Job comparison http://www.techtoolblog.com/archives/ruby-php-aspnet-job-comparison Professional studies http://blog.internetnews.com/skerner/2009/06/report-ruby-use-on-the-rise.html The TIOBE index http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
There are many sites which don't even use any file extension....as the technology keeps on changing,its one of the best practice....
I didn't do it, but I know of a client that did. The guy used to be a somewhat avid coder and thought having an asp.net hosting had a higher status symbol to it. I doubt most users care, and that its more developers and IT people that ever notice.
With Linux based servers being cheaper than Windows based equivelents, and rubbish support on Linux for classic ASP, and no support for ASP.NET, PHP will long remain top of the pile. The only surprise to me from those numbers was how high the ASP/.NET numbers were, I would have thought they would have been 100th of what PHP has, kudos to MS...
LOL! now that's a dozen more page to the 1 billion that ASP/.NET got.. . Perhaps some ASP/IIS users are also having their pages renamed to PHP? haha.. . go figure!
Once I had to turn all .html pages to .php. But didn't want to risk loosing all the incoming links. Solved the issue by having an .htaccess like this: RewriteEngine on RewriteRule ^(.*)\.html$ show.php?filex=$1 [NC] Code (markup):
IIS doesn't come with a mod_rewrite equivalent by default, and the only thing that supports mod_rewrite functionality directly for IIS is about 150$ per server. So more than likely a windows based server is gona show the correct extension.
Not even accurate. A lot of .html/.htm pages are dynamically generated on the fly by programming languages and masked with mod_rewrite. And a lot of PHP applications aren't using file extensions.