[Bug 21327] New: Add a Modular Koha Core design
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 Bug ID: 21327 Summary: Add a Modular Koha Core design Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: benjamin.rokseth@deichman.no QA Contact: testopia@bugs.koha-community.org This is a demonstration of the possibility to refactor parts of Koha into a modular design. The idea is to make use of class inheritance and method overrides to make it possible for a library to use only the parts of Koha that are relevant. It is possible to do this whilst maintaining the full compatibility of the community version, and hopefully it could help in refactoring into a more stable, maintanable and pluggable core. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 --- Comment #1 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78544 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78544&action=edit Add Core::Main Namespace - Core::Exceptions - Core::Prefs This is the main class of Core, along with siblings Prefs, to handle sysprefs and overrides, as well as Exceptions. Also included are the Makefile and koha-conf setup -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 --- Comment #2 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78545 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78545&action=edit Add Core::Circulation This is the Circulation child of Core. It is a work in progress, but ideally all neccessary subfunctions should be overridable, and it should consist of a bare minimum of functionality for handling circulation. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 --- Comment #3 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78546 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78546&action=edit Add crude Core::Community::Circulation This is the Community subclass of Circulation that should be run as default to handle the basic Circulation, and should be interchangable with todays functionality. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 --- Comment #4 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78547 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78547&action=edit Implement Core::Circulation in admin and SIP covered: C4::SIP::ILS::Transaction::Checkin->do_checkin C4::SIP::ILS::Transaction::Checkout->do_checkout C4::SIP::Sip::MsgType->handle_checkout (add branch) circ/circulation.pl circ/renew.pl circ/returns.pl -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 Benjamin Rokseth <benjamin.rokseth@deichman.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #78544|0 |1 is obsolete| | --- Comment #5 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78549 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78549&action=edit Bug 21327: Add Core::Main Namespace - Core::Exceptions - Core::Prefs This is the main class of Core, along with siblings Prefs - to handle sysprefs and overrides, as well as Exceptions - Also included are the Makefile and koha-conf setup -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 Benjamin Rokseth <benjamin.rokseth@deichman.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #78545|0 |1 is obsolete| | --- Comment #6 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78550 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78550&action=edit Bug 21327: Add Core::Circulation This is the Circulation subclass of Core. It is a work in progress, but ideally all neccessary subfunctions should be overridable, and it should consist of a bare minimum of functionality for handling circulation. It is a rewrite of C4::Circulation. To use, add this in the config section in koha-conf.xml and restart plack: <core_modules> <circulation>Core::Circulation</circulation> </core_modules> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 Benjamin Rokseth <benjamin.rokseth@deichman.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #78546|0 |1 is obsolete| | --- Comment #7 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78551 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78551&action=edit Bug 21327: Add Core::Community::Circulation This is the Community subclass of Circulation that should be run as default to handle the basic Circulation, and should be interchangable with today's functionality. It also adds SIP integration. to use, add the following in the config section of koha-conf.xml: <core_modules> <circulation>Core::Community::Circulation</circulation> <sip>Core::Community::Circulation::SIP</sip> </core_modules> This is also the default if not set. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 Benjamin Rokseth <benjamin.rokseth@deichman.no> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #78547|0 |1 is obsolete| | --- Comment #8 from Benjamin Rokseth <benjamin.rokseth@deichman.no> --- Created attachment 78552 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78552&action=edit Bug 21327: Implement Core::Circulation in admin and SIP covered: C4::SIP::ILS::Transaction::Checkin->do_checkin C4::SIP::ILS::Transaction::Checkout->do_checkout C4::SIP::Sip::MsgType->handle_checkout (add branch) circ/circulation.pl circ/renew.pl circ/returns.pl -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21327 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org