[development] Drupal Folder Structure

Josh Miller JoshM at haanmc.com
Thu Nov 19 14:15:10 UTC 2009


Is there anyone else worried that the Drupal folder structure encourages
users to drop modules or themes into the wrong place? Wouldn't you like
to have a folder structure that separates core from the rest of the
customizable sites folder?

As this issue could blow up in the issue que
(http://drupal.org/node/22336) perhaps a short discourse on the mailing
list is in order. It's weird that we all care so much about coding
standards and yet we let our folder structure look so thrown together.

Perhaps I'm wrong. I have feeling the real reason we are putting up with
such a confusing structure is that moving files can introduce a big wtf
and some might think we should leave it well enough alone. On the other
hand, I believe it's broken and not at all grokable for 100% of the
newbies.

For fun, here is D7's folder structure as it stands from drupal.org
project packager (not cvs) five minutes ago:

 

includes/

misc/

modules/

profiles/

scripts/

sites/

themes/

 

.htaccess

CHANGELOG.txt

COPYRIGHT.txt

INSTALL.mysql.txt

INSTALL.pgsql.txt

INSTALL.txt

LICENSE.txt

MAINTAINERS.txt

UPGRADE.txt

authorize.php

cron.php

index.php

install.php

robots.txt

update.php

xmlrpc.php


Thoughts and comments are very much appreciated and encouraged.

Josh



 

_____________________________________

Josh Miller

Web / Technology Director

 

Haan Marketing + Communications

http://www.haanmc.com/

123 N. 8th Street, Lafayette, IN  47902-0350

 

T. 765.423.5470

F. 765-742-2881

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20091119/07ce0dfa/attachment.html 


More information about the development mailing list