UI enabled URLS with built-in "cache"
Posted: Thu Jan 23, 2003 1:58 pm
Ok, got this idea and wonder whats wrong with it (I mean I'm average smart not a genius, so why hasn't anyone allready done this, or if it's done, please direct me to that place...)
No mather in what way you generate your "pages" (template, db-back-end, etc) you could use this; the idea is this:
- configure your server to use a php-script as the 404-document (thus this solution is server independent, although possibly not usable for free-hosted-sites)
- design a URL-schema and prepare to generate "pages" acoording to this;
ps. it also scales beautifully to multilingual sites thus requesting:
example.com/produkter/hÄrdvara/grafik/geforce3 would generate the swedish version of the "page"
No mather in what way you generate your "pages" (template, db-back-end, etc) you could use this; the idea is this:
- configure your server to use a php-script as the 404-document (thus this solution is server independent, although possibly not usable for free-hosted-sites)
- design a URL-schema and prepare to generate "pages" acoording to this;
Thats it, what do you think?example:
example.com/products/hardware/graphics/geforce3
would, the first time (or if the "page" has expired) generate the file:
example.com/products/hardware/graphics/geforce3/index.php
and then show the contents of this file; the following times this file is requested it's allready there! (throw in some; time-out function in the top of the document, and possibly some banner rotating-function or some other small(?) dynamic content function; and your done)
ps. it also scales beautifully to multilingual sites thus requesting:
example.com/produkter/hÄrdvara/grafik/geforce3 would generate the swedish version of the "page"