Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Re: Improving the efficiency of this piece of code

by repson (Chaplain)
on Feb 25, 2001 at 14:08 UTC ( #60746=note: print w/replies, xml ) Need Help??

in reply to Re: Improving the efficiency of this piece of code
in thread Improving the efficiency of this piece of code

I'd also consider communing with the almighty vault. It seems that someone else actually has created a multiscreen CGI before....

CGI::Screen and CGI::Application are the ones I've noticed there. But I haven't actually used them, so I don't know what, (?:dis)?advantages they have compared to a simple hash dispatch method.

  • Comment on Re: Re: Improving the efficiency of this piece of code

Replies are listed 'Best First'.
Re: Re: Re: Improving the efficiency of this piece of code
by AgentM (Curate) on Feb 25, 2001 at 22:38 UTC
    I can personally vouch for CGI::Application's homemade goodness. I found it a tad easier to learn than HTML::Mason while it provides similar functionality. Basically, it provides runtime function callbacks on various invocations of the script with some shortcuts in between. I've find this module killer if combined with HTML::Template (or some other templating mechanism).

    One drawback is that the entire generated HTML must be passed back as a string when you're done- hence the web l0ser will not see any stuff until the script is absolutely done- ala zero NPH capability (or similar capability). This is especially frustrating when used in congruence with DBI. But, as the doctor says when you ask "Doctor, I'm fat in some place!", simply don't use massive amounts of CGI-generated HTML with CGI::Application.

    AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://60746]
NodeReaper sharpens his wit

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2018-01-21 15:21 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (228 votes). Check out past polls.