[Koha-bugs] [Bug 20582] Turn Koha into a Mojolicious application

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 11 12:55:57 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20582

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Passed QA

--- Comment #76 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
This works well and is very self contained so I'm passing QA on it.

It's designed for developers only at this point, for further testing and I
would suggest we encourage devs to start running with this environment as a
stepping stone to developing with Mojolicious in mind.

Next steps:
1) We need to think about authentication; I would suggest writing a fresh Auth
mechanism designed with Mojolicious best practices in mind which can be used
initially with and intercept of the existing Koha cookies.
2) Once we have the above, we can start developing new controllers as we need
them in a Mojo focused way and setup the router to pass such routes directly to
the Mojo based controller.
3) Pick some simple controllers to migrate

Question
1) Does anyone still run under CGI only.. i.e. not via plack?  If we wish to
continue supporting this, we will need to allow setting the apache/niginx
configs to run the Mojo app in CGI emulation (which is known to be slow.. but
then CGI in Koha is now known to be slow).  I eventually see hypnotoad as
replacing both Apache/CGI and Plack running environments, perhaps with
Nginx/Apache for static resources/Proxying.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list