<div dir="ltr">Excellent! Do you plan on supporting the existing Koha hooks so plugins for the existing architecture can be ported? How will this work with the existing plugin system? Is the plan to make it a functional replacement so we don't have two plugin architectures?<div><br></div><div>Kyle</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><a href="https://secure2.convio.net/cffh/site/Donation2?df_id=1395&FR_ID=4715&PROXY_ID=2706639&PROXY_TYPE=20&1395.donation=form1&s_src=CHORUS&s_subsrc=CHAADOEB" target="_blank"><img src="http://widgets.ch-or.us/badge/convio/cff/4715/2706639"></a><br></div><div><br></div><div><a href="http://www.kylehall.info" target="_blank">http://www.kylehall.info</a><br>ByWater Solutions ( <a href="http://bywatersolutions.com" target="_blank">http://bywatersolutions.com</a> )<br>Meadville Public Library ( <a href="http://www.meadvillelibrary.org" target="_blank">http://www.meadvillelibrary.org</a> )<br>Crawford County Federated Library System ( <a href="http://www.ccfls.org" target="_blank">http://www.ccfls.org</a> )<br></div></div></div></div></div></div>
<br><div class="gmail_quote">On Mon, May 16, 2016 at 1:13 PM, Julian Maurice <span dir="ltr"><<a href="mailto:julian.maurice@biblibre.com" target="_blank">julian.maurice@biblibre.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
A couple of months ago, we talked about how great it would be to have a<br>
more powerful plugin system (thread subject was "Country-specific forks"<br>
[1]).<br>
<br>
The current implementation have some problems. For instance, it's not<br>
possible to properly manage plugins with a VCS (bug 15879 [2] try to<br>
address this issue)<br>
<br>
Alex and I have started to write a new plugin system, as an attempt to<br>
fix the problems of the current implementation. It's still in a very<br>
"alpha" status, but we would like to hear what you think of it.<br>
<br>
Code is in BibLibre repository, branch koha-module-poc:<br>
  <a href="http://git.biblibre.com/biblibre/kohac.git" rel="noreferrer" target="_blank">http://git.biblibre.com/biblibre/kohac.git</a><br>
<br>
Features:<br>
* VCS-compatible (every directory under the modules directory and<br>
containing a module.yaml file is a module)<br>
* Allow modules to define custom "URL routes" (see module/<a href="http://router.pl" rel="noreferrer" target="_blank">router.pl</a>)<br>
* Allow modules to modify the intranet top menu (so they can add a link<br>
to their custom routes)<br>
* Allow modules to have their own TT include files and TT plugins<br>
<br>
A sample module was made to demonstrate these features:<br>
  <a href="http://git.biblibre.com/biblibre/koha-module-LoremIpsum.git" rel="noreferrer" target="_blank">http://git.biblibre.com/biblibre/koha-module-LoremIpsum.git</a><br>
<br>
This module creates a new page which display some "lorem ipsum" text<br>
fetched from <a href="http://loripsum.net" rel="noreferrer" target="_blank">loripsum.net</a>, and add a link to this page in the intranet<br>
top menu. Very basic but it shows how it works.<br>
<br>
Quick start:<br>
1. git remote add biblibre <a href="http://git.biblibre.com/biblibre/kohac.git" rel="noreferrer" target="_blank">http://git.biblibre.com/biblibre/kohac.git</a><br>
2. git checkout -b koha-module-poc biblibre/koha-module-poc<br>
3. installer/data/mysql/<a href="http://updatedatabase.pl" rel="noreferrer" target="_blank">updatedatabase.pl</a><br>
4. misc/devel/<a href="http://update_dbix_class_files.pl" rel="noreferrer" target="_blank">update_dbix_class_files.pl</a><br>
5. mkdir /path/to/modules<br>
6. Edit $KOHA_CONF and add a line<br>
     <modules_dir>/path/to/modules</modules_dir><br>
7. cd /path/to/modules && git clone<br>
<a href="http://git.biblibre.com/biblibre/koha-module-LoremIpsum.git" rel="noreferrer" target="_blank">http://git.biblibre.com/biblibre/koha-module-LoremIpsum.git</a> LoremIpsum<br>
(note: the directory's name is important)<br>
8. Go to Administration > Modules<br>
9. Enable the module LoremIpsum<br>
10. You should now see a new link in the top menu<br>
<br>
Final note: we would like to work on it during the hackfest in<br>
Thessaloniki, so if you are interested, let us know!<br>
<br>
<br>
[1]<br>
<a href="http://lists.koha-community.org/pipermail/koha-devel/2016-February/042382.html" rel="noreferrer" target="_blank">http://lists.koha-community.org/pipermail/koha-devel/2016-February/042382.html</a><br>
[2] <a href="https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15879" rel="noreferrer" target="_blank">https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15879</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Julian Maurice <<a href="mailto:julian.maurice@biblibre.com">julian.maurice@biblibre.com</a>><br>
BibLibre<br>
_______________________________________________<br>
Koha-devel mailing list<br>
<a href="mailto:Koha-devel@lists.koha-community.org">Koha-devel@lists.koha-community.org</a><br>
<a href="http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel" rel="noreferrer" target="_blank">http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel</a><br>
website : <a href="http://www.koha-community.org/" rel="noreferrer" target="_blank">http://www.koha-community.org/</a><br>
git : <a href="http://git.koha-community.org/" rel="noreferrer" target="_blank">http://git.koha-community.org/</a><br>
bugs : <a href="http://bugs.koha-community.org/" rel="noreferrer" target="_blank">http://bugs.koha-community.org/</a><br>
</font></span></blockquote></div><br></div>