Name : perl-HTML-Mason
| |
Version : 1.58
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2017-11-08 18:14:00
|
Group : Development/Libraries/Perl
| Source RPM : perl-HTML-Mason-1.58-1.1.src.rpm
|
Size : 0.91 MB
| |
Packager : (none)
| |
Summary : High-performance, dynamic web site authoring system
|
Description :
Mason is a tool for building, serving and managing large web sites. Its features make it an ideal backend for high load sites serving dynamic content, such as online newspapers or database driven e-commerce sites.
Actually, Mason can be used to generate any sort of text, whether for a web site or not. But it was originally built for web sites and since that\'s why most people are interested in it, that is the focus of this documentation.
Mason\'s various pieces revolve around the notion of \"components\'\'. A component is a mix of HTML, Perl, and special Mason commands, one component per file. So-called \"top-level\" components represent entire web-pages, while smaller components typically return HTML snippets for embedding in top-level components. This object-like architecture greatly simplifies site maintenance: change a shared component, and you instantly changed all dependent pages that refer to it across a site (or across many virtual sites).
Mason\'s component syntax lets designers separate a web page into programmatic and design elements. This means the esoteric Perl bits can be hidden near the bottom of a component, preloading simple variables for use above in the HTML. In our own experience, this frees content managers (i.e., non-programmers) to work on the layout without getting mired in programming details. Techies, however, still enjoy the full power of Perl.
Mason works by intercepting innocent-looking requests (say, http://www.yoursite.com/index.html) and mapping them to requests for Mason components. Mason then compiles the component, runs it, and feeds the output back to the client.
Consider this simple Mason component:
% my $noun = \'World\'; Hello < % $noun %>! How are ya?
The output of this component is:
Hello World! How are ya?
In this component you see a mix of standard HTML and Mason elements. The bare \'%\' prefixing the first line tells Mason that this is a line of Perl code. One line below, the embedded < % ... %> tag gets replaced with the return value of its contents, evaluated as a Perl expression.
Beyond this trivial example, components can also embed serious chunks of Perl code (say, to pull records from a database). They can also call other components, cache results for later reuse, and perform all the tricks you expect from a regular Perl program.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/openSUSE_Leap_42.3/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(HTML::Mason)
perl(HTML::Mason::Apache::Request)
perl(HTML::Mason::ApacheHandler)
perl(HTML::Mason::CGIHandler)
perl(HTML::Mason::Cache::BaseCache)
perl(HTML::Mason::Compiler)
perl(HTML::Mason::Compiler::ToObject)
perl(HTML::Mason::Component)
perl(HTML::Mason::Component::FileBased)
perl(HTML::Mason::Component::Subcomponent)
perl(HTML::Mason::ComponentSource)
perl(HTML::Mason::Escapes)
perl(HTML::Mason::Exception)
perl(HTML::Mason::Exception::Compilation)
perl(HTML::Mason::Exception::Syntax)
perl(HTML::Mason::Exceptions)
perl(HTML::Mason::FakeApache)
perl(HTML::Mason::FakeTable)
perl(HTML::Mason::FakeTableHash)
perl(HTML::Mason::Handler)
perl(HTML::Mason::Interp)
perl(HTML::Mason::Lexer)
perl(HTML::Mason::MethodMaker)
perl(HTML::Mason::Plugin)
perl(HTML::Mason::Plugin::Context)
perl(HTML::Mason::Plugin::Context::EndComponent)
perl(HTML::Mason::Plugin::Context::EndRequest)
perl(HTML::Mason::Plugin::Context::StartComponent)
perl(HTML::Mason::Plugin::Context::StartRequest)
perl(HTML::Mason::Request)
perl(HTML::Mason::Request::ApacheHandler)
perl(HTML::Mason::Request::CGI)
perl(HTML::Mason::Resolver)
perl(HTML::Mason::Resolver::File)
perl(HTML::Mason::Resolver::Null)
perl(HTML::Mason::Tests)
perl(HTML::Mason::Tools)
perl(HTML::Mason::Utils)
perl(Tie::Handle::Mason)
perl-HTML-Mason
Requires :