The Drupal ecommerce module suite is a rapidly evolving and quite massive part of Drupal, and newcoming developers may be overwhelmed by the sheer number of modules included in the suite. This UML dependency diagram chart should help understand how the modules fit together.
The documentation lists dependencies in text form:
... but I thought grouping modules visually by their respective field of application makes it easier to understand. This is what the diagram above shows (click for full-size image). Although some modules do not clearly belong in one field, there are four main functional areas in e-commerce:
- "inner core": the basic building blocks for all ecommerce features: store, product, cart, and payment.
- shipping: everything related to product shipping
- products: all modules defining specific product types
- payment: modules defining payment methods/
Some notes are in order: the "inner core" abstract package does not actually exist ; it is only there to improve the dependency readability. Modules marked as having a dependency on inner core actually depend on one or more of the inner core modules, abbreviated as the link caption (c: cart, pa: payment, pr: product, s: store).
This grouping also shows that some dependencies, although not listed in the table, might well be actually existing. A lot of payment modules, for instance, are not documented as depending on
CAVEAT EMPTOR: both pages on drupal.org may be incomplete or inexact and, since this chart is based upon their version on 2006-10-07, it may include similar errors. Should you find out missing or incorrect dependencies, you're more than welcome to comment on this post, and I'll revise the chart and d.o. pages accordingly.
Where can I get the diagram source?
(I want to add a few modules)
And which editor do you recommend to use to create similar diagrams (on windows)?
Thanks in advance,
eCommerce diagram drawing tool
This diagram, as most others on my blog, have been created using
Note, however, that this is not a php-oriented tool: it is intended
as a two-way modeling addon for Pascal and C# IDEs from CodeGear
and Microsoft, namely Delphi, C# Builder, and Visual Studio.NET