Hey jdtoronto --

First off, I would encourage you to join the CGI-App mailing list. Send email to:

cgiapp-subscribe@lists.erlbaum.net

We've frequently discussed the philosophy of what should be a run-mode.

To the heart of the matter: I think you have to adjust your architecture a bit. Based only on the fact that you're looking at a 200 run-mode app, I feel you have got way too much going on. As a point of reference, my typical CGI-App has about 5-10 run-modes.

Two changes I would recommend:

  1. Simplify your run-mode configuration -- roughly one mode per screen.
  2. Separate functionality into multiple applications -- e.g., what you're now calling "run-modes" ("mode_001") becomes its own CGI::Application module ("UserRegistration.pm").

TTYL,

-Jesse-


In reply to Re: CGI::Application, have I made a big mistake. by jerlbaum
in thread CGI::Application, have I made a big mistake. by jdtoronto

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.