Put general "business logic" in a seperate class that is "use"d in your
"Display" modules. Allows you to use the business logic in other
applications, including non-CGI CLI applications or scripts.
Does this list have a FAQ? I think I have seen questions very similar to
this many times.
Brian
----
Brian T. Wightman
suppressed
414.524.4025
suppressed
To: suppressed
11/05/02 02:46 cc:
PM Subject: [cgiapp] Length of Application Modules...
I'm just completing my first major project with CGI::Application (I've done
a couple of small, three run mode apps) and I'm kind of wondering how my
code stacks up against what others are doing. My application module is
1804 lines long, with a file size of 67K. It contains 26 runmodes. I know
that a lot of people are in favor of using smaller modules to handle
classes of users instead of one massive module, but I think I would be
repeating a lot of code with that approach. Thoughts? I'd like to
continue to improve my technique as I'm sure I'll be writing more with
CGI::App.
Thanks! =)
--TWH
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.