[TYPO3-mvc] Bidirectional relations

Tobias Pinnekamp typo3 at tpinne.de
Sun Jul 19 16:05:35 CEST 2009


Hi guys,

first of all I like the new concept very well and it is the huge step 
forward in extension development. One can concentrate of the important 
work to do, implementing the logic.

Now I try to create my first extension based on extbase. Most things 
come very close to me even without detailed documentation out there. So 
thanks for the easy way to understand the new technical details. I only 
have a problem implementing my datastructure because I need 
bidirectional relations between tables. For 1:n and for m:n relations. 
But I only figured out how to configure one direction. Got this from the 
blog_example.

What I need, taking the example of blog_example, is to view a tag and 
get all posts for this tag. As best with a property of the tag class 
where the needed operations for fetching the data is handled 
transparently by the framework. Is there some configuration needed in 
the TCA for the other side of the relation?

Is this implemented yet? If not, will it be in future releases?

If it is not possible, yet or in future, how can I query the needed data 
with a repository?


Thanks in advance for any hints or solutions. I appreciate your work you 
all doing here.

Great thanks
Tobias Pinnekamp


More information about the TYPO3-project-typo3v4mvc mailing list