engine.view — View of MVC

Warning

This package is not documented yet.

A view can be any output representation of information, such as a chart or a diagram. <Wikipedia>

Here is a view example:

from dp_tornado.engine.controller import Controller

class FooBarController(Controller):
    def get(self):
        self.render('index.html')
class dp_tornado.engine.view.Dummy[source]

Bases: object

class dp_tornado.engine.view.View[source]

Bases: dp_tornado.engine.singleton.Singleton

static finish(controller, chunk=None)[source]
static render(controller, template_name, kwargs=None)[source]
static render_string(controller, template_name, kwargs=None, encode=True)[source]
static write(controller, chunk)[source]