Welcome Guest, Not a member yet? Register   Sign In
A more-useful uri_to_assoc
#15

[eluser]xwero[/eluser]
Even with a very large app you can make non repeating urls. The idea of the segmented urls is to make them human friendly, humans only repeat themselves if they think it's needed.

Developers are taught to think of meaningful class and method names and you are suggesting to make urls confusing. If the controller is search you could name the parameter query. And the url you shown looks more like a the the mistake (double the). Elegant doesn't have to stand in the way of bug free.

If every function covers every base i think you will have very complex functions, where functions are supposed to be as simple as possible to make the app as light as possible. If you think like that you aren't going to use CI as many (all?) of the libraries have bases they don't cover.


Messages In This Thread
A more-useful uri_to_assoc - by El Forum - 04-24-2009, 03:34 PM
A more-useful uri_to_assoc - by El Forum - 04-24-2009, 05:18 PM
A more-useful uri_to_assoc - by El Forum - 04-24-2009, 08:59 PM
A more-useful uri_to_assoc - by El Forum - 04-24-2009, 09:28 PM
A more-useful uri_to_assoc - by El Forum - 05-17-2009, 12:19 PM
A more-useful uri_to_assoc - by El Forum - 05-17-2009, 02:56 PM
A more-useful uri_to_assoc - by El Forum - 05-17-2009, 03:09 PM
A more-useful uri_to_assoc - by El Forum - 05-17-2009, 04:18 PM
A more-useful uri_to_assoc - by El Forum - 05-17-2009, 04:46 PM
A more-useful uri_to_assoc - by El Forum - 05-17-2009, 06:37 PM
A more-useful uri_to_assoc - by El Forum - 05-21-2009, 01:14 PM
A more-useful uri_to_assoc - by El Forum - 06-04-2009, 02:52 PM
A more-useful uri_to_assoc - by El Forum - 06-04-2009, 03:23 PM
A more-useful uri_to_assoc - by El Forum - 06-04-2009, 03:38 PM
A more-useful uri_to_assoc - by El Forum - 06-04-2009, 04:21 PM
A more-useful uri_to_assoc - by El Forum - 06-04-2009, 04:31 PM
A more-useful uri_to_assoc - by El Forum - 06-04-2009, 04:46 PM
A more-useful uri_to_assoc - by El Forum - 06-05-2009, 12:50 AM
A more-useful uri_to_assoc - by El Forum - 07-10-2009, 10:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB