[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

clean urls, without directory structures....not sure what its called.

taelor

7/31/2007 11:09:00 PM

I have just recently learned the practice of clean uri/urls, combined
with ruby's string manipulation is a great way to pass open/
insensitive data. right now i have just one page, that controls my
whole site, except for index files that just pass the directory that
its located in to the one page that controls the whole site based on
the url address.

I find myself having to write scripts to make directories and copy the
same index page over and over and over.

I think a more elegant solution would be to handle any uri/url without
having the directory structure below.

Now I do know that maybe I'm posting in the wrong place and should be
at the local web server forum, but it probably still has to do with
some sort of apache/ruby based configuration? Maybe in the Add
Handlers section?

I tried searching some things, but I couldn't come up with the name of
this design pattern, or which site I think used it.

Thanks for any help,
taelor