From: Matthew M. <ma...@tu...> - 2004-11-04 15:35:09
|
Yea I am responding to my own email. I don't think you can get around having a static word (like index) to make sure that file gets called. Anyway, looking back at mod_rewrite, (which lets me dump index btw) I can do this: http://site.com/blog/view/2 This assumes 1) the first variable is the module 2) the second is the 'action' 3) the last is the 'id' Not using mod_rewrite, I could probably do this: http://site.com/index/blog/view/2 I kept the 'view' in because, again, I think people might need more flexibility. Under what I proposed earlier: http://site.com/index/blog/action/view/id/2 Not too bad. I guess the question I'm asking is how many variables do we want to force? We could state that developers have to plan around using an value with the 'action' key and the final variable is always an id with the same key name. Or we can stretch it out to the third example allowing more flexibility. Or we can stick with mod_rewrite. What does everyone think? Which as a developer would you prefer? Let me know so I can put this to bed. Thanks Matt -- Matthew McNaney Internet Systems Architect Electronic Student Services Appalachian State University Phone: 828-262-6493 http://phpwebsite.appstate.edu http://ess.appstate.edu |