in reply to Re: Handling different requests for a web app in one centralized place.
in thread Handling different requests for a web app in one centralized place.

How is "table-driven programming" any different than a simple dispatch table? How is your dispatch table any different than the framework that CGI::Application provides?

------
We are the carpenters and bricklayers of the Information Age.

Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

  • Comment on Re: Re: Handling different requests for a web app in one centralized place.

Replies are listed 'Best First'.
Re: Re: Re: Handling different requests for a web app in one centralized place.
by nmcfarl (Pilgrim) on May 04, 2004 at 17:59 UTC

    It's not my post, but I did recommend the strategy. I did so based on my belief that it basically is a dispatch table, and that you'd be rebuilding a bit of CGI::App.

    CGI::App is a good module, but I wouldn't bringing it into a mason application, particularly for use on just one page. Sometimes rolling your own is the best solution, particularly when it's something as simple as a dispatch table.