Yote::WebAppServer - is a library used for creating prototype applications for the web.
my $server = new Yote::WebAppServer();
This starts an appslication server running on a specified port and hooked up to a specified datastore. Additional parameters are passed to the datastore.
The server set up uses Net::Server::Fork receiving and sending messages on multiple threads. These threads queue up the messages for a single threaded event loop to make things thread safe. Incomming requests can either wait for their message to be processed or return immediately.
Write the message to the access log
Checks items that are dirty and notes that in the inter process communications.
Return a 404 not found page and exit.
Write the message to the error log
Writes to an IO log for client server communications
Locks the given object id for use by this process only until it is unlocked.
Unlocks all objects locked by this process and notifies other processes
Unlocked items in the given list and notifices other processes.
Returns a new WebAppServer.
Sets up Initial database server and tables.
This implements Net::Server::HTTP and is called automatically for each incomming request.
Shuts down the yote server, saving all unsaved items.
Copyright (C) 2011 Eric Wolf
This module is free software; it can be used under the same terms as perl itself.