Plugin System

Submitted by plepe on Wed, 09/08/2010 - 20:02

Lately I was thinking about a plugin system for OpenStreetBrowser. I thought, wouldn't it be nice to have a infrastructure to write plugins which can be disabled/enabled when needed? The plugins should talk with the main infrastructure via defined APIs and functions, but shouldn't need any changes in the main code (maybe some well-thought additional hooks and functions).

Yesterday night/today in the morning I jumped right in and wrote a simple plugin system. It's just a proposal yet, but I think it's a good idea if you have something to talk about. You can check out the code of the plugins on Gitorious and read some documentation in the OSM-Wiki.

What do you think?