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

XML display #10

Open
mosheduminer opened this issue Apr 3, 2020 · 1 comment
Open

XML display #10

mosheduminer opened this issue Apr 3, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@mosheduminer
Copy link
Member

Currently, the /databases route is only capable of displaying JSON. We need to add complete XML functionality.

@mosheduminer mosheduminer added the enhancement New feature or request label Apr 3, 2020
@mosheduminer
Copy link
Member Author

mosheduminer commented Sep 30, 2020

The current implementation for the JSON resource view:

  • A data structure allowing access to any XML metadata-node by path. The reason for this is to allow for a flat DOM structure, as a nested DOM would make a virtual list implementation very complicated.
  • A virtual list implementation (as the DOM would get start getting heavy, and slow down). This virtual list renders the wrapper component.
  • A wrapper that accepts a path, and retrieves the appropriate nodes, and determines which svelte components to render for each node. It also determines whether diffs need to be rendered for the given path, and renders the appropriate components.

I would imagine that an XML view would follow a similar pattern.

The resource view also supports lazy-loading, depth-wise, and breadth-wise. This should be implemented for XML as well.

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

No branches or pull requests

2 participants