the logic of plugin organization

60 views
Skip to first unread message

Robert Futrelle

unread,
Feb 5, 2014, 11:06:38 AM2/5/14
to js...@googlegroups.com
In the video demo, the main() appears to be using the name of the plugin, 'CoolPlugin'.
But normally, the main app would be unaware of the existence of plugins.
The plugins would merely  'use' the main app API, under the covers.
I assume that that organization was used just to make the demo very simple.

I would presume that in a normal plugin-affording app, there would be a location in which plugin builders could place their code (jars(?)) and the main app would start up whatever it found.  That's the organization I would assume for plugin use.

I'm familiar with a lot of stuff, but essentially zero about plugins, so far.

BTW:  Reproducing the code from the video was slightly crazy.  I had to freeze the video every few seconds to see the development to that point.  Makes sense, but nothing I had experienced to date.  In the end, I did manage to create all of the code shown in the video.

   -  Tyro Bob

Reply all
Reply to author
Forward
0 new messages