Eric Wolf

NAME

Yote::AppRoot - Application Server Base Objects

SYNOPSIS

This object is meant to be extended to provide Yote apps.

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.

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.