Ed Singleton wrote:
> pluralise "model" to "models", so that it matches "controllers" and
> "views/templates"


I am no MVC expert, but pluralizing "model" sounds a bit weird. A
controller.py method is called "a controller", and we can also call a
template "a view"... but I have never heard a single class being
referred to as "a model". Rather, we say "the model", and by that we
mean the whole domain layer. Again I am no expert, but this seems to be
confirmed by this wikipedia article:
http://en.wikipedia.org/wiki/Model-view-controller

So my guess is: we are trying to introduce the term "view" to stick
more to the MVC pattern. Pluralizing "model" would on the other hand be
a break away from the MVC terms usage. So "model" should stay singular.


-- 
Yves-Eric


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to