Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.235.697 Times

HTTP::Server::Simple::Mason 0.09

  Date Added: November 07, 2010  |  Visits: 924

HTTP::Server::Simple::Mason

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



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.

Requirements: No special requirements
Platforms: Linux
Keyword: Cgihandler Config Default Handler Html Http Httpserversimplemason Libraries Mason New Programming Returns
Users rating: 0/10

License: Freeware Size: 13.31 KB
USER REVIEWS
More Reviews or Write Review


HTTP::SERVER::SIMPLE::MASON RELATED
Miscellaneous  -  Class with default method handler 1.0
This script is a class whose objects can handle undefined method calls, passing them on to a default handler.
 
Libraries  -  Template::Magic::HTML 1.39
Template::Magic::HTML Perl module contains HTML handlers for Template::Magic used in a HTML environment. SYNOPSIS $tm = new Template::Magic::HTML ; # that means $tm = new Template::Magic markers => HTML , value_handlers => HTML ; # that...
46.08 KB  
Libraries  -  HTML::WikiConverter::Normalizer 0.61
SYNOPSIS use HTML::TreeBuilder; use HTML::WikiConverter::Normalizer; my $tree = new HTML::TreeBuilder(); $tree->parse( text ); my $norm = new HTML::WikiConverter::Normalizer(); $norm->normalize($tree); # Roughly gives " text "...
34.82 KB  
Libraries  -  Tie::Layers 0.06
SYNOPSIS ##### # Subroutines # use Tie::Layers qw(is_handle config); $yes = is_handle( $file_handle ); ($key, $old_value) = config(%options, $key); ($key, $old_value) = config(%options, $key => $new_value ); #### # Config default...
71.68 KB  
Modules  -  Default Product Tax Class 1.0
The idea behind this modification is to allow you to choose the default tax class to use when entering new products. Most physical products sold by online stores are taxable and therefore it makes sense to set the tax class for each new product to...
 
Programming  -  HTML::Template::HashWrapper 1.3
HTML::Template::HashWrapper provides a simple way to use arbitrary hash references (and hashref-based objects) with HTML::Template's associate option. new($ref) returns an object with a param() method which conforms to HTML::Template's...
10.24 KB  
Development Tools  -  VertrigoServ 2.20
VertrigoServ has been developed as a highly professional, easy to install package consisting of Apache (HTTP web server), PHP (reflective programming language), MySQL (multithreaded, multi-user, SQL Database Management System), SQLite...
 
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Communication Tools  -  phpMyForum 4.1.1
phpMyForum is an very powerful freeware forum,Some features:-Design individually adaptable-board code as HTML replacement-email notification with new contributions -private messages-...
499.83 KB  
Libraries  -  XML::Handler::HTMLWriter 2.01
XML::Handler::HTMLWriter is a SAX Handler for writing HTML 4.0. SYNOPSIS use XML::Handler::HTMLWriter; use XML::SAX; my $writer = XML::Handler::HTMLWriter->new(...); my $parser = XML::SAX::ParserFactory->parser(Handler => $writer); ......
7.17 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB