HazMathew has asked for the wisdom of the Perl Monks concerning the following question:

I have done a fair amount of coding in c/c++/php/bash and some asp and perl and I have just been asked to do a substantially dynamic site. I want to use perl. My question is with php you write some html then embed the php/asp right into the html for the dynamic content. Would it be best to use something like embperl, or have the site run 90% from cgi-bin with ssi and such? Of course mod_perl is a must.

Replies are listed 'Best First'.
Re: Building a perl website.
by Vynce (Friar) on May 25, 2001 at 15:08 UTC

    in perl, as you likely know by now, there is always more than one way to do it, whatever it is you want to do. in some cases, there is a clear best way.

    this is not one of those cases.

    it depends what you want to do; it depends how long you want to take putting it together, and how many hours a week you intend to spend maintaining it. it depends on the size of the site, the speed of response needed from the site, and even on how uniform the site is in graphical content and stylistic look. it also, importantly, depends what you like to code.

    personally, i like HTML::Mason. i also like the numerous suggestions made in this and other nodes on the subject.

    .
Re: Building a perl website.
by franknmonk (Monk) on May 25, 2001 at 20:07 UTC
Re: Building a perl website.
by bikeNomad (Priest) on May 25, 2001 at 22:14 UTC
    You may want to look at Jellybean, which is a project by a couple of high-level Monks here (chromatic and jlp). It allows the use of Template-Toolkit as well as active Perl objects. So you don't have to mess with CGI at all if you don't want to.