>
> I'm a perl guy as well but haven't used PHP.  I've used perl with Template
> Toolkit for Web based apps.  I like the advantages Template Toolkit offers.
>

The name of the templating engine for PHP is "Smarty".

emerge -s smarty

*  dev-php/smarty
      Latest version available: 2.5.0
      Latest version installed: 2.5.0
      Size of downloaded files: 198 kB
      Homepage:    http://smarty.php.net/
      Description: A template engine for PHP


> * Code and HTML markup (style, layout, etc.) are completely seperate.  Code
> and markup can be concentrated on seperately.
> * Used with the CGI module, Web based apps become easy to create once you
> know how to write code in perl.
> * Using the CGI module alone to generate HTML markup can get very ugly not
> to mention create longer application code.
> * Can be used for more than HTML/XML content generation.  i.e. Mail Merges
> and form letters to many recipients using a database backend.
>

You should also take a look at python and mod_python. If you need templating, 
Cheetah is a good templating tool for mod_python. That is my favourite.

I have used perl, php and python for web applications, and will say that php 
is easy to use, perl lets you do anything you want, and python gives you 
control over your code.

I use to say that you should use a language that is built for your task, you 
do not always need the hammer.

If you are going to build web applications (and your choice is between perl 
and php), I would use THE language that was built for making web applications 
-> PHP.

/ sigurd

--
[EMAIL PROTECTED] mailing list

Reply via email to