App-Context

 view release on metacpan or  search on metacpan

lib/App/Context/NetServer.pm  view on Meta::CPAN

    $context->dispatch_events();

=cut

#  conf_file         "filename"               undef
#
#  log_level         0-4                      2
#  log_file          (filename|Sys::Syslog)   undef
#
#  ## syslog parameters
#  syslog_logsock    (unix|inet)              unix
#  syslog_ident      "identity"               "net_server"
#  syslog_logopt     (cons|ndelay|nowait|pid) pid
#  syslog_facility   \w+                      daemon
#
#  port              \d+                      20203
#  host              "host"                   "*"
#  proto             (tcp|udp|unix)           "tcp"
#  listen            \d+                      SOMAXCONN
#
#  reverse_lookups   1                        undef
#  allow             /regex/                  none
#  deny              /regex/                  none
#
#  ## daemonization parameters
#  pid_file          "filename"               undef
#  chroot            "directory"              undef
#  user              (uid|username)           "nobody"

lib/App/Documentation.pm  view on Meta::CPAN

$VERSION = (q$Revision: 0 $ =~ /(\d[\d\.]*)/)[0];  # VERSION numbers generated by cvs

use strict;

=head1 NAME

App::Documentation - Documentation for developing, installing, and administering applications in Perl

=head1 SYNOPSIS

    (for "man" below, you can substitute "perldoc" instead if on non Unix platform)
    man App::faq                  # frequently asked questions
    man App::devguide             # a developer's guide
    man App::installguide         # an installer's guide
    man App::installguide::win32  # an installer's guide (issues specific to Win32)
    man App::adminguide           # an administrator's guide
    man App::adminguide::cvs      # an administrator's guide (CVS issues)
    man App::perlstyle            # a perl style guide
    man App::datetime             # understanding date/time handling in Perl
    man App::exceptions           # understanding exception handling in Perl

lib/App/ResourceLocker/IPCLocker.pm  view on Meta::CPAN

of shared resources such as are stored in a SharedDatastore.

 * Throws: App::Exception::ResourceLocker
 * Since:  0.01

The ResourceLocker may be configured with the following parameters, which govern
all locks accessed in the ResourceLocker (as per IPC::Locker).

    family      IPC (fifo) family to communicate with the lock server
                INET: use TCP/IP networking
                UNIX: use Unix named pipes (created with "mknod p /path/to/fifo")
                default: INET
    host        default: localhost (only needed for INET family)
    port        default for INET: 1751 (or as defined in /etc/services for "lockerd")
                default for UNIX: /var/locks/lockerd
    timeout     Time at which the server will release the lock if not explicitly
                unlocked by then
                default: 600 sec (10 min) (0 is "unlimited")
    autounlock  Allow the locker daemon to break the lock if the locking process
                is no longer running. (Note that there is an implicit promise
                that the locking process is running on the same server as the

lib/App/ResourceLocker/IPCSemaphore.pm  view on Meta::CPAN

=head1 Class: App::ResourceLocker::IPCSemaphore

A ResourceLocker service represents a collection of "advisory"
(or "cooperative") resource locks. 
These can be used to synchronize access to and modification
of shared resources such as are stored in a SharedDatastore.

 * Throws: App::Exception::ResourceLocker
 * Since:  0.01

Generally speaking, this module only works on Unix platforms, because they
support the System V semaphore API on which the IPC::Semaphore module
is built.

The ResourceLocker may be configured with the following parameters, which
govern all locks accessed in the ResourceLocker (as per IPC::Semaphore).

    semkey      an 8-digit hex key (i.e. 0x1234FA78) uniquely identifying the
                semaphore set (or may be "private", not shared with any other
                processes, useful only for multi-threaded applications).
                If the ResourceLocker needs more than one semaphore set,

lib/App/installguide.pod  view on Meta::CPAN


=head1 SET UP THE ENVIRONMENT

You could just install all of the software into "/usr/local" or
wherever your Perl is installed.  In that case, skip this section.

If however, you are setting up a development environment, or
if you wish to install multiple versions of the App software,
it is advisable you choose an approach as follows.

=head2 Set Up a Development Environment (Unix)

Choose a directory that will be the base of all App
environments (i.e. /usr/mycompany, any base directory will do).

  /usr/mycompany

Create a subdirectory for each separate developer/tester.
You may wish to choose groups rather than users (i.e. "devel", "qagroup").
(In this case, you would have several developers working in
one directory tree.  This may cause more conflicts between

lib/App/installguide.pod.ota  view on Meta::CPAN

This is the Installation Guide to the Business-Travel-OTA distribution
the Microsoft Windows platform.
You can find out more background to the project on the web.

  http://search.cpan.org/~spadkins/Business-Travel-OTA/lib/Business/Travel/OTA.pm
  http://search.cpan.org/~spadkins/Business-Travel-OTA
  http://sourceforge.net/projects/ota-tools
  http://www.opentravel.org 

This will describe how to get
up and running (for demonstration or development purposes) on a Unix/Linux system.

These instructions assume that your system is connected to the Internet.

=head1 SET UP THE ENVIRONMENT

You could just install all of the software into "/usr/local", or "/usr", or
wherever your Perl is installed.  In that case, skip this section.

If however, you are setting up a development environment, or
if you wish to install multiple versions of the App software,

lib/App/installguide/win32.pod  view on Meta::CPAN

the Microsoft Windows platform.  The emphasis is on web and database applications
in Perl.

This document is motivated by helping people install the
App-Context Framework (comprised of
App-Context, App-Options, App-Repository, and App-Widget).
However, most of the information here is useful regardless of what Perl modules
you are installing.

You should also read through the general Installation Guide (App::installguide) and
understand how the software would be installed on Unix/Linux
before consulting this specialized Win32 guide. 

This guide will predominantly focus on how to get
up and running on a plain vanilla Windows system
for demonstration or development purposes.
The focus here is not on optimized server installation on Windows
servers, although the instructions may still be useful.

These instructions assume that your PC is connected to the
Internet.

lib/App/quickstart.pod  view on Meta::CPAN

=back

The following documentation is in a state that needs review, modification, or completion.
 
=over

=item * L<App::perlstyle> - A perl style guide that builds minimally on L<perlstyle>.

=item * L<App::faq> - Questions about P5EE.

=item * L<App::installguide> - Installing the App::Context Framework on Unix.

=item * L<App::installguide::win32> - Installing the App::Context Framework on Windows.

=item * L<App::devguide> - Developers' Guide.

=item * L<App::devguide> - Developers' Guide.

=item * L<App::adminguide> - Administrators' Guide.

=item * L<App::adminguide::cvs> - Admin Guide, setting up CVS source control.



( run in 2.089 seconds using v1.01-cache-2.11-cpan-64ef6c95b5d )