[Redback-devel] (no subject)
Status: Pre-Alpha
Brought to you by:
x3ro
From: Joshua M. <jo...@mi...> - 2004-04-16 06:08:06
|
Here is my current dilemma: I am a bit unsure about the way the Site object is currently generating URIs. At the moment they look something like: http://example.com/doc/node/423/virtual.html ... or with a little more info (say, style info) they could look like: http://example.com/doc/node/423/style/58/virtual.html Now although this is good in that it doesn't show the technologies used (i.e. PHP) it is, according to an article (which I'll be damned if I can find again), bad in that it shows too much about the workings of the database (the IDs of the nodes) and too little about the content. So perhaps better would be to use: http://example.com/doc/all-about-fish/ ... and then styling information could be more explicit, eg: http://example.com/doc/all-about-fish/style/blue-theme/ Of course this leads to naming conflicts, dealing with stupidly named nodes, etc ... I guess we could implement validation (based on unique-nes= s and absence of URL-friendly characters) and/or conversion of problemetica= l characters (urlencode(), maybe). It'll be good if we get this sorted before we try to host the homepage on redback. Thoughts? |