[Jifty-commit] r7556 - Template-Declare/branches/mixmaster/lib/Template
Jifty commits
jifty-commit at lists.jifty.org
Thu Oct 15 15:35:23 EDT 2009
Author: sartak
Date: Thu Oct 15 15:35:23 2009
New Revision: 7556
Modified:
Template-Declare/branches/mixmaster/lib/Template/Declare.pm
Log:
More copyediting
Modified: Template-Declare/branches/mixmaster/lib/Template/Declare.pm
==============================================================================
--- Template-Declare/branches/mixmaster/lib/Template/Declare.pm (original)
+++ Template-Declare/branches/mixmaster/lib/Template/Declare.pm Thu Oct 15 15:35:23 2009
@@ -117,9 +117,7 @@
=back
-=head1 USAGE
-
-First, some terminology:
+=head1 GLOSSARY
=over
@@ -159,17 +157,17 @@
=item dispatch class
A template class that has been passed to L<C<init()>|/init> via the
-C<dispatch_to> parameter. When <show|/"show TEMPLATE"> is called, only
+C<dispatch_to> parameter. When L<show|/"show TEMPLATE"> is called, only
templates defined in or mixed into the dispatch classes will be executed.
=item path
-The name specified for a template it is created by the C<template> keyword, or
-when a a template is mixed into a template class.
+The name specified for a template when it is created by the C<template>
+keyword, or when a template is mixed into a template class.
=item mixin
-A template mixed into a template class via C</mix>. Mixed-in templates may be
+A template mixed into a template class via L</mix>. Mixed-in templates may be
mixed in under prefix paths to distinguish them from the templates defined in
the dispatch classes.
@@ -190,12 +188,14 @@
=back
-=head2 Basics
+=head1 Basics
Like other Perl templating systems, there are two parts to Template::Declare:
the templates and the code that loads and executes the templates. Unlike other
template systems, the templates are written in Perl classes. A simple HTML
-example is in the L</SYNOPSIS>. So let's do XUL!
+example is in the L</SYNOPSIS>.
+
+=head2 XUL
package MyApp::Templates;
use base 'Template::Declare';
More information about the Jifty-commit
mailing list