
Bryar::Frontend::Base - Base class for frontend classes

use base 'Bryar::Frontend::Base';
sub obtain_url {...}
sub obtain_path_info {...}
sub obtain_args {...}
sub send_data {...}
sub send_header {...}
sub get_header {...}

This abstracts the work of front-ending Bryar, to make real front-end classes tidier.

You provide these.
Returns the full URL for this page.
Returns the path info from the server: the part of the URL after bryar.cgi or whatever.
Returns a hash of CGI parameters.
Write stuff to the browser. This will only be called once.
Write stuff to the browser, first.
Read a HTTP header.
$self->output
Output the entire blog data to the browser
$self->report_error($title, $message)
Used when something went horribly wrong inside Bryar. Spits out the error in as friendly a way as possible to the browser.

This module is free software, and may be distributed under the same terms as Perl itself.

Copyright (C) 2003, Simon Cozens simon@kasei.com
some parts Copyright 2007 David Cantrell david@cantrell.org.uk
