Suggest please

Posted on 2004-11-08
Medium Priority
Last Modified: 2013-12-25
Hello All

Please Suggest , which Perl module will give best performance from the available, for

1). Templating.
2). Maintaining Session State.
3). Maintaining Application State.

Question by:ksb01
  • 2
LVL 16

Accepted Solution

xDamox earned 172 total points
ID: 12523767
Have you tried Apache::Session

LVL 13

Assisted Solution

gripe earned 164 total points
ID: 12523797
I would suggest you spend some time using each different module and decide this on your own. Someone else's apple is another man's orange. The performance usually will be dependent on how you're using the module moreso than what module you're using.

Additionally, will you be using mod_perl or Perl CGI?

You can do the things you're asking for with the following modules and they're all quite well written and widely used. Without a more detailed understanding of your requirements, this is about the best I can come up with for a CGI implementation:

CGI::Application (Provides templating via HTML::Template and implements application state - has a plugin for integration with CGI::Session below)
CGI::Session (Session state)

LVL 51

Assisted Solution

ahoffmann earned 164 total points
ID: 12572863
do you mean perl itself, or perl used as CGI in a web server, or perl used embeded in a web server, or .... ?
This makes the biggest performance difference, most likely not the used modules.
Then you can choose the propper modules.

Apache::Session or CGI::Session
Apache::Template and Template::* itself (aka TT2)
# and probably much more ...
LVL 51

Expert Comment

ID: 12848024
I'd vote for a split

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses
Course of the Month17 days, 1 hour left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question