On Thu, Jun 18, 2009 at 11:37:06AM +0800, practicalp...@gmail.com wrote:
> Here, aren't shopcart.nitems and shopcart.contents method calling of
> an object like?
> So I was thinking designers will be confused on them.
JavaScript has objects, and also uses dot syntax for accessing object
properties
On Wed, Jun 17, 2009 at 11:37 PM, wrote:
> Here, aren't shopcart.nitems and shopcart.contents method calling of
> an object like?
Yes. If you don't like passing objects, you could just pass the list
of items as an array of hashes. One nice thing about TT here is that
the syntax is the same.
>
I got the code piece from Template's manual:
my $vars = {
root => 'http://here.com/there',
menu => [ 'modules', 'authors', 'scripts' ],
client => {
name => 'Doctor Joseph von Satriani',
id => 'JVSAT',
},
checkout => sub { m
On Wed, Jun 17, 2009 at 10:36 PM, wrote:
> Template::Toolkit is smart enough, but it requires designners to know
> some syntax about Perl.
How so? I've often used TT with people who didn't know any perl. How
is it more difficult for them than HTML::Template is?
- Perrin
Hello,
We have a new project, which is medium large, with about 300 CGI
scripts with Perl.
We have designers who make HTML/JS/CSS etc. But designers don't know Perl.
I want to choose a template system which will separate Perl code from
front-page codes (like html,css etc).
I have the exper