Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: Web app frameworks - I am totally confused!

by etcshadow (Priest)
on Oct 05, 2003 at 22:30 UTC ( #296802=note: print w/replies, xml ) Need Help??

in reply to Web app frameworks - I am totally confused!

I would suggest taking a look at Apache::ASP. Despite the fact that the maintainers integrated a (modified) patch from me without giving any credit, I can't knock the end product.

Apart from Apache::ASP, I've personally worked with standalone cgi's and HTML::EmbPerl. Also, I've had some second-hand experience with HTML::Mason. The basic run-down is:

  • HTML::EmbPerl -- Don't bother. It's too much of a toy-like construct. Everything it does, Apache::ASP does in a more transparent, useful, and perl-ish manner. Also, Apache::ASP is written completely in perl, whereas HTML::EmbPerl is written largely in C/XS, which just lends itself to being a pain to deal with problems. Also, in its earlier incarnations, lexical scoping (use strict pragma) was impossible to use, and when it was fixed later, it was so done in a very cobbled-on, hackish way. It was a nightmare. In the end, we (I) wrote a script to completely rewrite a large application from HTML::EmbPerl to Apache::ASP, because it just became too much of a mess to deal with. That was nearly three years ago, and we have not yet regretted the decision.
  • Standalone CGI -- I don't think I have to make an argument here for why, particularly in a large application, some form of templating as well as some form of application server framework (for things like caching of the compiled code, possible integration of things like session management, and so on) is a Good Thing.
  • HTML::Mason -- (speaking second-hand, here... please forgive / correct if I say something wrong) Mason is a pretty nice framework in its own right, but it is geared more toward content-heavy web sites, and less toward big applications.

Also, it goes without saying that you want to be using Apache::DBI to your data store (assuming that you will be using some kind of relational database).

Anyway, I would still investigate HTML::EmbPerl and HTML::Mason, as I'm just giving you my opinion (for one) and some friends' / colleagues' opinions (for the other).

Not an editor command: Wq
  • Comment on Re: Web app frameworks - I am totally confused!

Replies are listed 'Best First'.
Re: Re: Web app frameworks - I am totally confused!
by perrin (Chancellor) on Oct 06, 2003 at 00:00 UTC
    Joshua Chamas (author and maintainer of Apache::ASP) is a good guy, and I'm sure he didn't leave your name out of the credits file on purpose. Why don't you just send him a gentle reminder?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://296802]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2021-06-17 06:49 GMT
Find Nodes?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)

    Results (83 votes). Check out past polls.