On Wed, Oct 27, 2010 at 07:51:46AM -0700, Fouts, Clay wrote:
Getting Koha to run persistently (and to do so safely!) seems like a higher priority in my estimation than the conversion to DBIC, if for no other reason than pervasive use of DBIC is going to seriously impede CGI performance. In mean time, I find that applying small, judicious use of local caching often gives a high return on very little time and additional code while not interfering with the API.
I have been playing with Plack recently. It makes use of PSGI, an interface such as CGI or FastCGI or mod_perl that sits between an application and the webserver. The benefit of PSGI is that once an application targets it, it opens up a lot of possibilities with regard to webservers and persistence. http://plackperl.org One of the most informative talks listed is: Plack: Superglue for Perl web frameworks and servers http://www.slideshare.net/miyagawa/plack-at-oscon-2010 As a quick test, there are some Plack modules that allow you to test out CGI scripts in a Plack environment: http://search.cpan.org/dist/Plack/lib/Plack/App/WrapCGI.pm http://search.cpan.org/dist/Plack/lib/Plack/App/CGIBin.pm -kolibrie