NAME

Site - Perl modules to help ease site development,
especially SQL-driven site development


SYNOPSIS

  use Site::CrashNotify ( to => 'you@localhost' );
  use Site::Page;
  use Site::Template;
  use Site::SQLTable;
  use Site::SQLForm;


DESCRIPTION

You really should just perldoc the above modules, but here's a quick overview:

Site::CrashNotify

The CrashNotify module sets up a SIGDIE handler so that when a script crashes, not only does the user get a nice ``Internal Server Error'', while you get a log entry, but the script will also send an email notification of the error including the actual error, page arguments passed in from CGI, and the contents of $::ENV.

Site::Page

Bundled page handling, includes standard header/footer, sessions via cookies and tie(), and it's good to inherit from in projects so you can incorporate user permissions and stuff in to it.

Site::Template

The backbone of most of the package, handles template based pages or sections of pages. Can do loops, contitions, pre-processed cache files, autoescapes, substitutions, custom escapes and other stuff.

Also used to generate forms and tables by the SQLForms and SQLTables modules and to customize those tables and forms.

Site::SQLTable

Displays tables of SQL data. SQLObjects can be directly converted to tables. Also handles next/last, sorting by columns, page numbering, etc with very little fuss. Tables can be modified by creating custom templates.

Site::SQLForm

Like the SQLTable SQLObjects can be directly bound to forms. Handles add/edit/delete of record by pkey, auto-escaping data, and can also be bound to templates to change the look/feel of the forms.


AUTHOR

Copyright (c) 2001 Steve Slaven <bpk@hoopajoo.net> All rights reserved.

This program is free software and is provided ``as is'' without express or implied warranty. You can redistribute it and/or modify it under the same terms as Perl itself.


SEE ALSO

perl(1).