[Checkins] SVN: z3c.resourceinclude/trunk/README.txt Added
commentson resource ordering.
Malthe Borch
mborch at gmail.com
Mon Mar 3 03:20:53 EST 2008
Hey Roger, ––
Now I understand better.
> The viewlet allows you to use a weight argument, the
> default viewlet manager sorts on that if abvailable.
> That's very good if you like to override CSS or JS
> and you have make sure that you custom CSS or JS renders
> at the end.
Right.
> zope.viewlet.viewlet offers JS and CSS viewlets, even
> resource bundle are possible to use. The resource files
> get registered with the resource directive.
> Are you sure that z3c.resourceinclude does not the same like this
> viewlets?
> [snip]
> I didn't take a closer look at resourceinclude. But are you aware of
> the concepts in zc.resourcelibrary, zope.viewlet and z3c.zrtresource?
I am well aware of the first two, but I haven't investigated the third.
What z3c.resourceinclude is all about, and which I have an
implementation sketch for, is *merging* resources of similar kinds
based on some grouping notion. Currently, that notion is whether
they're included for the same (marker-)layer.
It's very tricky to understand what these resource libraries offer and
what their limitations are; when I wanted to add merging-support to
zc.resourcelibrary I found that the architecture of the package simply
wasn't cut out for it.
\malthe
--=====================--
mail: mborch at gmail.com
homepage: zeitmaschine.dk
--=====================--
More information about the Checkins
mailing list