NAME

Apache::Chameleon

ABSTRACT

Apache handler for Apache::Chameleon.

SYNOPSIS

Copy chameleon.conf and startup.pl to your Apache configuration directory ($APACHE_ROOT/conf/).

Put the following into your httpd.conf

include chameleon.conf

Edit chameleon.conf to suit your needs, specifically the database connection variables.

DESCRIPTION

Apache::Chameleon is an application framework for customisable multi-user websites.

METHODS

handler

Apache handler.

_request

Get/set request object

_status

Get/set the HTTP return status.

_user

Get/set the current user

_document

Get/set document processor object

_init

Initialisation sequence.

_parameters

Get/set parameter object

_setup_log

Sets up Apache logging.

Loglevels: EMERG ALERT CRIT ERR WARNING NOTICE INFO DEBUG

_setup_database

Global database setup. Instantiates Apache::Chameleon::Database::Base object.

Uses Apache config file parameters 'dbconn', 'dbuser' and 'dbpass'.

_setup_parameters

Sets up parameters for untainting.

send_response

Sends response and debugging info.

_send_headers

Sends HTTP content type and headers.

TODO

Below is a list of things that need done.

  • Automated tests!

  • Code refactoring.

  • Movable side panels.

  • Make it more usable.

  • Add some themes.

  • Colour schemes.

  • Documentation.

  • Proper installation client.

AVAILABILITY

Available for download from CPAN http://www.cpan.org/ or from http://russell.matbouli.org/code/chameleon/

AUTHOR

Russell Matbouli <chameleon-spam@russell.matbouli.org>

http://russell.matbouli.org

LICENSE

Distributed under GPL v2. See COPYING included with this distibution.

SEE ALSO

Apache

mod_perl

Template

Class::DBI

MySQL