Welcome Guest, Not a member yet? Register   Sign In
The Controlller and Model same filename -> wrong ?
#14

[eluser]Colin Williams[/eluser]
Wow, jedd. Sounds like you jump through a lot of weird, theoretically-supported hoops just to avoid a simple naming clash. Your conclusions, such as "Controllers are your user-facing component" and "Models are your interface to your data," are inclusive with regards to the existence of naming clashes.

I say stop trying to convince yourself that "People" is a better Controller-class name for users, and "User" is a better Model-class name for users, and just append "_model" to your Model, if for only the simple and obvious reason being that you don't want to do cartwheels with your routes because the Model class name is so damned precious and vital that it can't be bullied by suffixes.


Messages In This Thread
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 03:48 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 04:04 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 04:21 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 06:30 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 06:39 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 06:54 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 07:04 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 07:10 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 07:25 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 08:24 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 04-08-2009, 09:13 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-10-2009, 01:42 PM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-10-2009, 01:58 PM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-10-2009, 02:15 PM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-10-2009, 05:45 PM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 01:38 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 07:51 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 08:10 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 08:33 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 08:45 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 08:55 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 09:04 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 09:14 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 09:26 AM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 12:28 PM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 01:19 PM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-11-2009, 04:47 PM
The Controlller and Model same filename -> wrong ? - by El Forum - 05-12-2009, 10:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB