File Naming Conventions
This is deprecated
A brief summary of how to name (and where to put) files for PoC
Modules
/src/modules/class-[ModuleName].php
Where [ModuleName] is the first portion of the [URL Structure] and is also the name of the object.
class ModuleName Extends DataObject
{
/*.code.*/
}
Utility (procedural) Functions
/src/util/util-[DescriptiveName].php
Where [DescriptiveName] is something descriptive. For example, util-UrlTitle.php would be a utility function (and required supporting functions) that fetches an url.
Utility (class/object) Functions
/src/util/class-[DescriptiveName].php
Where [DescriptiveName] is something descriptive. And the object name matches. For example, class-AutoWords.php would be a class that extends Data Object? and manipulates a block of text to link certain words.
Template Files
CSS Files
JS Files
Image Files (non uploaded)
The Tree
/ |--/config |--/src | | | ---/modules | ---/util |--/js |--/css |--/images |--/template
See Also: Coding Standards, Reserved Module Names, Templates
more to come...