[FLOW3-general] Building Trees with flow/doctrine

Christian Müller christian.mueller at typo3.org
Tue Feb 5 19:37:31 CET 2013


Hi,

On 05.02.13 19:00, Aike Terjung wrote:
> Hello,
>
> i'm new to typo3 flow and i am trying to implement a new application
> at the moment, wich should base on an object tree. From my OO knowlege
> i am used to build such trees with nested objects. In the flow
> universe, im not shure how to do this.
>
> Lets say i would build the tree like this:
>
> Root
>  -Node
>  -Node
>    -Node
>    -Node
>      -Node
>      -Node
>  -Node
>
> nothing special i think. But - how to implement? I would like to start
> with a abstract basemodel like "treenode" and extend the different
> types of Nodes, "dokument" - the root, and "fragment" - the nodes. Is
> this the right way to do it with flow?
>
> And will it be bersisted as it should?

This sounds as if you might want to take a look at the TYPO3.TYPO3CR
package that was made for Neos as a content repository. It is already a
tree based node structure with flexible types. Maybe you can use it as
is or at least get some ideas from it.

Cheers,
Christian


More information about the FLOW3-general mailing list