Main > Programming > Libraries >

HTTP::Server::Simple::Mason 0.09

HTTP::Server::Simple::Mason 0.09

Sponsored Links

HTTP::Server::Simple::Mason 0.09 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.013 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1012
Date added: 2007-01-18
Publisher: Jesse Vincent

HTTP::Server::Simple::Mason 0.09 description

HTTP::Server::Simple::Mason is an abstract baseclass for a standalone mason server.

SYNOPSIS

my $server = MyApp::Server->new();

$server->run;

package MyApp::Server;
use base qw/HTTP::Server::Simple::Mason/;

sub mason_config {
return ( comp_root => /tmp/mason-pages );
}

INTERFACE

See HTTP::Server::Simple and the documentation below.

mason_handler

Returns the servers HTML::Mason::CGIHandler object. The first time this method is called, it creates a new handler by calling new_handler.

handle_request CGI

Called with a CGI object. Invokes mason and runs the request

handle_error ERROR

If the call to handle_request dies, handle_error is called with the exception (that is, $@). By default, it does nothing; it can be overriden by your subclass.

new_handler

Creates and returns a new HTML::Mason::CGIHandler, with configuration specified by the default_mason_config and mason_config methods. You dont need to call this method yourself; mason_handler will automatically call it the first time it is called.

handler_class

Returns the name of the Mason handler class invoked in new_handler. Defaults to HTML::Mason::CGIHandler, but in your subclass you may wish to change it to a subclass of HTML::Mason::CGIHandler.

setup_escapes $handler

Sets up the Mason escapes for the handler $handler. For example, the h in

< % $name | h % >

By default, sets h to HTTP::Server::Simple::Mason::escape_utf8 and u to HTTP::Server::Simple::Mason::escape_uri, but you can override this in your subclass.
mason_config

Returns a subclass-defined mason handler configuration; you almost certainly want to override it and specify at least comp_root.

default_mason_config

Returns the default mason handler configuration (which can be overridden by entries in mason_config).

escape_utf8 SCALARREF

does a css-busting but minimalist escaping of whatever html youre passing in.

escape_uri SCALARREF

Escapes URI component according to RFC2396

HTTP::Server::Simple::Mason 0.09 Screenshot

Advertisements

HTTP::Server::Simple::Mason 0.09 Keywords

Bookmark HTTP::Server::Simple::Mason 0.09

Hyperlink code:
Link for forum:

HTTP::Server::Simple::Mason 0.09 Copyright

WareSeeker periodically updates pricing and software information of HTTP::Server::Simple::Mason 0.09 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of HTTP::Server::Simple::Mason 0.09 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
HTTP::Server::Simple::Recorder is Perl module for mixin to record HTTP::Server::Simples sockets. Free Download
httptype is a program that returns the http host software of a website. Free Download
Bauk HTTP server project is a high-performance Web server. Free Download
Simple Monitor is a SuperKaramba theme inspired by the simple but effective Very Simple Monitors theme. Free Download
Generation 2.x of the most popular HTTP server on the net. Free Download
HTML::Mason is a powerful Perl-based web site development and delivery engine. Free Download
xmlrpcserver provides a simple to use and complete XML-RPC server. Free Download
Monkey is a Web server written in C that works under Linux. Free Download