On 2/8/06, Josias Thoeny <[EMAIL PROTECTED]> wrote:
> Basically we're trying to unify documents and assets (from Lenya 1.2),
> right?. I could also imagine to call everything "document" instead of
> "asset".
> For me it's more natural to call a JPEG a "document", than to call an
> XHTML document an "asset". But it's a matter of personal preference...

"Document" is already well-defined.
"Asset" was defined in previous versions of Lenya.

Using either term for the generic will confuse people.  I think having
terms that imply the XML vs. Non-XML distinction is important because
Lenya is XML-based and must treat XML differently than non-XML.  The
following snippet does not make sense to me, and should break Cocoon:
   <map:generate src="image.gif"/>
   <map:transform src="mytransform.xsl">
   <map:serialize type="binary"/>

We are moving Assets to the top-level of Content as siblings to
Documents.  (If we are not, this discussion is almost pointless.)  A
generic term for all children of Content, both Documents and Assets,
would be very useful.  "Resource" and "ContentItem" are the popular
candidates.

solprovider

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to