Jesse Erlbaum wrote: > > Hi Tim -- > > > I'm trying to move runmode subs, which I'm going to call > > 'actions', into > > their own class/file/package. > [ ... snip ... ] > > This, IMHO, is a good example of the M-V-C pattern, implemented using > CGI::Application.
I like that division as well. However, your Controller modules could still grow large. Say you have 40 run modes in a module. At any given time, you are using 1 to 3 of them. One solution is to throw mod_perl at it, but I'm still interested in other ideas to structure the code to minimize load time. In my Cascade project, http://summersault.com/software/cascade , I think over 20 run modes are always being loaded, and performance seems very reasonable without mod_perl. That project is mostly used for administration purposes, so it would rarely ever be "high-traffic" in the common configurations. -mark http://mark.stosberg.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
