EntityModel::Web - website support for EntityModel
Support for EntityModel-backed websites. Currently an early preview release, so if you're looking for a good, production-quality web framework try something from the <L/SEE ALSO> list.
Accepts a definition for site + page hierarchy, and applies handlers as required to convert incoming requests into outgoing responses.
The following classes provide most of the key functionality:
EntityModel::Web::Request - abstraction for an incoming HTTP/HTTPS request, may be subclassed by the appropriate server layer.
EntityModel::Web::Response - abstraction for outgoing HTTP/HTTPS response
EntityModel::Web::Site - website definition
EntityModel::Web::Page - page definition, specfiying the handlers, templates, data and URL(s) for a specific page.
EntityModel::Web::Context - active request handler, includes everything appropriate for a single HTTP request.
EntityModel::Web::Authorization - support for authorization on a single request.
EntityModel::Web::Authentication - support for request authentication.
EntityModel::Web::Session - store and retrieve data between requests for a user session
Definitions are stored under the
web key as a list of sites:
web: [ host: something.com page: [ name: 'Index' path: '' pathtype: string title: 'Index page' ] ]
Registers this module as a plugin with the EntityModel main classes.
There are plenty of other Perl web frameworks out there, here's a partial list:
Tom Molesworth <firstname.lastname@example.org>
Copyright Tom Molesworth 2009-2011. Licensed under the same terms as Perl itself.