You are here: Re: PHP-Yes, HTML-No --- Why? « PHP Programming Language « IT news, forums, messages
Re: PHP-Yes, HTML-No --- Why?

Posted by Gordon Burditt on 01/26/06 20:21

>It may be by design, but that doesn't mean it's necessarily good.

I believe it is possible with Apache to explicitly state the type
of each and every page without the use of *any* file extensions.
This gets cumbersome to maintain, though. Some people advocate it
because they want URLs that won't change with web server technology.
I'm not sure that matters for stuff that it's not reasonable to
bookmark or put in a search engine, like the current contents of
your shopping cart, or a page showing a product that will itself
obsolete and no longer be sold much faster than web server technology.

>Surely a dynamic web server should appear exactly the same as a static
>one - all files that contain HTML when viewed should be called .html.

And absolutely *NO* files should be called .htm, ever.

Why? MIME types are the way the server communicates to the browser
what the content is. Not file extensions.

And whether you like it or not, it *is* possible to have a page
that changes its type (as presented to the browser) based on the
results of the query (for instance, if there is a single result,
it's video, if there is not a single result, it's a page full of
choices of videos).

>If you want them called any number of things, then be my guest. I just
>happen to think presentation matters.

And what do file extensions have to do with presentation?

Gordon L. Burditt

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация