Hi Everyone, I have semi-recently been working on a port of Koha to the Catalyst framework. I started right after school was out and didn¹t get a chance to spend much time working on it. I am taking my last class this summer and will be done in August and would like to pick my work back up on this port. What I would like to do is solicit opinions for what I could do as a proof of concept. I started work on re-writing notices when it occurred to me that this may not be something that anyone is interested in seeing. For those of you that don't know Catalyst is an MVC based framework written in perl. I believe that moving Koha to Catalyst would not only clean up the codebase but also help with the logical flow of code. I know when I first started developing for Koha the two most daunting tasks were navigating the codebase, and figuring out what pointed where. I am not suggesting that we all jump on a giant rebase project right now, but I would like to look into it and get opinions. Catalyst has a very active development community and seems to be very well supported. It already has support for Template Toolkit, Apache Solr, Plack, and a whole lot more. If you want to find out what is supported (which I encourage) you can hit up their website at http://www.catalystframework.org/. You can also find my latest work at: https://github.com/libsysguy/koha-catalyst. It is obviously not complete but it will run and give you a basic idea of the code structure. Let me know your thoughts and ideas, I'm excited to hear what you have to say (Even if it is "Elliott you've lost your mind"). All the Best, Elliott Davis
On 2012-07-20, at 11:15 AM, Travis Elliott Davis wrote:
Hi Everyone,
You can also find my latest work at: https://github.com/libsysguy/koha-catalyst. It is obviously not complete but it will run and give you a basic idea of the code structure. Let me know your thoughts and ideas, I'm excited to hear what you have to say (Even if it is "Elliott you've lost your mind").
All the Best,
Elliott Davis
awesome stuff! i'll definitely take a look... :)
Elliott Davis wrote:
https://github.com/libsysguy/koha-catalyst. It is obviously not complete but it will run and give you a basic idea of the code structure. Let me know your thoughts and ideas, I'm excited to hear what you have to say
Probably a good idea! My two concerns would be: 1. performance - last time I tried something similar with a simpler app (years ago), catalyst was big and not particularly fast, but maybe now Koha is complicated enough that it wouldn't be a big hit and would make work much faster; 2. there's currently a challenge for Catalyst in debian (and maybe Ubuntu as a consequence). You can read more about it at http://comments.gmane.org/gmane.linux.debian.devel.perl/10351 - maybe that needs some help too. Thanks, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op. http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/
slef, Both good thoughts. On the issue of performance you are correct catalyst is big. I am not sure if there would be a performance loss or not. My inclination would be to say about the same but that is just my intuition. Having used Catalyst several years ago as well there were some things that hurt its performance that I feel have been remedied. I would be open to a way to do performance testing between the two and see how it comes out. Obviously the problem here is that you can't really compare them side by side since only one is built. I feel like you could do some smaller unit test on functions to see how they perform. You are also correct with the comment about Catalyst and Debian packages. There is a stable version of Catalyst that still works in packages but there are modules that aren't compatible with it (namely CatalystX). I have had good luck compiling catalyst from CPAN. Anyway, thanks for checking it out and providing some feedback! A little update, I'm afraid my github repo is a little unstable at the moment while I get everything moved from a package install to a compiled install. On Jul 26, 2012, at 12:46 PM, MJ Ray wrote:
Elliott Davis wrote:
https://github.com/libsysguy/koha-catalyst. It is obviously not complete but it will run and give you a basic idea of the code structure. Let me know your thoughts and ideas, I'm excited to hear what you have to say
Probably a good idea! My two concerns would be:
1. performance - last time I tried something similar with a simpler app (years ago), catalyst was big and not particularly fast, but maybe now Koha is complicated enough that it wouldn't be a big hit and would make work much faster;
2. there's currently a challenge for Catalyst in debian (and maybe Ubuntu as a consequence). You can read more about it at http://comments.gmane.org/gmane.linux.debian.devel.perl/10351 - maybe that needs some help too.
Thanks, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op. http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Please can you help me with this reservoir problem: Koha version: 3.08.01.002 OS version ('uname -a'): Linux bcp-library 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686 i686 i386 GNU/Linux Perl interpreter: /usr/bin/perl Perl version: 5.014002 Perl @INC: /usr/share/koha/lib /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 /usr/local/lib/site_perl . MySQL version: mysql Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (i686) using readline 6.2 Apache version: Server version: Apache/2.2.22 (Ubuntu) Zebra version: Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 419ad759807269fdfa379799a051ed3a551c6541 Using ICU ---------- Forwarded message ---------- From: Travis Elliott Davis <elliott@bywatersolutions.com> Date: Fri, Jul 27, 2012 at 2:26 AM Subject: Re: [Koha-devel] Koha Catalyst Work To: MJ Ray <mjr@phonecoop.coop> Cc: koha-devel@lists.koha-community.org slef, Both good thoughts. On the issue of performance you are correct catalyst is big. I am not sure if there would be a performance loss or not. My inclination would be to say about the same but that is just my intuition. Having used Catalyst several years ago as well there were some things that hurt its performance that I feel have been remedied. I would be open to a way to do performance testing between the two and see how it comes out. Obviously the problem here is that you can't really compare them side by side since only one is built. I feel like you could do some smaller unit test on functions to see how they perform. You are also correct with the comment about Catalyst and Debian packages. There is a stable version of Catalyst that still works in packages but there are modules that aren't compatible with it (namely CatalystX). I have had good luck compiling catalyst from CPAN. Anyway, thanks for checking it out and providing some feedback! A little update, I'm afraid my github repo is a little unstable at the moment while I get everything moved from a package install to a compiled install. On Jul 26, 2012, at 12:46 PM, MJ Ray wrote:
Elliott Davis wrote:
https://github.com/libsysguy/koha-catalyst. It is obviously not complete but it will run and give you a basic idea of the code structure. Let me know your thoughts and ideas, I'm excited to hear what you have to say
Probably a good idea! My two concerns would be:
1. performance - last time I tried something similar with a simpler app (years ago), catalyst was big and not particularly fast, but maybe now Koha is complicated enough that it wouldn't be a big hit and would make work much faster;
2. there's currently a challenge for Catalyst in debian (and maybe Ubuntu as a consequence). You can read more about it at http://comments.gmane.org/gmane.linux.debian.devel.perl/10351 - maybe that needs some help too.
Thanks, -- MJ Ray (slef), member of www.software.coop, a for-more-than-profit co-op. http://koha-community.org supporter, web and library systems developer. In My Opinion Only: see http://mjr.towers.org.uk/email.html Available for hire (including development) at http://www.software.coop/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/ -- Ashok Mishra *Librarian* Bansal College of Pharmacy, Bhopal
participants (4)
-
Ashok Mishra -
Mason James -
MJ Ray -
Travis Elliott Davis