[TYPO3-doc] proposal: TS prevention of ambiguous namings

Martin Schoenbeck ms.usenet.nospam at schoenbeck.de
Sun Mar 12 17:12:34 CET 2006


Hi Elmar,

Elmar Hinz schrieb:

> How to prevent this double entendre of TS namings?
> 
> I would propose to use the terms of xPath on the syntax level and to
> speak of "leaves" and "nodes" instead of properties here. Then we can
> make very clear definitions:
> 
> 1.) Nodes have a dot at the end of their name.
> 2.) Leaves have not a dot at the end of their name.
> 3.) Leaves and nodes can occur as a pair, of the same name each with
> the different of the ending dot.
> 4.) Data types both define leaves and nodes.
> 5.) Regularly data types define the common behaviour of a leaf node pair.
> 6.) Properties describe the leaf part of a pair or a single leaf.
> 7.) Functions describe the node part of a pair or a single node.
> 8.) Objects are defined by a leaf node pair where the leaf is the
> Object class and the node is the container of the object.

Very good idea. Having this in the introduction to TS could have made TS
behaviour transparent to me at the first glance. 
 
Martin
-- 
Bitte nicht an der E-Mail-Adresse fummeln, die paßt so.



More information about the TYPO3-project-documentation mailing list