Giter VIP home page Giter VIP logo

Comments (5)

prophile avatar prophile commented on August 15, 2024

cc @danpalmer

from jacquard.

danpalmer avatar danpalmer commented on August 15, 2024

Can we get a quick list of features that we would want in a web interface (roughly sorted in priority, or grouped by possible releases), and check what we already have capabilities for in the API and what would need to be added.

On a more practical note, should the UI be

  • in this repo?
  • powered by the API, or server-side rendered?
  • provided by a plugin?

My feeling is: almost entirely through the API (single page app style) and delivered through a plugin. This could however complicate the repo as the front-end would need all the associated stuff that goes along with JS development, so maybe a separate front-end focused repo would be appropriate?

Thoughts?

from jacquard.

danpalmer avatar danpalmer commented on August 15, 2024

One other question: what language/framework?

I feel like JS+React is pretty uncontroversial, but it might be nice to do it in Elm. Distribution compatibility will be less of a concern than with Python as we'd probably have to compile the front-end in some form anyway.

from jacquard.

prophile avatar prophile commented on August 15, 2024

Putting the web UI in a separate repo and using the plugin mechanism sounds like an excellent idea, because:

  • Logical separation is good (it restricts us from calling into it from the main repo too),
  • It keeps the jacquard install small on machines that don't need the web UI,
  • It forces us to keep the plugin mechanism good.

Going to discuss this is more detail (plus choice of FE framework) with @danpalmer IRL.

from jacquard.

prophile avatar prophile commented on August 15, 2024

@danpalmer and I had a brief discussion about this IRL, and concluded that we probably want to build this as a client-side web app rather than classic server-side rendering with forms.

The latter approach would be simpler but the former approach means that we commit to making sure that the web API is high-quality, and gives us more flexibility on what we want to do with the UI.

from jacquard.

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.