Change xloadtree with something modern
ffflabs opened this issue · 1 comments
The tree displayed on the browser template uses xloadtree2 and xtree2, which dates from 2005.
More modern approaches do exist in the js ecosystem. However, they are mostly json based. This means that, besides replacing the library itself, we'd need to change the way TreeController parses and delivers the information of each other controller to XloadTree.
The latter shouldn't be that hard, really. After all, there is only one method that parses each entity recordset and traverses it transforming its properties to XML. Most of this is done manually via concatenation of strings plus an xml header. It should be trivial to change this to a JSON representation with json headers.
Perhaps JMSSerializer (already present in the project) should be used for this.