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

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

Serving Software Downloads in 976 Categories, Downloaded 29.547.226 Times

HTTP::Server::Simple::Mason 0.09

  Date Added: November 07, 2010  |  Visits: 577

HTTP::Server::Simple::Mason

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 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  -  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  
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  
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  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB