How exactly is a Drupal module not a plugin? (Not a troll, a genuine question.) I don't know of a legal definition of plugin, but from a technical standpoint they fit my understanding of what a plugin is, despite the name. In the generic sense "module" would mean "somewhat discrete component of a system", while "plugin" would mean "swappable and optional component of a system". (Again, not legal definitions.)
--Larry Garfield
Refering to the references I mentioned in my previous email the
conclusion I draw is that a Drupal module that utlizes hooks cannot be
considered a plugin since Drupal does not provide a defined interface.
By defined interface I mean a discrete set of public routines that can
be called by an application the same way Drupal uses GD to manipulate
bitmap data. A Drupal module uses and can use not only hooks but a wide
range of
internal functions to Drupal (as well as of other modules) since it has
not access to a limited scope
but to all the internals of Drupal. The question here is not what a
module does but what it is allowed to do. Since Drupal fails to provide
a defined interface a Drupal module cannot be considered a plugin.
Which may also be of relevance is that that a module is perceptually
and behaviorally (from the user's POV) a part of Drupal.