[FLOW3-general] valueObjects in FLOW3
Regine Rosewich
regine.rosewich at hoellenberg.biz
Thu Oct 13 19:07:05 CEST 2011
Hi Robert,
the project I'm actually working on has several objects/classes which would
be a lot easier to handle if valueObjects were available. A very good
example is the party-network (TYPO3\Party) which I enhanced for my purposes
with postal-addresses, phone-numbers, and organizations. As a postal-address
consists of the properties "street, streetNumber, country, state,
postalCode, city", the only way to realize the immutability of a postal
address is to generate a unique index consisting all those fields and either
always check whether a new postal address is already existing by querying
the postal addresses or listen to the exception thrown if the index is
duplicated.
So I would say, yes there is a true demand.
Regine
> -----Ursprüngliche Nachricht-----
> Von: flow3-general-bounces at lists.typo3.org [mailto:flow3-general-
> bounces at lists.typo3.org] Im Auftrag von Robert Lemke
> Gesendet: Donnerstag, 13. Oktober 2011 17:22
> An: General discussion about FLOW3
> Betreff: Re: [FLOW3-general] valueObjects in FLOW3
>
> Hi Regine,
>
> Am 13.10.2011 um 15:08 schrieb Regine Rosewich:
>
> > is there anything new concerning the long awaited support for
> > valueObjects in FLOW3?
>
> no, not yet. If there's a true demand, we can tackle this for 1.1
> though.
>
> Cheers,
> Robert
More information about the FLOW3-general
mailing list