in reply to Re: Multi tiered web applications in Perl
in thread Multi tiered web applications in Perl

I did take a look at HTML::Mason, and was a bit put off by the intermixing of HTML and Perl. One of our goals is to separate logic and presentation. After a (somewhat superficial) perusal of the documentation, it looks like Mason couples these rather tightly.

I may be very wrong though. Thank you for your suggestion, I will look further into this :o)

pernod
--
Mischief. Mayhem. Soap.

  • Comment on Re: Re: Multi tiered web applications in Perl

Replies are listed 'Best First'.
Re: Re: Re: Multi tiered web applications in Perl
by ctilmes (Vicar) on Oct 21, 2003 at 14:41 UTC
    You don't have to intermix HTML and Perl -- you just can when you need/want to.

    You can also separate your application into some Mason documents that present data and others (or better yet, non-Mason Perl Modules) that hold the business logic and interact with your database.

    Mason provides syntactic sugar to control the interface between the two and by allowing perl in your presentation layer, you have a great deal of power/flexibility in generating HTML.

    Mason also allows nice modularity of various presentation elements and combining them in various ways to produce user interfaces.

Re: Re: Re: Multi tiered web applications in Perl
by Ryszard (Priest) on Oct 22, 2003 at 14:12 UTC
    One of our goals is to separate logic and presentation
    You prolly dont want j2ee and that horible jsp stuff then.. ;-)