Welcome Guest, Not a member yet? Register   Sign In
Controller code.. your opinion?
#7

[eluser]SitesByJoe[/eluser]
Method A. No one has mentioned this, but using style A allows for very exact naming in both your functions and your urls if that matters.

Using style A as it is above, you can have nice clean urls like:

http://mydomain.com/users
http://mydomain.com/users/add
http://mydomain.com/users/edit
http://mydomain.com/users/delete

You get the idea. Using your imagination a little, CI becomes one heck of a search engine optimization tool since it allows you to craft how your urls will appear.


Messages In This Thread
Controller code.. your opinion? - by El Forum - 10-16-2008, 09:31 AM
Controller code.. your opinion? - by El Forum - 10-16-2008, 09:39 AM
Controller code.. your opinion? - by El Forum - 10-16-2008, 11:39 AM
Controller code.. your opinion? - by El Forum - 10-16-2008, 12:03 PM
Controller code.. your opinion? - by El Forum - 10-16-2008, 02:54 PM
Controller code.. your opinion? - by El Forum - 10-16-2008, 10:15 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 10:29 AM
Controller code.. your opinion? - by El Forum - 10-17-2008, 03:43 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 04:24 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 04:40 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 04:43 PM
Controller code.. your opinion? - by El Forum - 10-17-2008, 05:50 PM
Controller code.. your opinion? - by El Forum - 10-21-2008, 01:50 AM
Controller code.. your opinion? - by El Forum - 10-21-2008, 03:26 AM
Controller code.. your opinion? - by El Forum - 10-21-2008, 07:42 AM
Controller code.. your opinion? - by El Forum - 10-21-2008, 08:15 AM



Theme © iAndrew 2016 - Forum software by © MyBB