|
|
|
|
|
by trb
5317 days ago
|
|
Sounds similar to the Pyramid web framework for Python, which skips controllers too: http://docs.pylonsproject.org/projects/pyramid/en/1.2-branch... I prefer this approach over the usual web-mvc. It's important to note that a view is not a template, but something that generates output. In Pyramid, it's usually a function that passes data to the template (which generates html) or produces JSON from native types. |
|
I'm reminded of the old Microsoft Foundation Classes with their Document-Object model that lacked a controller. Their promise was that you could reuse views and documents but in practice the lack of a controller to handle user input meant you never could. At least, I never could.