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

Petal 2.19

  Date Added: June 26, 2010  |  Visits: 644

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  -  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 3.15.3
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