List Info

Thread: where to write a toolbox for plugin suite




where to write a toolbox for plugin suite
country flaguser name
Switzerland
2007-05-15 04:24:45
hi all,

i am currently writing a process/workflow manager based on
dokuwiki...
and i am doing this based on several syntax and action
plugins, in order
to be able to update dokuwiki easily...

i am starting to get along in dokuwiki... and i have to say
that i love
the way the events are implemented!!!

but back to my question:
      * what would be the cleanest way to define common
functions for a
        plugin suite?
      * where would you put such a toolbox.php file?
      * is it possible to put several syntax and action
plugins in a
        single /lib/plugins/folder?

cheerz... and greetz
pierre 

--
caillou on freenode

-- 
DokuWiki mailing list - more info at
http://wi
ki.splitbrain.org/wiki:mailinglist

Re: where to write a toolbox for plugin suite
country flaguser name
Germany
2007-05-15 04:31:01
Pierre Spring writes:

>       * is it possible to put several syntax and action
plugins in a
>         single /lib/plugins/folder?

Yes, if all your parts belong together this is the best way
to do it.
See http
://wiki.splitbrain.org/plugin:file_structure for
details

Andi
-- 
DokuWiki mailing list - more info at
http://wi
ki.splitbrain.org/wiki:mailinglist

Re: where to write a toolbox for plugin suite
country flaguser name
United Kingdom
2007-05-15 04:43:27
Pierre Spring wrote:
> hi all,
>
> i am currently writing a process/workflow manager based
on dokuwiki...
> and i am doing this based on several syntax and action
plugins, in order
> to be able to update dokuwiki easily...
>
> i am starting to get along in dokuwiki... and i have to
say that i love
> the way the events are implemented!!!
>
> but back to my question:
>       * what would be the cleanest way to define common
functions for a
>         plugin suite?
>       * where would you put such a toolbox.php file?
>       * is it possible to put several syntax and action
plugins in a
>         single /lib/plugins/folder?
>
> cheerz... and greetz
> pierre 
>
> --
> caillou on freenode
>
>   
Hi,

* Checkout helper plugins.  Esther is probably the biggest
user of them 
with her suite of plugins (e.g. Blog). 
* Make it a helper plugin
* Yes.  See the plugin reference pages at splitbrain, one
describes the 
plugin file structure.

e.g. for single plugin

/lib/plugins/<plugin name>/syntax.php

for multiple plugins

/lib/plugins/<plugin name>/syntax/<component
name>.php
/lib/plugins/<plugin name>/syntax/<component
name2>.php

class names will end with <plugin name>_<component
name>  (making it 
inadvisable to use an underscore in your actual plugin
name).

Chris


PS.  (iirc) Helper plugins are currently only found in DEV
version.
-- 
DokuWiki mailing list - more info at
http://wi
ki.splitbrain.org/wiki:mailinglist

Re: where to write a toolbox for plugin suite
country flaguser name
Switzerland
2007-05-15 04:52:38
thx andi and chris!

all the info was in the wiki, just didn't see it ;)

greetz ... pierre

--
(caillou on freenode)

-- 
DokuWiki mailing list - more info at
http://wi
ki.splitbrain.org/wiki:mailinglist

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )