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

Introducing a JS Framework for the frontend #109

Open
lucas-camp opened this issue Dec 3, 2018 · 2 comments
Open

Introducing a JS Framework for the frontend #109

lucas-camp opened this issue Dec 3, 2018 · 2 comments
Assignees

Comments

@lucas-camp
Copy link
Contributor

As the app heavily depends on JS and AJAX on the client side, using a JS framework (i.e. Angular/React/Vue) might increase the maintainability and modularization.

I see two ways to implement this.

  1. Integrating the JS framework into the current structure and each HTML page separately and still rendering the page in the backend. A huge benefit of this approach is, that it can be merged incrementally.

  2. Write a fully SPA (Single Page Application). The frontend is completely handled by the client side and the backend only exposes a REST API. This would mean a nearly complete rewrite of the frontend and huge parts of the backend.

A viable option might be starting with option 1 followed by 2 at a later point.

As I'm not really familiar with development of web applications I'd like to start a discussion on this topic.

@NFiedler
Copy link
Member

NFiedler commented Dec 3, 2018

As can be seen in the tool (especially my commits) itself, I am by no means fluent in JS. And i don't feel comfortable in and with the JS code we are currently using. So i'm all for a proper framework with modularization.
As i have neither the competence nor the time to implement one of these options, i'm open to both, while i think that option 1 offers a more promising way by allowing a stepwise transition.
I would be happy to provide REST APIs in the backend.

@timonegk
Copy link
Member

The second approach, a complete rewrite of the ImageTagger frontend, is currently done by @ftsell. You can see the progress on the vue_frontend branch.

@jaagut jaagut unpinned this issue Aug 24, 2023
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

4 participants