5
Answers

Hay all, anyone good at plugins?

Ask a question
Todd Messmann

Todd Messmann

16y
3.7k
1

I've got an app that I'm setting up to use plugins with. This is the first time I have ever attempted using plugins. I have it working, but I'm noticing that there is a lot of redundant code in the different plugins, and wanted to incorporate the common code in a core class located in the main program and utilize the magic of polymorphism to reduce the size of the plugins.

When I write everything in the main app, it works great, but when I write it as a plugin, everything falls apart. Has anyone done this before? I'm open to any suggestions or ideas, even if it means a large rewrite.

The reason for using the plugins is that this app will control a machine, and the plugins are the motion interface. Drives obsolete every few years as technologies advices. Since it will change regularly, I'm attempting to head off large rewrites of the main app by using plugins. Size matters since the plugins will be downloadable from the net.

While I can't release much of the code do to restrictions, I'm open to any input you all may have

My thanks to anyone who wants to help 

Take care one and all, and stay safe.

 


Answers (5)