On Thu, Feb 21, 2008 at 9:13 AM, Bram - Smartelectronix
<[EMAIL PROTECTED]> wrote:
>  I was looking at that before, but... aren't django signals mostly for
>  one-sided communication? I.e. I signal something, someone else catches
>  it and does something.
>
>  In wordpress it's very much 2-sided communication...


2 sided as in the hook gets the info back from the plugin?

Djangos Dispatcher does this, the sender gets the results back from
the receiver. I do not believe Django makes use of this anywhere (but
have not checked to be sure)

To write a plugin manager in your case you would have to write your
own sender, so that each consecutive plugin listening to a particular
signal, got the results from the previous plugin not the unmodified
results

Totally Untested example based on the webcast you linked to (
http://dpaste.com/36295/ )

The majority of your work would come in creating the signals, and what
each signal should contain and where it should be sent from

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to