The skin layer/directory resources vs browser views/resources is an interesting issue. There are a few products (CSSManager comes to mind) that build on the skin layer and dtml based stylesheet way of doing skinning. Skins that don't do the "DTML thing", lose the benefit of these products. In Plone OOTB theme project (<a href="http://www.openplans.org/projects/ootb-plone-themes/">http://www.openplans.org/projects/ootb-plone-themes/</a>), the consensus has been that we should be sensitive to this and include dtml based css files, preferably in skin layers.<br>
<br><div class="gmail_quote">On Mon, May 19, 2008 at 3:49 PM, Martin Aspeli <<a href="mailto:optilude@gmx.net">optilude@gmx.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Wichert Akkerman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Previously Martin Aspeli wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Wichert Akkerman wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Right now we have one solution: skin layers. Until the new stuff is used<br>
that is what people should be using. Consistent, flexible, and well<br>
documented. <br>
</blockquote>
For the record, I disagree with this (and so does my book).<br>
<br>
I think browse views are vastly superior to skin layer templates, because they give you a sensible place to put view logic. Last I checked, they do cache in CacheFu as well.<br>
</blockquote>
<br>
Browser views do cache. Browser resources do not.<br>
</blockquote>
<br></div>
True that. I wonder how hard it'd be to fix, since we fixed it for views?<div class="Ih2E3d"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Style sheets and images don't, and people may prefer skin layers.<br>
</blockquote>
<br>
Style sheets often want DTML, which is not supported in browser<br>
resources.<br>
</blockquote>
<br></div>
Indeed. Although DTML there is fairly nasty anyway. :)<div class="Ih2E3d"><br>
<br>
Martin<br>
<br>
-- <br>
Author of `Professional Plone Development`, a book for developers who<br>
want to work with Plone. See <a href="http://martinaspeli.net/plone-book" target="_blank">http://martinaspeli.net/plone-book</a><br>
<br>
<br>
_______________________________________________<br></div><div><div></div><div class="Wj3C7c">
Product-Developers mailing list<br>
<a href="mailto:Product-Developers@lists.plone.org" target="_blank">Product-Developers@lists.plone.org</a><br>
<a href="http://lists.plone.org/mailman/listinfo/product-developers" target="_blank">http://lists.plone.org/mailman/listinfo/product-developers</a><br>
</div></div></blockquote></div><br>