Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Don't ask to ask, just ask
 
PerlMonks  

Re: Web application development

by techcode (Hermit)
on Jul 20, 2006 at 22:17 UTC ( #562730=note: print w/ replies, xml ) Need Help??


in reply to Web application development

Since you are just starting out I would suggest CGI::Application as better choice. It doesn't abstract as much things as Catalyst does. Sure, it has magic, but it's easier to understand - you can start faster.

The other option is HTML::Template or TemplateTolkit. I was using H::T but moved to TT as I needed some stuff that were pain to make in H::T and already supported by TT ... And TT also has caching support out of the box, that even under plain CGI gets you x2 more requests while testing with Apache/bin/ab.

Anyway, you should be able to just copy these in some folder on your server and add that folder to the @INC (use lib 'relative/or/full/path';). There is an option while installing TT (on your local/dev computer) not to use XS (C) code ...


Have you tried freelancing? Check out Scriptlance - I work there. For more info about Scriptlance and freelancing in general check out my home node.


Comment on Re: Web application development
Re^2: Web application development
by Nkuvu (Priest) on Jul 20, 2006 at 23:07 UTC

    You're the second person to mention TT. And I'm not sure I understand.

    I have used Template::Toolkit before. I made a bunch of web pages based on a template, and altered individual content to suit. But I don't see how TT would help with user authentication. Unless you're not recommending TT for user authentication, that is.

      We were mentioning TT because it's good and some of template modules was ment to be used with CGI::App (or other MVC frameworks). So obviosly it doesn't help much with authentication. Closest thing would be to display one thing (perhaps menu) to auth. user, and another thing (login form) to non-auth. users.

      Anyway TT can be used for generating lot's of pages from one template. But it's more usefull if you use it to separate perl code (Model in Mvc) and html (View in mVc) ...


      Have you tried freelancing? Check out Scriptlance - I work there. For more info about Scriptlance and freelancing in general check out my home node.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2014-04-24 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (565 votes), past polls