CodeBork | Tales from the Codeface

The coding blog of Alastair Smith, a software developer based in Cambridge, UK. Interested in DevOps, Azure, Kubernetes, .NET Core, and VueJS.


Project maintained by Hosted on GitHub Pages — Theme by mattgraham

I recently posted a question to Stack Overflow. This is a great developer community site run by Jeff Atwood and Joel Spolsky that’s currently in private beta. It’s a good mixture of discussion forum, Digg-style ratings’ site, and wiki that promises to become a truly invaluable resource once development is complete; it’s well on its way already! The idea is that ordinary developers post questions and the community responds, with both questions and answers being voted upon by the community.

I’ve included my question below to gain the issue a bit of extra exposure. If you have a stackoverflow.com account, please visit my question and post a response there, or vote on the question and any existing answers. Alternatively, please leave a comment on this post with your thoughts.


First off, there’s a bit of background to this issue available on my blog:

I’m aware that the descriptions in those posts aren’t hugely clear, so I’ll try to summarise what I’m attempting as best I can here. The application is a personal finance program. Further background on the framework itself is available at the end of this post.

There are a number of different types of plug-in that the framework can handle (e.g., accounts, export, reporting, etc.). However, I’m focussing on one particular class of plug-in, so-called data plug-ins, as it is this class that is causing me problems. I have one class of data plug-in for accounts, one for transactions, etc.

I’m midway through a vast re-factoring that has left me with the following architecture for data plug-ins: