Tom Molesworth

NAME

EntityModel::Web - website support for EntityModel

VERSION

version 0.004

SYNOPSIS

DESCRIPTION

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:

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'
  ]
 ]

METHODS

register

Registers this module as a plugin with the EntityModel main classes.

page_from_uri

SEE ALSO

There are plenty of other Perl web frameworks out there, here's a partial list:

AUTHOR

Tom Molesworth <cpan@entitymodel.com>

LICENSE

Copyright Tom Molesworth 2009-2011. Licensed under the same terms as Perl itself.