Skip to content
This repository was archived by the owner on Feb 7, 2020. It is now read-only.
botanicus edited this page Sep 13, 2010 · 16 revisions

This page is up to date for Rango 0.1.

You Are Referring View As a Template and an Action in Controller As View?

Yes, it’s true. This terms cames from Django and I think it’s good idea to use it because then you have name for a public method in a controller which is routed to certain URL.

View in Django is a function which handle the request, not the HTML, which is called template. Django hasn’t controller, it use just functions defined usually in views.py. Rango has controllers, because it provides functions as before filters or just enable you to namespace the views. So in Rango, controller is class which contains the views.

Clone this wiki locally