Re: Comparison of django MTV and MVC architecture

2016-04-17 Thread Scot Hacker
The Django docs have an FAQ on this topic:

https://docs.djangoproject.com/en/1.9/faq/general/#django-appears-to-be-a-mvc-framework-but-you-call-the-controller-the-view-and-the-view-the-template-how-come-you-don-t-use-the-standard-names

"Where does the “controller” fit in, then? In Django’s case, it’s probably 
the framework itself: the machinery that sends a request to the appropriate 
view, according to the Django URL configuration."

The rest of the FAQ is worth reading for further clarification.

./s


On Saturday, April 16, 2016 at 7:08:56 AM UTC-7, Mukul Chakravarty wrote:
>
> Can we say that views in MTV architecture is basically performing the 
> tasks of both Models and Controller in an MVC architecture like Rails ?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f3d4eb21-a827-4cc3-b3c8-fc65d98d4470%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Comparison of django MTV and MVC architecture

2016-04-17 Thread Avraham Serour
I have no idea what rails does with his life, but you can still understand
django under the MVC pattern: models are models, what django calls view is
the controller and the template is the view.


On Sat, Apr 16, 2016 at 4:10 PM, Mukul Chakravarty 
wrote:

> Can we say that views in MTV architecture is basically performing the
> tasks of both Models and Controller in an MVC architecture like Rails ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4c6ba552-4665-42c1-b072-61c92e9c12c9%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tK-EN3zW2kAs7JtTNgM7HxNYGiaKST8W6-Gy%3DsKR_o04w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.