Search results for "distribution:ASP4 asp"
ASP4::API - Public Programmatic API to an ASP4 Application
"ASP4::API" is very useful for unit tests - specifically when writing tests for the actual web pages themselves. Example Unit Test #!/usr/bin/perl -w use strict; use warnings 'all'; use Test::More 'no_plan'; use ASP4::API; my $api = ASP4::API->new();...
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::Error - Representation of a server-side error
ASP4 provides a simple means of dealing with errors. It emails them, by default, to an email address you specify. Sometimes that is not convenient. Maybe you want to do something special with the error - like log it someplace special. ASP4::Error is ...
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::Server - Utility Methods
The $Server object provides some utility methods that don't really fit anywhere else, but are still important....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::ModPerl - mod_perl2 PerlResponseHandler for ASP4
"ASP4::ModPerl" provides a mod_perl2 PerlResponseHandler interface to ASP4::HTTPContext. Under normal circumstances, all you have to do is configure it and forget about it....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::Request - Interface to the incoming request
The intrinsic $Request object provides a few easy-to-use methods to simplify the processing of incoming requests - specifically file uploads and cookies....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::Response - Interface to the outgoing HTTP response
The $Response object offers a unified interface to send content back to the client....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::SimpleCGI - Basic CGI functionality
This package provides basic CGI functionality and is also used for testing and in the API enironment. "ASP4::SimpleCGI" uses HTTP::Body under the hood....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::UserAgent - Execute ASP4 requests without a web server.
Enables unit-testing ASP4 applications by providing the ability to execuite web pages from your code, without a webserver....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::MasterPage - Root class for MasterPage classes.
MasterPages provide a means of rich page composition. This means that instead of a tangle of server-side includes, you can actually take advantage of this new concept (came out decades ago) called "class inheritance" - and apply it to your web pages....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::Mock::Pool - Mimics the $r->pool APR::Pool object
This package mimics the APR::Pool object obtained via $r->pool in a normal mod_perl2 environment....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::FileUpload - Simple interface for handling File Uploads
This class provides a simple interface to uploaded files in ASP4....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::HTTPContext - Provides access to the intrinsic objects for an HTTP request.
The HTTPContext itself is the root of all request-processing in an ASP4 web application. There is only one ASP4::HTTPContext instance throughout the lifetime of a request....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::FormHandler - Base class for all form handlers
All ASP4 *.asp scripts and "/handlers/*" classes should inherit from "ASP4::FormHandler"....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::ConfigLoader - Universal access to the configuration.
This package solves the "How do I get my config?" problem most web applications end up with at some point. Config data is cached on a per-path basis. Paths are full - i.e. "/usr/local/projects/mysite.com/conf/asp4-config.json" - so there should never...
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::ErrorHandler - Default fatal error handler
This class provides a default error handler which does the following: 1) Makes a simple HTML page and prints it to the browser, telling the user that an error has just occurred. 2) Sends that same HTML to the email address specified in the config, us...
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::TransHandler - PerlTransHandler with access to ASP4::Config
"ASP4::TransHandler" is a utility class that helps module authors take advantage of the ASP4 configuration without actually doing any of the work. RequestFilters vs TransHandlers The difference between TransHandlers and ASP4::RequestFilters is that w...
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::RequestFilter - Filter incoming requests
Subclass "ASP4::RequestFilter" to instantly apply rules to incoming requests. These RequestFilters also work for testing via ASP4::API....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::Mock::Connection - Mimic the Apache2::Connection object
Minimal mimic of the Apache2::Connection object....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC
ASP4::ConfigNode::Web - The $Config->web object.
ASP4::ConfigNode::Web provides access to the "web" portion of the configuration....
JOHND/ASP4-1.087 - 07 May 2012 21:21:53 UTC