hi,

thanks all.
I checked the catalyst, dancer and mojolicio' s web sites (thx Tom), are they 
trying to develop the complete (and big) internet app in perl, like people do 
in java?
my requirements are:
1. get form data from user: execute a perl script (currently my perl CLI script 
stores output in text file), and then display result in same window, and give 
user ability to refresh portions of output.
2. second type of requirement is query an external website and parse the 
results and present (all or part) in a way i want.
3. 1&2 may need to be combined in the same page/output.
4. i definitely want to use template system to input and output data.

one thing i am confused about Dancer/catalyst is do i have to use their 
commands or normal perl module commands (like telnet, cgi etc. or like tt which 
has its own keywords/syntax)

rgds,
Rajeev



________________________________
From: Tom Molesworth <[email protected]>
To: [email protected]
Sent: Sunday, July 3, 2011 5:00 PM
Subject: Re: [Templates] does this replace cgi.pm


Hi Rajeev,

On 03/07/11 22:48, Rajeev Prasad wrote: 
I am new to perl CGI, with so many options, i am confused. does modules like 
tt, html::template, mason etc. replace CGI module in perl CGI scripting? Can 
someone guide please? is CGI module the only one which can parse the values 
coming from FORM input fields?
>
If you're just getting started, perhaps a framework might be a
    better choice?

Mojolicious (http://mojolicio.us/) and Dancer
    (http://perldancer.org/) are great for a quick start, and Catalyst
    works well for larger projects and has a lot of developers behind it
    (http://www.catalystframework.org/). Their documentation should also cover 
how CGI is handled, and also provide more background on other alternatives such 
as FastCGI, mod_perl and Plack/PSGI.

Tom


_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to