What I said in that thread on london.pm...

>>>>> "Rafiq" == Rafiq Ismail (ADMIN) <[EMAIL PROTECTED]> writes:

Rafiq> Hi,
Rafiq> I need some quick references and points, if anyone is free.

Rafiq> We've got this Mason only, bosses pet, who is trying to challange our
Rafiq> decision to rebuild a site in Template, as opposed to Mason.  My initial
Rafiq> reasons were that template allows us to build a more generic system which
Rafiq> is not just web-centred.  Also that it's more usable for designers.  We've
Rafiq> got to defend this soon.  I'd appreciate some pointers about session
Rafiq> management approaches vs Mason custom.  Also about companies using
Rafiq> Template and other good reasons to go with template.

Rafiq> Anyone up at this time?

I just cut over www.stonehenge.com from Mason to Template, after a
long hard look at both.

Big plusses for Template:

+ same technology can be used for the HTML delivery as for all
  the meta work... my config files are now all CVSed and Template'd,
  so I can extract and run a "development" version of the website easily
  by changing one parameter in a Makefile (all paths change, etc)

+ Template provides a meta-language, much easier grokked by "web designers".
  (Ever try teaching a "web designer" Perl's arcane syntax for hashes
   of hashes?)

+ Template's "embedded Perl" can be either enabled or disabled, providing
  either flexibility or security

+ Template is in heavy geek use, now that it's been adopted by slashcode.

+ Nearly every step is pluggable and hookable and subclassable (slashcode
  pushed the templates into a database, for example, by simply subclassing
  the provider).

+ Andy Wardley is flexible and a pretty good hacker.

Minuses for Template:

- Caching is not as good as Mason - you have to roll your own solution.
  The Template boys (particularly Perrin, who had lots of experience
  with Template at etoys.com et seq) counter by saying the caching at
  the HTML level is wrong... you should cache the input data and the
  full page views.  I'm beginning to see their point.


-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


Reply via email to