Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

web app modules needed

by tstock (Curate)
on Oct 10, 2005 at 02:12 UTC ( [id://498680]=perlquestion: print w/replies, xml ) Need Help??

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

I am in the design phase of a new web app and I am making a list of modules I want to use for different purposes. Some are pretty straight forward: DBI, CGI, Template, others more dictated by experience like Log::Log4perl, Class::Phrasebook::SQL and Config::IniFiles. I'm looking for suggestions from Monks with different experiences for recommendations on modules they normally use for this purpose.

Two problem areas I don't have a clear idea on what to use and could use suggestions on are:

1. User management and state. I am on a hosted account, without mod_perl and would like a light weight user management and session management framework. Ideally, this would save user tables to MySQL.

2. Nice charts. I would like to be able to generate nice, anti aliased graphics and charts. Ideally, something that would use SVG to make the graph, and something that would turn that SVG into a PNG.

Any suggestions are appreciated.
Tiago

Replies are listed 'Best First'.
Re: web ap modules needed
by InfiniteSilence (Curate) on Oct 10, 2005 at 04:12 UTC
  • Session and state...: Use CGI::Session. If you check the perldoc it will accomodate files and MySQL (from the perldoc):

    $session = new CGI::Session(undef, undef, {Directory=>'/tmp'}); $session = new CGI::Session("driver:File;serializer:Storable", undef ry=>'/tmp'}) $session = new CGI::Session("driver:MySQL;id:Incr", undef, {Handle=>
  • Nice charts...: You might try GD::SVG.

    Celebrate Intellectual Diversity

      ad Session: Think about BerkleyDB, this is very usefull for tie-ying (oh, my English...) and storing on the fly. You can, for instance, serialize perl structures by Data::Dumper and store it as plain text... But if you need some concurrency, the SQL engines are much more better for maintenance reasons. We typically develops hand made session management for every web application because different requirements.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://498680]
Approved by monkfan
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-03-29 01:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found