Forum OpenACS Improvement Proposals (TIPs): Re: TIP #12 (Proposed): New package directory structure

Collapse
Posted by Alfred Werner on
A different perspective on the whole matter -
what is the best way to lay these out so that e.g. a Dreamweaver user can access the ADP files and images
without messing up the nice TCL and Database code?

Does this TIP incorporate any thinking in that direction?

As the admin of an OACS instance there are times where I open directories up to designers. Don't want to risk the whole tree.

Thoughts on my post -

perhaps presenting an inverted symlink tree for www and resources would solve it ?

e.g.

/www/myblog -> /www/instance/packages/lars-blogger/www
/resources/myblog -> /www/instance/packages/lars-blogger/resources

I think then, designers using their tools and selecting image refs from a directory structure won't get botched up...

If that works, it's feasible the package manager could create/destroy the symlinks when sitemap is used to mount packages.

This doesn't address subsites - I haven't used them so I don't know how they work.

Final thought - where do CSS files go? Looking at my HEAD from last night (a scary thought) I see css files under packages in:

/www/doc
/www

should they be more properly placed under /resources in this TIP? (ditto with .js libraries?)