Re: Fwd: [mengerin@deja.com: [?] Template Toolkit]

2001-01-30 Thread Dave Hodgkinson

Jonathan Stowe [EMAIL PROTECTED] writes:

 On Mon, 29 Jan 2001, Leon Brocard wrote:
 
  Dave Cross sent the following bits through the ether:
 
   I got the following email in response to my TT2 article. I know nothing
   about EmbPerl so I can't really answer these points. Does anyone who has
   used EmbPerl have any ammo that I can use in my reply?
 
  Embperl is entirely Apache and web based, which is good for some
  things and bad for some things, like having the template wotsit work
  orthogonally to everything else.
 
 And entirely impossible for a lot of the things that I am using TT for
 like creating printed documents and e-mail messages 

Add to that, generating mails to Nominet and Network (ack!) Solutions,
data mapping templates and Oracle table definitions, constraints and
triggers.

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Apache, mod_perl, MySQL, Sybase hired gun for, well, hire
  -



Re: TT vs EmbPerl (was Re: Fwd: [mengerin@deja.com: [?] Template Toolkit])

2001-01-30 Thread James Powell

On Tue, Jan 30, 2001 at 10:33:30AM +, Jonathan Stowe wrote:
 On 30 Jan 2001, Dave Hodgkinson wrote:
 
  Add to that, generating mails to Nominet and Network (ack!) Solutions,
 
 Which is exactly what I was using it for yesterday :)  Well except not
 Netowrk Solutions as we are using another registrar ...
 

Interestingly .tv use gpg-signed messages sent over https...
for all aspects of registration.

They supply (slightly dodgy) perl modules as well.


jp



Fwd: [mengerin@deja.com: [?] Template Toolkit]

2001-01-29 Thread Dave Cross

I got the following email in response to my TT2 article. I know nothing
about EmbPerl so I can't really answer these points. Does anyone who has
used EmbPerl have any ammo that I can use in my reply?

Dave...

- Forwarded message from [snip] -

Howdy,

I'm curious why you prefer the TT to EmbPerl?  It seems that the capabilities
of TT are a strict subset of EmbPerl.  Granted the syntax is arguably slightly 
easier at first than EmbPerl, it doesn't seem worth the lesser functionality 
and forcing of data manipulation in the calling space.

We use EmbPerl extensively at DejaNews and taught the minimal amounts to
all of the HTML folks designers and programmers.  No one had any difficulty
w/ '@' or '%' so much as the concept of an array or a hash.  That is to say
that no one had syntactic difficulties, just structural.

So, it seems that if there is a movement to establish a module in the same
ranks as LWP, CGI, DBI, XML::Parser and the like that it would be better as
EmbedPerl than the Template Toolkit.

Thoughts?

Cheers,

- End forwarded message -

-- 
http://www.dave.org.uk | [EMAIL PROTECTED] | [EMAIL PROTECTED]

plugData Munging with Perl
http://www.manning.com/cross//plug



Re: Fwd: [mengerin@deja.com: [?] Template Toolkit]

2001-01-29 Thread Leon Brocard

Dave Cross sent the following bits through the ether:

 I got the following email in response to my TT2 article. I know nothing
 about EmbPerl so I can't really answer these points. Does anyone who has
 used EmbPerl have any ammo that I can use in my reply?

Embperl is entirely Apache and web based, which is good for some
things and bad for some things, like having the template wotsit work
orthogonally to everything else.

They're about the same speed, as they both compile the templates to
Perl, which they then evaluate. The Embperl compiler is in C, but in
my tests this doesn't save you much as mostly you only compile
templates once.

While I'm at it, I looked at the TT2 compiler last week and it
generates pretty damn good code pretty quickly indeed. Writing
compilers to Perl rocks.

Leon
-- 
Leon Brocard.http://www.astray.com/
yapc::Europehttp://yapc.org/Europe/

... All generalizations are false, including this one



Re: Fwd: [mengerin@deja.com: [?] Template Toolkit]

2001-01-29 Thread Michael Stevens

On Mon, Jan 29, 2001 at 09:31:30PM +, Leon Brocard wrote:
  I got the following email in response to my TT2 article. I know nothing
  about EmbPerl so I can't really answer these points. Does anyone who has
  used EmbPerl have any ammo that I can use in my reply?
 Embperl is entirely Apache and web based, which is good for some
 things and bad for some things, like having the template wotsit work
 orthogonally to everything else.

It's definately entirely web based, but I have cron jobs using embperl
to generate html email that goes to various people without ever going
near apache...

Michael



Re: Fwd: [mengerin@deja.com: [?] Template Toolkit]

2001-01-29 Thread Jonathan Stowe

On Mon, 29 Jan 2001, Leon Brocard wrote:

 Dave Cross sent the following bits through the ether:

  I got the following email in response to my TT2 article. I know nothing
  about EmbPerl so I can't really answer these points. Does anyone who has
  used EmbPerl have any ammo that I can use in my reply?

 Embperl is entirely Apache and web based, which is good for some
 things and bad for some things, like having the template wotsit work
 orthogonally to everything else.

And entirely impossible for a lot of the things that I am using TT for
like creating printed documents and e-mail messages 

/J\
-- 
Jonathan Stowe   |
http://www.gellyfish.com |   I'm with Grep on this one
http://www.tackleway.co.uk   |