[development] Drupal Folder Structure

Ken Winters kwinters at coalmarch.com
Thu Nov 19 15:00:53 UTC 2009


There are two problems:

* The intuitive action (putting modules in the modules folder) is  
opposite of the correct behavior.
* Module install instructions encourage bad behavior (nesting).

It's not a major issue, but it is a usability issue and it's entirely  
fixable.

- Ken Winters

On Nov 19, 2009, at 9:45 AM, Charbel Khadra wrote:

> i don't see what you are posting is a major issue.
> any user who is going to deploy drupal application should a have a  
> minimum technical level to be able to read the basic insatallation  
> step of a module
>
>
> Charbel Khadra
> charbel at ebizproduction.com
> www.ebizproduction.com
>
>
> On Thu, Nov 19, 2009 at 4:40 PM, Ken Winters  
> <kwinters at coalmarch.com> wrote:
>
> On Nov 19, 2009, at 9:15 AM, Josh Miller wrote:
>
>> 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.
>>
>
> I'm all for moving the core modules into /core/modules, themes into / 
> core/themes (or anything equivalent) in D8.  It seems way too late  
> for D7.
>
> What we could do in the immediate is put a text file DONTTOUCH.txt  
> or whatever in those folders, with instructions on what users should  
> actually be doing.
>
> On a related note, some modules encourage users to place custom code  
> or plugin modules into [module folder]/modules,
> which is bad because they can easily be deleted when the main module  
> is updated.  I think we should discourage this.
>
> - Ken Winters
>

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


More information about the development mailing list