[TYPO3-mvc] RFC: #8083 define default __toString method in Tx_Extbase_DomainObject_AbstractDomainObject
Martin Kutschker
masi-no at spam-typo3.org
Wed Nov 10 14:21:24 CET 2010
Am 10.11.2010 11:50, schrieb Franz Koch:
>
> For me the workaround was to use {enterprise: job.enterprise.uid}.
But why use an implementation detail of the persistence layer? The uid is probably not the
identifier of your entity (in domain terms). Ideally you should never see nor use the uid outside
the persistence layer.
Maybe the abstract domain model needs the concept of an identifier field to be set by the concrete
models.
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list