Re: plugin / intra process communication system

2010-02-17 Thread Diez B. Roggisch
IMHO the ones using interfaces usually immediatly implement them for some cases - so you actually get the interface for you authentication framework, and also implement an OpenID plugin for it. And this forms one package. Then you can add new packages that implement other things. So if I want to

Re: plugin / intra process communication system

2010-02-17 Thread Florian Ludwig
On Tue, 2010-02-16 at 19:20 +0100, Diez B. Roggisch wrote: > Am 15.02.10 23:12, schrieb Florian Ludwig: > > On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote: > >>> Here there problem with the trac (and other plugin systems I've > >> seen) > >>> approach: > >>> > >>> You need to define some

Re: plugin / intra process communication system

2010-02-16 Thread Florian Ludwig
On Tue, 2010-02-16 at 16:14 +0100, Paul Kölle wrote: > Am 15.02.2010 23:12, schrieb Florian Ludwig: > > On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote: > >> [...] > >> And then of course, this is not really needed. In Python, behavior > >> counts, not type-information. So you can get awa

Re: plugin / intra process communication system

2010-02-16 Thread Diez B. Roggisch
Am 15.02.10 23:12, schrieb Florian Ludwig: On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote: Here there problem with the trac (and other plugin systems I've seen) approach: You need to define something like: | | class IAuthPlugin(Interface): [...] | in your blog software. Why? Any

Re: plugin / intra process communication system

2010-02-16 Thread Paul Kölle
Am 15.02.2010 23:12, schrieb Florian Ludwig: On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote: [...] And then of course, this is not really needed. In Python, behavior counts, not type-information. So you can get away without any explicit declared interface. You might chose to not do t

Re: plugin / intra process communication system

2010-02-15 Thread Florian Ludwig
On Sun, 2010-02-14 at 18:47 +0100, Diez B. Roggisch wrote: > > Here there problem with the trac (and other plugin systems I've > seen) > > approach: > > > > You need to define something like: > > | > > | class IAuthPlugin(Interface): [...] > > | > > in your blog software. > > Why? Any reason you c

Re: plugin / intra process communication system

2010-02-14 Thread Diez B. Roggisch
Am 14.02.10 13:05, schrieb Florian Ludwig: On Sun, 2010-02-14 at 10:16 +0100, Paul Kölle wrote: Am 13.02.2010 10:50, schrieb Florian Ludwig: Hi, I'm looking for a module/plugin/intra-process-communication/hook system for python. Maybe someone here could point me to some project I missed or mig

Re: plugin / intra process communication system

2010-02-14 Thread Florian Ludwig
On Sun, 2010-02-14 at 10:16 +0100, Paul Kölle wrote: > Am 13.02.2010 10:50, schrieb Florian Ludwig: > > Hi, > > > > I'm looking for a module/plugin/intra-process-communication/hook system > > for python. Maybe someone here could point me to some project I missed > > or might have some good ideas i

Re: plugin / intra process communication system

2010-02-14 Thread Paul Kölle
Am 13.02.2010 10:50, schrieb Florian Ludwig: Hi, I'm looking for a module/plugin/intra-process-communication/hook system for python. Maybe someone here could point me to some project I missed or might have some good ideas if I end up implementing it myself. Most systems I have found are "one to