GithubHelp home page GithubHelp logo

Comments (1)

sylvlecl avatar sylvlecl commented on August 14, 2024

Thanks for the description!
As discussed a few days ago, the proposed data model seems very good to me as the data model on the front side.

Then, in order to advance the dev step by step we would:

  1. As a first step, re-create this data model from the current backend endpoints, and use data glide from it.
    This will allow us to validate the use of data glide without having to do heavy refactorings on the backend

  2. As a second step, improve the way this data model is populated from the backend:

  • By using arrow instead of JSON for the matrix content
  • By computing the index on the backend side
  1. About aggregates computation on the backend side, this would be aded in again another step I think. In particular, it will probably not be possible to have them inside the same arrow structure as the matrix content. So we need to think of how this could be transferred: either another endpoint (but then we should take care of caching the values on the backend side to not reload the file just for computing those values), or finding a way to return in the same body the arrow table and those values.

About matrix updates from front to back

Currently, those updates are specified through operations which have the advantage of not sending the whole matrix to the backend. I thinks in a first step we should keep this mechanism.
Then we should assess if it's OK to send the whole matrix every time as an arrow table or not.
Or maybe having several endpoints for different kinds of operations (updating only a few cells vs. updating a whole subpart of the table).

from antarest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.