The MojoRequestHandler is the basic RequestHandler class that you use in your application instead of the standard Tornado RequestHandler:
class pageHandler(MojoRequestHandler, MojoAuthMixin, SessionMixin_Sync):
#You don't need to use the Mixins, but they make life a lot easier.
def get(self):
#Do some cool stuff
self.render('login.html', error=None)
The MojoRequestHandler is the starting point of any request in Mojo, subclass this for every URL you want to serve in Mojo.
The MojoRequestHandler has some handy properties:
If you are using the MojoAuthMixin or SessionMixin, the request handlers expand with many more management functions to make life easier for the developer.