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

--- Comment #41 from David Cook <dc...@prosentient.com.au> ---
I do have another idea... based on what Dobrica said at
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8437#c7

When using Plack, we could re-direct away from export.pl to a URL where we have
mounted a PSGI application (e.g. we could use Mojo::Serve::PSGI like we do with
the REST API).

This would also give us a path forward to transition away from CGI to Plack.

The tools/export.pl file is actually pretty short, and the majority of the
logic is in Perl modules (the "model" in MVC terms). The .pl files are
basically just overloaded controllers (in MVC terms). 

I don't have time today, but maybe I would be willing to work on a solution for
this. We could keep the existing template file (or "view" in MVC terms), and
just provide an alternative controller. 

We could deprecate tools/export.pl and focus in favour on a PSGI controller.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to