[TYPO3-50-general] TS 2.0: document object hierarchy
Martin.Kutschker at n0spam-blackbox.net
Mon Apr 30 11:34:19 CEST 2007
To replace the old PAGE object I suggest the following class hierarchy:
Has the properties "mimeType", "characterSet" and "language" (and perhaps
anythig else that can be sent via HTTP headers).
TEXTDOCUMENT extends DOCUMENT
This one has also an "content" property which is a CONTENTOBJECTARRAY.
(Awfully long, and perhaps we shouldn't call them content objects).
XMLDOCUMENT extends DOCUMENT
Has also "xmlVersion" and "documentType" plus a "body" (or "content").
XHTMLDOCUMENT extends XMLDOCUMENT
Adds "head" to the property set. I'm undecided if it gets "body" if
XMLDOCUMENT has "content" and what "content" will hold in this case.
More information about the TYPO3-project-5_0-general