I\'m working on a custom CMS for my own use and was thinking about implementing a plugin system so I could extend the code a little easier. I\'m having trouble conceptualizi
PHP makes this fairly easy at a potential cost of making a mess if you're not careful. I like the Observer method where plugins register themselves to a plugin manager which notify them of what happened and wait for their action to happen.
If you don't trust plugins then you'd have to put add controls over which events you are going to allow any plugin to register for.