Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: More on Web Application Frameworks

by impossiblerobot (Deacon)
on Apr 09, 2002 at 03:11 UTC ( [id://157643]=note: print w/replies, xml ) Need Help??


in reply to Re: More on Web Application Frameworks
in thread More on Web Application Frameworks

Thanks, rob_au, I would appreciate seeing what you've done.

It sounds like the list of tools you mentioned would probably meet all of my requirements, but would require some work to integrate. I guess I need to really delve into CGI::Application, to see how much it can really do for me.

Update: I forgot to mention that although HTML::Template doesn't really match my preference as far as tag/markup style, it's probably something I can live with (which is fortunate, since CGI::Application seems to be tied to it).

Impossible Robot
  • Comment on Re: Re: More on Web Application Frameworks

Replies are listed 'Best First'.
Re: Re: Re: More on Web Application Frameworks
by rob_au (Abbot) on Apr 10, 2002 at 03:44 UTC
    The following is a small script framework that I have used for a couple of smallish CGI applications. While it doesn't incorporate session handling in any sense more than hidden HTML fields, this could easily be changed through the use of Apache::Session and instead of returning the parameters retrieved so far into hidden fields of the template markup, the single session id could be that passed into these fields.

    Also too, with regard to templating engine, there is nothing to stop your usage of Template::Toolkit with CGI::Application, an aspect of usage which I commented on here.

    The code including some comments follows ...

      Thanks again, rob_au. I can already see some techniques that I can use, and the comments in the code are very helpful.

      And yes, after I wrote my update, I looked at CGI::Application in more detail and realized that it is really not so closely integrated with HTML::Template (perhaps not even enough to be meaningful). I still haven't settled on a templating module (or a framework), but you are right that using any templating module with CGI::Application should be fairly trivial.

      Impossible Robot

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found