[TYPO3-mvc] extending news

Georg Ringer typo3 at ringerge.org
Tue Nov 15 17:18:08 CET 2011


Am 15.11.2011 17:10, schrieb Bastian Waidelich:
> In Extbase we won't have that feature. But if you only need the fields
> in the Backend & Templates there are possible work-arounds. See [1] for
> some infos and ideas we collected at the last DevDays.
>
> [1]
> http://forge.typo3.org/projects/typo3v4-mvc/wiki/Implementation_of_mixinsextendable_domain_models

IMO using the DI is not an option at all as it allows 1 override per 
extension and you can't use 2 extensions from TER without modifying 
those. (as written in the wiki already).

so there is really a need for a better built in solution! Just thinking 
"loud": what about adding new properties via TS

tx_news_domain_model_news.addProperties {
	fobar {
		var = string
		validate = Tx_Fobar_Validation_FoValidation
	}

}

?

georg


More information about the TYPO3-project-typo3v4mvc mailing list