Dj Gilcrease wrote: > On Thu, Feb 21, 2008 at 6:23 AM, Bram - Smartelectronix > <[EMAIL PROTECTED]> wrote: >> Basically plugins can register with the host app and say "I want to be >> plugged in here or there" (the hook). The host app in various places has >> calls which "apply" whatever is hooked into that location. >> >> >> If anyone has any ideas or pointers as to how this could be done, please >> let me know. > > This sounds like a good application for the Dispatcher in Django ( > http://code.djangoproject.com/wiki/Signals ) > You write your own signals, that the plugins will listen for, they > manipulate the data they need and the dispatcher returns all the > responses.
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... - bram --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

