Do you know where your variables are? | |
PerlMonks |
Re^2: Survey of Surveys on HTML Templating systemsby metaperl (Curate) |
on Feb 23, 2005 at 22:02 UTC ( [id://433872]=note: print w/replies, xml ) | Need Help?? |
Everything you said about Petal applies to Seamstress. However, the
advantage of Seamstress is that you don't need to learn a
mini-language.
So let's take the same content: And when you look at this in dreamweaver or a browser you'll see
And assuming
The processed output will be
Now for the big differenceOf course TAL handles loops and conditionals etc.Seamstress does not. Perl has loops and conditionals and sees no need for their re-invention. The thing that takes the most getting used to is that it's a little verbose. Unfortunately this is a necessary side effect of being truly compatible with XML/HTML.I agree with you here, but I personally could have it no other way either. Here is how seamstress would template the same thing:
or with a loop
In Section
Meditations
|
|