The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Yote::AppRoot - Application Server Base Objects

SYNOPSIS

Extend this class to make an application, and fill it with methods that you want for your application.

DESCRIPTION

Each Web Application has a single container object as the entry point to that object which is an instance of the Yote::AppRoot class. A Yote::AppRoot extends Yote::Obj and provides some class methods and the following stub methods.

Client Methods

Clients automatically call the following methods on an application or the Yote Root application /

create_account
login
verify_token
remove_account
reset_password

CLASS METHODS

_fetch_root - returns the master root object.

The master root object contains all web application roots. It is an AppRoot object.

Returns the root object. This is always object 1 for the App Server.

STUB METHODS

init - called the first time this root is created. Initializes account root.

INSTANCE METHODS

_account_root( login ) - Returns an account object associated with a login object.

The account root is there to store information specific to the account in question. It could include documents specific to the account or games the account is participating in. This is distinct from the login object itself, though there is a one to one mapping between the account root and the login.

AUTHOR

Eric Wolf

LICENSE AND COPYRIGHT

Copyright (C) 2011 Eric Wolf

This module is free software; it can be used under the same terms as perl itself.