kahless wrote on 05/07/07 23:02: > Hi, > I've found documentation on how to make applications to work together > smoothly .. but is there also some documentation on how i could make > an application (or views of an application) extensible.. > > For example like in eclipse having "extension points" where 3rd party > applications could hook into .. and extend the original > functionality .. > in specific i need this (e.g.) for a user profile view.. my project > consists of multiple applications and i want them all to be > independent .. and also have personal settings on their own.. > so i would have a community application which is responsible for > registration & co .. and would also allow the user to change his > profile and edit settings.. but what if i want to make it easily > possible for my wiki and board applications to contribute additional > settings to this view ? is there any django specific way to do > something like it, or any thoughts on how i could implement a generic > interface for such a problem ? > > i guess the signal API would be one possibility ? to simply send out > specific signals like 'render_profile' and 'post_profile' where > multiple application could listen to and respond accordingly ? > > i don't expect that there is any ready-to-use solution out there, so i > would welcome any thoughts on that ;) .. >
Hi I've found the following [1] a good starting point for similar functionality in some of my projects. Check out the file <trac-dir>/trac/core.py. [1] http://trac.edgewall.org/wiki/TracDev/ComponentArchitecture cheers Steven --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---