timings icon indicating copy to clipboard operation
timings copied to clipboard

Raw JSON on Client

Open aikar opened this issue 8 years ago • 1 comments

After the UI Rewrite finishes, I would love to move the current PHP JSON > Object mapping done on the server that's pretty slow, to being done in the users browser as part of the javascript code.

The benefits of this is that we can defer parsing of the handler objects until they are actually rendered for the first time, tremendously cutting down mapping a majority of objects as most people would never expand the entire tree.

I will design the system in anticipation of this for when the data classes are used where i can.

aikar avatar Jan 29 '17 06:01 aikar

For summary view, we will likely have to 'read' the raw data before decoding it to sort it, then we can say only render the first 100, and to render more you have to push a next button.

aikar avatar Jan 29 '17 06:01 aikar