I'm having trouble with a concept. When I think of a plugin I think of an isolated component the main application does not depend on, but can use if it exists. Developing a feature as a plugin will create a dependency on those plugins or that type of plugin.
So I'm thinking the best way to make plugins feature worthy is by creating a controller that can be used for rendering installed "feature" plugins. Then in the Nop.Web application (where needed) we can just call
RenderAction("Feature" new { FeatureType })
. The controller checks for installed plugins and renders the first one with matching criteria.In the mean time I'll have to add a dependency on my new plugin.
Before I publish my article I want to make sure I'm not leading readers astray if I create this dependency on a plugin.
nopCommerce developers what do you think?