| App::TemplateServer::Provider - role that a Provider should consume |
App::TemplateServer::Provider - role that a Provider should consume
Template systems are interfaced with App::TemplateServer with this role. The template server will call the methods required by this role to provider its functionality.
You need to implement these:
Returns a list of strings representing template names.
Return the rendered text of the template named by $template. If
$template can't be rendered, throw an exception. $context is
the App::TemplateServer::Context
object for the request.
the App::TemplateServer::Provider::Filesystem manpage - a role that provides some useful defaults for fs-based templating systems like TT or Mason.
the App::TemplateServer::Provider::TT manpage - a TT provider
the App::TemplateServer::Provider::Null manpage - a boring example provider
| App::TemplateServer::Provider - role that a Provider should consume |