Grouped modules by name or by type???
Posted: Thu Mar 15, 2007 6:21 am
Assume you have a application compoed of several pages, each page consists of several components or entities (language files, images, templates, etc)
Do you store those files grouped by module/page name
Or do you organize the files into directories which reflect their purpose:
Personally I go with the latter, although I am considering going with the former which would allow easy automation using convention - although I dislike the idea of implicitness it is nice once you work with it for a while.
Likely a subjective choice, but i'm curious why you would choose one over the other, naming both advantages/disadvantages would be ideal
Do you store those files grouped by module/page name
Code: Select all
aboutus/
- aboutus.tpl
- aboutus.gif
- aboutus.ini
- aboutus.lngCode: Select all
langs/
- aboutus.lng
- someother.lng
templates/
- aboutus.tpl
- someother.tplLikely a subjective choice, but i'm curious why you would choose one over the other, naming both advantages/disadvantages would be ideal