There is a quite similar question here: What's the difference between a twistd plugin and a twistd service?
And the answer is:
A plugin is nicer in that you can have command-line options
When i started learning twisted i was working with an existing application, and i was confused where is the entry point, which was somewhere in twisted/plugins
folder.
From then my preferred way is using tac
files in the top folder, but now i got to a point when i need to pass some command line arguments to my script. And i am told to use twisted application plugins.
I am confused by the term plugin
in twisted. For me it means somethings that changes an application in a seamless way - you don't really have to know they exist - they just 'plug in' into your application changing its behavior.
But i cannot understand the conceptual difference between twisted applications and twisted application plugins. For me - they serve the same purpose, but are given different features - why?
When should i use twisted applications and when plugins?