Task #56970

Category-tree needs to load in parts (AJAX?)

Added by Stefan Neufeind over 1 year ago. Updated over 1 year ago.

Status:New Start date:2014-03-16
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Backend User Interface Spent time: -
Target version:-
TYPO3 Version:6.2 Complexity:
PHP Version: Sprint Focus:

Description

We have a wide category-tree with around 6 levels of hierarchy and summing up to around 40.000 entries at the moment. This leads to performance-problems with various brokers (loading stalls until browser-timeout, ...). This could be solved if for example only the next level would be loaded at one time but not all subtrees at once. If you then open a collapsed branch that would load more data via AJAX.


Related issues

related to Core - Feature #52876: Replace ExtJS Tree with jquery tree to get rid of extjs New 2013-10-16
related to Core - Task #57193: Speed up category-tree initialisation New 2014-03-22

History

#1 Updated by Stefan Neufeind over 1 year ago

Can the current tree (ExtJS afaik) load data via AJAX when you expand the tree? Is that functionality maybe in use already in other parts of TYPO3, for a similar solution?

#2 Updated by Stefan Neufeind over 1 year ago

  • Subject changed from Category needs to load in parts (AJAX?) to Category-tree needs to load in parts (AJAX?)

#3 Updated by Georg Ringer over 1 year ago

the current implementation can't handle ajax requests.

it is also slow because all records are fetched twice. first because of the implemtantion as a normal list for select boxes and then the renderMode tree kicks in and loads everything again using parentId/childId queries to get the tree.

#4 Updated by Stefan Neufeind over 1 year ago

Filed the speed-issue for initialisation you mentioned into a separate issue, since that might be easier to solve imho. #57193

Also available in: Atom PDF