[Koha-bugs] [Bug 7176] New: Split C4::Context into submodules

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sun Nov 6 05:30:20 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7176

             Bug #: 7176
           Summary: Split C4::Context into submodules
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
        AssignedTo: paul.poulain at biblibre.com
        ReportedBy: ian.walls at bywatersolutions.com
         QAContact: ian.walls at bywatersolutions.com
            Blocks: 7119


C4::Context currently does way too many things:

Reading koha-conf.xml
Retrieving system preferences
Connecting to Zebra
Connecting to the database
Getting marc from a Koha field
Handling stopwords
Setting user environment
Showing versions of installed software

Breaking this down into submodules (C4::Context::Preferences, C4::Context::DBH,
C4::Context::Config, etc) would allow us to only call the parts we need in any
given place, reducing the overhead of loading a page.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list