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.186.054 Times

Petal::Cookbook 2.19

  Date Added: August 19, 2010  |  Visits: 967

Petal::Cookbook

Report Broken Link
Printer Friendly Version


Product Homepage
Download (93 downloads)



Petal::Cookbook is a Perl module to recipes for building templates with Petal. This document contains some examples of Petal template usage. Most of these examples deal with using Petal to generate HTML files from HTML templates. BASICS Template location When using Petal for web application development, your templates should not need to be accessible by the webserver. In fact, it could be a security risk if they are available since there may be code or comments which users should not see prior to processing by Petal. Thus, it is recommended to store your templates in a non-web accessible directory. Personally I prefer to place the directory outside of the web root but you could also use permissions or .htaccess files to control access to the directory. This directory path should go into the $Petal::BASE_DIR global setting or the base_dir argument for the new() constructor. Template naming Petal is indifferent about the name of the template files. Personally, I like to name my templates with the .tmpl extension to help myself and designers distinguish templates from static html. Some GUI editors, though, will not open files without a htm/html extension (esp. under Windows)..

Requirements: No special requirements
Platforms: Linux
Keyword: Directory Libraries Perl Perl Module Petal Petalcookbook Programming Recipes Template Templates
Users rating: 0/10

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


PETAL::COOKBOOK RELATED
Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => eyesore.pl } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Libraries  -  Template::Plugin::Java::Utils 0.4
Template::Plugin::Java::Utils is a Perl module with utility functions for Template::Plugin::Java. SYNOPSIS use Template::Plugin::Java::Utils qw/list of subroutines to import/; SUBROUTINES createTemplate Creates a new Template with...
18.43 KB  
Libraries  -  Text::TemplateFill 1.7
Text::TemplateFill is a Perl module for formatting of reports with templates from files, use for I18N. SYNOPSIS use Text::TemplateFill; my $tmpl = new Text::TemplateFill; $tmpl->SetOpt(BaseDir => "paras/$Country");...
21.5 KB  
Libraries  -  Blatte 0.9.4
Blatte is a Perl module with text macro/markup/template language. SYNOPSIS use Blatte; use Blatte::Builtins; my $perl = &Blatte::Parse(...some Blatte program ...); if (defined($perl)) { my $result = eval $perl; if (defined($result)) {...
31.74 KB  
Libraries  -  OpenInteract::Template::Plugin 1.62
OpenInteract::Template::Plugin is a Perl module with custom OpenInteract functionality in templates. SYNOPSIS # Create the TT object with the OI plugin my $template = Template->new( PLUGINS => { OI => OpenInteract::Template::Plugin }, ......
655.36 KB  
Libraries  -  CGI::Builder::Magic 1.31
CGI::Builder::Magic Perl module contains CGI::Builder and Template::Magic integration. SYNOPSIS # just include it in your build use CGI::Builder qw| CGI::Builder::Magic |;.
15.36 KB  
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  
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