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

Petal 2.19

  Date Added: June 26, 2010  |  Visits: 622

Petal

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)



Petal is a Perl Template Attribute Language - TAL for Perl! SYNOPSIS in your Perl code: use Petal; my $template = new Petal (foo.xhtml); print $template->process (bar => BAZ); in foo.xhtml < html xmlns:tal="http://purl.org/petal/1.0/" > < body tal:content="bar" >Dummy Content< /body > < /html > and you get something like: < html > < body >BAZ< /body > < /html > SUMMARY Petal is a XML based templating engine that is able to process any kind of XML, XHTML and HTML. Petal borrows a lot of good ideas from the Zope Page Templates TAL specification, it is very well suited for the creation of WYSIWYG XHTML editable templates. The idea is to further enforce the separation of logic from presentation. With Petal, graphic designers can use their favorite WYSIWYG editor to easily edit templates without having to worry about the loops and ifs which happen behind the scene. NAMESPACE Although this is not mandatory, Petal templates should include use the namespace http://purl.org/petal/1.0/. Example: < html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:tal="http://purl.org/petal/1.0/" > Blah blah blah... Content of the file More blah blah... < /html > If you do not specify the namespace, Petal will by default try to use the petal: prefix. However, in all the examples of this POD well use the tal: prefix to avoid too much typing..

Requirements: No special requirements
Platforms: Linux
Keyword: Blah Language Libraries Perl Perl Template Attribute Language Petal Programming Template Template Attribute Language Templates
Users rating: 0/10

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


PETAL RELATED
Libraries  -  Aapl C++ Template Library 2.14
Aapl is a C++ template library for generic programming. Aapl supports different generic programming paradigms by providing variations of standard data structures. For example, a by-value linked list template may be used to store a user supplied...
122.88 KB  
Libraries  -  Template::Plugin::Config::General 0.01
Template::Plugin::Config::General is a template toolkit plugin which implements wrapper around Config::General module. SYNOPSIS # Config file format ; app.cfg - common configuration for scripts and both ; static and dynamic template pages....
3.07 KB  
Development Tools  -  fastm 0.9
fastm is a fast template,  Java Port of PHP Fast Template. Emulate JDynamiTe (another sf project). fastm Advantage: Template stands alone from the Parametter Setting part. Template can be safely reused by multiple threads to generate page at any...
 
Libraries  -  Hub::Perl::Language 04.00.012
Hub::Perl::Language is a Perl module that contains a lot of methods. PUBLIC METHODS sizeof Integer size of hashes, arrays, and scalars Usage: sizeof %hash Usage: sizeof @array Usage: sizeof $scalar_ref Usage: sizeof $scalar Usage:...
143.36 KB  
Libraries  -  SQL::Routine::Language 0.70.3
SQL::Routine::Language is a Perl module for what language or grammar SQL::Routine speaks. SQL::Routine contains SQL schemas and queries, represented as a tree of atomic tokens; it is structurally like an abstract syntax tree or an XML DOM, but...
174.08 KB  
Libraries  -  Apache::Language 0.14
Apache::Language is a Perl transparent language support for Apache modules and mod_perl scripts. SYNOPSIS In YourModule.pm: sub handler { my $r = shift; use Apache::Language; my $lang = Apache::Language->new($extra_args); #$lang is now a...
15.36 KB  
Libraries  -  Template::Plugin::ASCIITable 0.1
Template::Plugin::ASCIITable is a Perl module that allows you to use Text::ASCIITable in your templates. SYNOPSIS [% USE ASCIITable %] blah [% ASCIITable.cols(a, b, c); ASCIITable.rows([1,2,3],[one,two,three]); ASCIITable.draw() %] A...
7.17 KB  
Programming  -  Perl 5.8.8
Perl is a stable, cross platform programming language. Perl project is used for mission critical projects in the public and private sectors and is widely used to program web applications of all needs.. The Perl Directory at perl.org. Links and...
11.9 MB  
Libraries  -  Template::Tutorial::Web 2.19
Template::Tutorial::Web is a Perl module for generating web content using the template toolkit. This tutorial document provides a introduction to the Template Toolkit and demonstrates some of the typical ways it may be used for generating web...
778.24 KB  
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  
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