in reply to Building a Large-scale E-commerce Site with Apache and mod_perl
in thread Three-layer web application architecture
The downside of how we did it is that you would not have been able to call one of those actions from a cron job or other command-line script in any easy way, although you could certainly call the data objects. In a project I just finished working on, we used CGI::Application, and it is possible to use CGI::Application run-modes as "action" objects to some degree. They can be called from test scripts fairly easilly, although you have to pass your params through a CGI object.
|
|---|