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

Mieux distinguer modeling et rendering #1016

Open
fabienheureux opened this issue Nov 12, 2024 · 0 comments
Open

Mieux distinguer modeling et rendering #1016

fabienheureux opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@fabienheureux
Copy link
Member

Cf commentaire de Max : https://github.com/incubateur-ademe/quefairedemesobjets/pull/968/files#r1832088303

Je m'attendrais à séparer:

la logique de modelling: une fonction qui retourne une distance en numérique, qu'on peut utiliser dans plusieurs endroits du code
le rendering: un template qui prend la valeur de distance et décide de la logique l'affichage pour les êtres humains

@fabienheureux fabienheureux self-assigned this Nov 12, 2024
@fabienheureux fabienheureux added the question Further information is requested label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant