Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raw JSON on Client #31

Open
aikar opened this issue Jan 29, 2017 · 1 comment
Open

Raw JSON on Client #31

aikar opened this issue Jan 29, 2017 · 1 comment

Comments

@aikar
Copy link
Owner

aikar commented Jan 29, 2017

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 added a commit that referenced this issue Jan 29, 2017
@aikar
Copy link
Owner Author

aikar commented Jan 29, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant