Drupal Architecture Diagram?

neko - February 12, 2003 - 12:10

Hi guys,

Just wondering if there is a Drupal architecture diagram(s) - I think some nice diagrams would help understanding how everything fits together.

I'm thinking class diagram, rendering pipeline (sequence diagram?) ER diagram for the database etc.

Always good to keep a systems documentation up to date

cheers,
neko

nuthin

moshe weitzman - February 12, 2003 - 14:59

we don't have anything like that, as far as I know. Something as elegant as Drupal does deserve some pretty diagrams though. Hope someone is inspired to produce this.

Diagrams of Drupal

Anonymous - February 13, 2003 - 22:28

Here Here! Excellent thoughts. The diagrams are a real MUST have!

Uhm

Anonymous - May 21, 2003 - 17:09

(just stumbled in by random)

Isn't the diagram a help to create the database? Not the other way around?? Just skip the diagram guys! You should have had it before you made the database!

I beg to differ

chaska@blogger.com - May 23, 2003 - 15:43

It's always good to have documentation, even if it is written after the fact, instead of before.

As for an Entity-Relationship (ER) diagram of the database, it is definitely worth having even after the database is made. It makes the database easier to understand for someone new to working on Drupal. And if there is every any change to the database, it will be just as invaluable as having created it before the first database.

If you've got an ER tool, it's even better because you can reverse engineer the current database into an ER diagram, and then generate the database after making changes in the tool to the diagram.

Is the database relatively normalized (e.g. 3rd or 4th normal form) for most of the tables? If so, I've got Sybase's Power Designer here and can reverse engineer the database with a little help on getting the non-obvious relationships connected.

ER Reverse Engineering

Anonymous - July 20, 2003 - 20:38

Try downloading dbdesign from fabforce,com. It's GPL, windows app, and is a pretty good ER diagrammer designed for MySQL and can reverse engineer a database into a diagram very well. I tried it on the Drupal db and it worked fine.

ER Designer

emerygjr - May 11, 2007 - 23:07

It is fabforce,net

there is an ER diagram of the drupal database

ax - July 20, 2003 - 21:24

made by slavica here

This would be sooo helpful.

kenyob - December 7, 2006 - 21:36

Does anyone have a copy of the image posted above?

I found the old link on archive.com but the ERD PNG image isn't available:
http://web.archive.org/web/20041114055745/drupal.org/node/1805

Im looking for a simple diagram showing how the template system works together.
Its kind of comfusing because the tpl files use php variables like $content .
However other than hackinf through the css and php code there is no way to see how one tpl file fits and relates to another along with the CSS related elements.

Jeff Eaton has some great

ChrisKennedy - May 12, 2007 - 09:11

Jeff Eaton has some great diagrams on aspects of the Drupal system, primarily the FormAPI:

Development cycle - http://jeff.viapositiva.net/node/477
Drupal form processing - http://jeff.viapositiva.net/node/457 (see attached image)
FormAPI 3.0 - http://drupal.org/node/138706#comment-233445 and http://drupal.org/node/138706#comment-233448

Edit: wow, I didn't notice initially that this was such an ancient topic.

Guys, I'm looking for Drupal Architecture diagrams

zulukool - June 13, 2008 - 22:21

Greetings,

I'm looking for Drupal Architecture diagrams for a document I'm putting together.

If there are none I'll draw em up and contribute them back.

Any new updates on this front.

Arman.

Yes please

colin_e - June 21, 2008 - 11:28

I've just negotiated with the supplier of a Drupal-hosted site a regular export of the database for reporting purposes. I think i'm going to be wandering around in the dark without some clues on the db structure, so please do post any diagrams.

(This is Drupal 5 BTW, I assume 6 is significantly different?)

Regards: Colin

 
 

Drupal is a registered trademark of Dries Buytaert.