[FLOW3-general] Best practice for data over 3 tables

Pankaj Lele pankaj at lelesys.com
Fri Mar 8 11:27:46 CET 2013


Hello Manfred,

> This gives me the companies where in projects are open tasks. But i 
> need the all talen projects by this query and all taken tasks. I can do 
> somthing with foreach in fluid, but with the standard getter for 
> projects and tasks i get all projects and all tasks. Hope you 
> understand my problem.
> 
> I can make in my controller for loops over the companies, then make 
> loops over the project to get the tasks. I think this is not effective. 
> I think a way over the repository with grouped data over 3 tables are 
> many faster and more secure to my code, instead of doing some manual 
> loops.
> 
> Many thanks if you have some hints for me.

As a quick feedback on your problem, please have look at 
"GroupedForViewHelper" from Fluid. It might help.


-- 
Pankaj Lele
CTO - Lelesys, India
http://www.lelesys.com
Twitter: @pankajlele



More information about the FLOW3-general mailing list