Creating a web application that can be extended by plugins/modules
Posted
by Adam Pope
on Stack Overflow
See other posts from Stack Overflow
or by Adam Pope
Published on 2010-04-05T20:23:50Z
Indexed on
2010/04/05
20:33 UTC
Read the original article
Hit count: 232
I'm currently involved with developing a C# CMS-like web application which will be used to standardise our development of websites. From the outset, the idea has been to keep the core as simple as possible to avoid the complexity and menu/option overload that blights many CMS systems. This simple core is now complete and working very well.
We envisisaged that the system would be able to accept plugins or modules which would extend the core functionality to suit a given projects needs. These would also be re-usable across projects. For example, a basic catalogue and shopping basket might be needed. All the code for such extensions should be in seperate assemblies. They should be able to provide their own admin interfaces and front-end code from this library. The system should search for available plugins and give the admin user the option to enable/disable the feature. (This is all very much like WordPress plugins)
It is crucial that we attack this problem in the correct way, so I'm trying to perform as much due dilligence as possible before jumping in.
I am aware of the Plugin Pattern (http://msdn.microsoft.com/en-us/library/ms972962.aspx) and have read some articles on it's use. It seems reasonable but I'm not convinced it's necessarily the correct/best technique for this situation. It seems more suited to processing applications (image/audio manipulation, maths etc).
Are there any other options for achieving this kind of UI extensibility functionality? Or is the plugin pattern the way to go?
I'd also be interested if anybody has links to articles that explain using the plugin pattern for this purpose?
© Stack Overflow or respective owner