[TYPO3-mvc] Working with value objects

Henjo Hoeksma me at henjohoeksma.nl
Mon Dec 19 08:51:23 CET 2011


Hi Frank,

just create a repository for your value object.

Kind regards,

Henjo

Problems are small because we learned how to deal with them.
Problems are big because we need to learn how to deal with them.


On Sun, Dec 18, 2011 at 23:53, Frank Gerards <F.Gerards at esolut.de> wrote:

> Hi list,
>
>
>
> I use a mapping to the static_info_table and made a corresponding model
> class.
>
> I thought to make it a value object type.
>
>
>
> If I instanciate it in my controller and pass it to the view, I can
> debug all properties,
>
> Which are (ofc) empty by that time.
>
>
>
> My question simply is, how can I i.e. render a list of all ISO 2 country
> codes, as a value
>
> Object doesn't have a repository afaik.
>
>
>
> This might be a fundamental misunderstanding on my part of the domain
> object types concept,
>
> so I would be happy if someone could clear that up.
>
>
>
> Does any of you work with value objects, that are mapped on database
> tables ?
>
>
>
> Thx,
>
> Frank - munich
>
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
>


More information about the TYPO3-project-typo3v4mvc mailing list