-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Split Display.pm into API.pm and Frontend.pm, make frontend use the API #5205
Comments
@stephanegigandet, as I mentioned in #5170 I think this is a good idea. But how do you imagine the transition time, this process will take a relatively long and possibly lead to many errors and broken things. |
I think we can do it gradually without breaking anything, we can create new empty modules API.pm and Frontend.pm, and move functions one by one. |
sounds good |
A great idea IMHO. I think there are many benefits:
|
Is there already any progress here |
@stephanegigandet @M123-dev I believe there will be progress tomorrow when this is deployed to .net |
For the record, @VaiTon has started an alternative web frontend: https://openfoodfacts-explorer.vercel.app/ |
This issue has been open 90 days with no activity. Can you give it a little love by linking it to a parent issue, adding relevant labels and projets, creating a mockup if applicable, adding code pointers from https://github.com/openfoodfacts/openfoodfacts-server/blob/main/.github/labeler.yml, giving it a priority, editing the original issue to have a more comprehensive description… Thank you very much for your contribution to 🍊 Open Food Facts |
What
Related to the discussion about rearchitecturing Product Opener: #5170
I've been trying to find ways to better separate things in Product Opener: what's relative to the web frontend, to the API, to MongoDB queries, to processing products when we write them etc.
I'm thinking we could try to split Display.pm which is probably the worse module in terms of how everything is mixed together.
We could do it gradually:
What do you think?
Part of
The text was updated successfully, but these errors were encountered: