Default Controller |
[eluser]Chicken's Egg[/eluser]
[quote author="Michael Wales" date="1213004583"] Break yourself away from the thought that the controller and method names create your URL - they don't. Controllers and methods have absolutely nothing to do with your URL. Develop these names pragmatically. [/quote] Could you please explain this a little bit more to me or give some hints for further reading? If I read the user guide I get the idea that they do have something to do with each other as well. For example: www.mydomain/module/function/variable/. [quote author="Michael Wales" date="1213004583"] That's hideous - so I route for domain.com/walesmd [/quote] Doesn't that suppose that you <i>know</i> there is a user called walesmd? How should the code know for example that the url domain.com/news is not a user profile, but a question for the most recent newsposts on your website? |
Messages In This Thread |
Default Controller - by El Forum - 06-08-2008, 02:26 AM
Default Controller - by El Forum - 06-08-2008, 02:45 AM
Default Controller - by El Forum - 06-08-2008, 02:20 PM
Default Controller - by El Forum - 06-08-2008, 03:47 PM
Default Controller - by El Forum - 06-08-2008, 04:15 PM
Default Controller - by El Forum - 06-08-2008, 10:43 PM
Default Controller - by El Forum - 06-10-2008, 08:17 AM
Default Controller - by El Forum - 07-07-2008, 07:24 PM
Default Controller - by El Forum - 07-11-2008, 02:44 AM
|