[Jifty-commit] r4358 - Template-Declare
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu Nov 1 22:53:56 EDT 2007
Author: agentz
Date: Thu Nov 1 22:53:56 2007
New Revision: 4358
Modified:
Template-Declare/Changes
Template-Declare/README
Log:
[TD] updated the date in Changes
Modified: Template-Declare/Changes
==============================================================================
--- Template-Declare/Changes (original)
+++ Template-Declare/Changes Thu Nov 1 22:53:56 2007
@@ -1,4 +1,4 @@
-0.27 - XXX
+0.27 - 2007-11-02
* Added support for the RDF tag set (T::D::TagSet::RDF).
* Added support for the Mozilla EM RDF tag set (T::D::TagSet::RDF::EM)
Modified: Template-Declare/README
==============================================================================
--- Template-Declare/README (original)
+++ Template-Declare/README Thu Nov 1 22:53:56 2007
@@ -2,20 +2,26 @@
Template::Declare - Perlish declarative templates
SYNOPSIS
- "Template::Declare" is a pure-perl declarative HTML/XUL/XML templating
- system.
+ "Template::Declare" is a pure-perl declarative HTML/XUL/RDF/XML
+ templating system.
Yes. Another one. There are many others like it, but this one is ours.
A few key features and buzzwords:
- All templates are 100% pure perl code
- Simple declarative syntax
- No angle brackets
- "Native" XML namespace and declarator support
- Mixins
- Inheritance
- Public and private templates
+ * All templates are 100% pure perl code
+
+ * Simple declarative syntax
+
+ * No angle brackets
+
+ * "Native" XML namespace and declarator support
+
+ * Mixins
+
+ * Inheritance
+
+ * Public and private templates
USAGE
Basic usage
@@ -302,9 +308,14 @@
with( src => $_ ), a {}
}
- The ";" after " p { ... } " is required here, or Perl will complaint
+ The ";" after " p { ... } " is required here, or Perl will complain
about syntax errors.
+ Another example is
+
+ h1 { 'heading' }; # this trailing semicolon is mandatory
+ show 'tag_tag'
+
* Literal strings that have tag siblings won't be captured. So the
following template
More information about the Jifty-commit
mailing list