* * * * * More experienced django developers: please correct me if I am wrong. * * * * * *
>From my point of view, in terms of django, your graphic would look like the following: request ---> views ---> model ---> template ---> response | ^ |---------------------------------| Wouldn't it ? Why not ? Thanks Roberto 2010/10/13 Jonathan Barratt <jonathan.barr...@knifeict.com> > On 13 ?.?. 2010, at 18:51, refreegrata wrote: > > > I have some questions. > > First off, I don't think you should be making a distinction of mtv against > mvc. Django is mvc, there's no need, IMO, to describe it differently as an > mtv -- model, template, view are just names for elements which Django uses > to build an MVC framework. > > > difference between : views in mtv and controllers in mvc, > > IMHO, the controller, in both cases, is the user's browser. That's what > lets them interact with the view you present and send input back to your > model for processing. But others with more knowledge of Django than me may > present you with a less simplistic description than this (e.g. some > controller work is done in view functions). > > > difference between : templates in mtv and views in mvc, > > As Tom Evans put it so well, templates are just a sublayer of MVC views. > Django's view methods, and templates should you use them, are its > implementation of the View component in MVC. > > 0.02, > Jonathan > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.