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 49.480.601 Times

CGI::Application::Plugin::PageBuilder 0.93

  Date Added: August 09, 2010  |  Visits: 1.053

CGI::Application::Plugin::PageBuilder

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



CGI::Application::Plugin::PageBuilder is a Perl module that simplifies building pages with multiple templates. SYNOPSIS This module simplifies building complex web pages with many small piecemeal templates. Instead of sub run_mode { my $self = shift; my $header = $self->load_tmpl( header.tmpl )->output(); my $html; my $start = $self->load_tmpl( view_start.tmpl ); $start->param( view_name => This View ); $html .= $start->output(); my $db = MyApp::DB::Views->retrieve_all(); # Class::DBI while ( my $line = $db->next() ) { my $template = $self->load_tmpl( view_element.tmpl ); $template->param( name => $line->name() ); $template->param( info => $line->info() ); $html .= $template->output(); } $html .= $self->load_tmpl( view_end.tmpl )->output(); $html .= $self->load_tmpl( footer.tmpl )->output(); return $html; } You can do this: CGI:App subclass: sub run_mode { my $self = shift; $self->pb_template( header.tmpl ); $self->pb_template( view_start.tmpl ); my $db = MyApp::DB::Views->retrieve_all(); while( my $line = $db->next() ) { $self->pb_template( view_row.tmpl ); $self->pb_param( name, $line->name() ); $self->pb_param( info, $line->info() ); } $self->pb_template( view_end.tmpl ); $self->pb_template( footer.tmpl ); return $self->pb_build(); }.

Requirements: No special requirements
Platforms: Linux
Keyword: Cgi Cgiapplicationpluginpagebuilder Html Libraries Pagebuilder Param Pb Perl Module Programming Template Tmpl View
Users rating: 0/10

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


CGI::APPLICATION::PLUGIN::PAGEBUILDER RELATED
Libraries  -  CGI::Wiki::Plugin::RSS::Reader 1.4
CGI::Wiki::Plugin::RSS::Reader is a Perl module retrieve RSS feeds for inclusion in CGI::Wiki nodes. Use this CGI::Wiki plugin to retrieve an RSS feed from a given URL so that you can include it in a wiki node. SYNOPSIS use...
4.1 KB  
Libraries  -  HTML::Widgets::NavMenu 1.0001
HTML::Widgets::NavMenu is a Perl module for Generating HTML Navigation Menus. SYNOPSIS use HTML::Widgets::NavMenu; my $nav_menu = HTML::Widgets::NavMenu->new( path_info => "/me/", current_host => "default", hosts => { default => {...
41.98 KB  
Libraries  -  HTML::WikiConverter::Oddmuse 0.52
HTML::WikiConverter::Oddmuse is a Perl module that can convert HTML to Oddmuse markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => Oddmuse ); print $wc->html2wiki( $html ); This module contains rules for...
6.14 KB  
Libraries  -  HTML::WikiConverter::MediaWiki 0.55
HTML::WikiConverter::MediaWiki is a Perl module used to convert HTML to MediaWiki markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => MediaWiki ); print $wc->html2wiki( $html ); This module contains rules...
11.26 KB  
Libraries  -  HTML::WikiConverter::Dialects 0.61
HTML::WikiConverter::Dialects is a Perl module which contains a tutorial on how to add a dialect. SYNOPSIS # In your dialect module: package HTML::WikiConverter::MySlimWiki; use HTML::WikiConverter -dialect; rule b => { start => **, end...
34.82 KB  
Libraries  -  HTML::WikiConverter::Markdown 0.02
HTML::WikiConverter::Markdown is a Perl module to convert HTML to Markdown markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => Markdown ); print $wc->html2wiki( $html ); This module contains rules for...
8.19 KB  
Libraries  -  HTML::Widgets::Index 0.6
HTML::Widgets::Index is a Perl module for creating web indexes and menus. This module renders the index of a document tree using the data stored in a MySQL database generated by anxova. It has a flexible set of render options that gives the...
65.54 KB  
Libraries  -  HTML::Widgets::DateEntry 1.5
HTML::Widgets::DateEntry is a Perl module that creates date entry widgets for HTML forms. SYNOPSIS use HTML::Widgets::DateEntry; $de = new HTML::Widgets::DateEntry( year => [date_year, $date_year], month => [date_month, $date_month], day...
4.1 KB  
Libraries  -  HTML::Mason::Devel 1.34
HTML::Mason::Devel is a Perl module with Mason Developers Manual. This manual is written for content developers who know HTML and at least a little Perl. The goal is to write, run, and debug Mason components. If you are the webmaster (or...
378.88 KB  
Libraries  -  HTML::Entities::Numbered 0.04
HTML::Entities::Numbered is a Perl module for conversion of numbered HTML entities. SYNOPSIS use HTML::Entities::Numbered; $html = Hi Honey♥; # convert named HTML entities to numbered (decimal) $decimal = name2decimal($html); # Hi...
8 MB  
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