[TYPO3-mvc] RFC: #8083 define default __toString method in Tx_Extbase_DomainObject_AbstractDomainObject

Martin Kutschker masi-no at spam-typo3.org
Wed Nov 10 16:22:15 CET 2010


Am 10.11.2010 14:46, schrieb Franz Koch:
>
>> Maybe the abstract domain model needs the concept of an identifier field to be set by the concrete
>> models.
> 
> well, this is not FLOW3 and we're more or less bound to the v4 world, and there the uid is the
> identifier for anything. I know that a dedicated identifier field might be better in domain terms,
> also in order for dealing with objects created from other data sources that might use different
> identifiers, but adding support for those might become a bit of a work I fear (how to validate a
> correct identifier for a specific model and prevent XSS etc). Also currently I don't see a urgent

Just a sudden insight I wanted to share with the world :)

Masi


More information about the TYPO3-project-typo3v4mvc mailing list