I assume that C4::Context's overriding of Exporter's import method is a big problem for anyone wishing to run more than one Koha instance on a mod_perl enabled machine. While it's convenient to be able to just call C4::Context->dbh to get the active db handle from Context's package global $context, I think we will have to refactor much of Koha's api and start passing a $context object around instead of using the package global. Am I missing something, or will this be necessary to run multiple Kohas under mod_perl ? Ryan On Mon, Nov 24, 2008 at 8:38 AM, Andrew Moore <andrew.moore@liblime.com>wrote:
On Sat, Nov 22, 2008 at 7:24 PM, Rick Welykochy <rick@praxis.com.au> wrote:
Joshua Ferraro wrote:
Speed is definitely a major concern here ... and I believe it's one of the reasons that Koha originally wasn't written with an ORM. Andy, any thoughts about what this choice will mean w/respect to performance?
The use of mod_perl would speed things up by an order (and a half) of magnitude, giving the software more leeway to use abstractions like an OR mapper.
Hi Rick -
I've long suspected that Koha could benefit from using mod_perl, too. Do you know of any work done to see if it's possible or what changes would need to be made in order to allow it?
Thanks, -Andy _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
-- Ryan Higgins LibLime * Open-Source Solutions for Libraries Featuring KohaZOOM ILS 888-564-2457 x704