-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add JSON and XML views rendering #46
Comments
@EvgeniiaVak surely we just do this in pure frontend app - doing this datapackage-views-js seems a bit crazy. datapacakge-views-js is focused on proper rendering and visualizing. |
When I spoke with Anu about this we were talking about datapackage-views-js. But I would agree with Rufus that all can be done in frontend app. The only thing that goes in favor of datapackage-views-js is to keep all the visualizations in one place |
I agree with @rufuspollock actually. If we try to fit all visualizations in one place, this place would grow to be too large and we would end up loading to much unnecessary code to places where it is not used |
notes on this issue from the meeting with @anuveyatsu and @gavram
|
@rufuspollock depends on what do you mean by frontend app. Main point for me is to do it on client as JSON/XML files can be large. Doing this in datapackage-views-js sounds correct to me because:
Another way would be to do it in frontend templates so it is still client-side. |
OK, then this needs a bit of analysis. Whether on client or server loading
100Mb of json is not going to work well ...
…On Wed, Aug 5, 2020 at 7:46 AM Anuar Ustayev ***@***.***> wrote:
@rufuspollock <https://github.com/rufuspollock> depends on what do you
mean by frontend app. Main point for me is to do it on client as JSON/XML
files can be large. Doing this in datapackage-views-js sounds correct to me
because:
- it is a view
- we can render based on view type
cc @EvgeniiaVak <https://github.com/EvgeniiaVak> @gavram
<https://github.com/gavram>
Another way would be to do it in frontend templates so it is still
client-side.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABMDMUPF55NNTSO6ZIRQXLR7DWZ3ANCNFSM4PLMY3PA>
.
|
Job story
When having JSON / XML data resource, I want to be able to use
datapackage-views-js
to render data view, so that I can see it before / instead of downloading.Acceptance criteria
Tasks
Analysis
Text spec
datapackage-views-js
already has 'document' spec for renderingPDF
views, JSON / XML could also have a similar dedicated spec type -text
that would:Rendering libraries
The text was updated successfully, but these errors were encountered: