|
From: alex b. <en...@tu...> - 2001-08-04 18:59:55
|
> Where do I put resources that are required by modules?
>
> I'm a bit courious. One possibility for each site:
>
> /resources/css
> /resources/js
> /resources/images/general/* < used by masters, layouts
> /resources/images/binarycloud/* < by stuff
> /resources/images/module_foo/* < module specific
> /resources/images/module_bar/*
I like "by project" - so something like:
resources/css/binarycloud.css
resources/css/project_name.css
resources/images/project_name/arbitrary_hierarchy/foo.gif
resources/js/project_name_lib.js
etc.
One of the things on my list is to publish a "spec" on where things should
go in resources.
I think images, js, and css will end up being module specific like:
resources/css/module_name/file.css
resources/js/module_name/file.js
resources/images/module_name/image.gif
resources/images/project_name/your_images.gif
So I'd stick with module name for the moment.
_a
|