Metaclass facilitation the creation of modular page views
Param: | smo.web.router.ViewRouter router: a router instance with which the view is registered |
---|
This class creates a global registry of pages. Web pages register with an instance (router) using the @registerView decorator, and can be served when requested (from router.pages)
Parameters: | name (str) – the name of the router, used as part of the name for the page URL: http::/hostname/routerName/pageName |
---|
Global registry of routers