[TYPO3-mvc] DataMapper: relations with custom constraint?

Martin Kutschker masi-no at spam-typo3.org
Tue Jan 26 15:56:57 CET 2010


Lienhart Woitok schrieb:
> 
> A few hints or pointers about how this could or should be done would be very much appreciated. Maybe there even exists a simple solution I didn't think of yet, who knows?

I you have a price for each customer it doesn't seem to me a good idea to have a prices property
attached to a product.

The logic to get the price for a customer should be moved to somewhere else. Maybe a "price service"
or something like that.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list