Why are views not called controllers?

69 views
Skip to first unread message

chyld....@gmail.com

unread,
Mar 6, 2009, 11:37:13 AM3/6/09
to Django users
I'm new to django, but have experience with asp.net mvc. In asp.net
mvc, controllers receive and process the request from the user and
then once the data is ready to present, it's handed off to a view. In
django a view receives and processes the request and then sends the
data to a template to render. Basically the same thing is happening
in both frameworks, but since django is using the model-view-
controller pattern, why are the controllers called views and the
templates called views?

Thanks,
-Chyld

Masklinn

unread,
Mar 6, 2009, 11:43:03 AM3/6/09
to django...@googlegroups.com

Karen Tracey

unread,
Mar 6, 2009, 11:43:49 AM3/6/09
to django...@googlegroups.com

Jacob Kaplan-Moss

unread,
Mar 6, 2009, 11:46:16 AM3/6/09
to django...@googlegroups.com

chyld....@gmail.com

unread,
Mar 6, 2009, 2:11:32 PM3/6/09
to Django users
Thanks Jacob. That was a good read. The point being don't get hung
up on acronyms, but if you are inclined to get hung up, you could call
django an MTV framework.

-Chyld


On Mar 6, 10:46 am, Jacob Kaplan-Moss <jacob.kaplanm...@gmail.com>
wrote:
> Also see:http://www.pointy-stick.com/blog/2008/11/30/removing-model-view-contr...
>
> Jacob
Reply all
Reply to author
Forward
0 new messages