You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 30, 2024. It is now read-only.
This issue is a follow-up to the discussion started in the Forms vs Views issue.
The discussion started based on an example of aligning two fields horizontally instead of vertically. That leads to the general topic of declarative vs. programmatic layout and style.
Declarative
Use case: Explorative, using ontology information and show/edit data aligned to the rest of an application.
Pro:
Declarative layout/style information could be included in the ontology
Easier for applications to combine their layout/style with the one defined in the shapes
Easy to use outside HTML rendering engines
Already partially defined in SHACL (sh:order, sh:group)
Con:
Not an option for pixel-perfect results
Requires to draw a clear line on what will be included/excluded so we don't reimplement HTML
Programmatic
Use case: Application development, mainly based on custom-tailored shapes for a specific application/context.
Pro:
Full control for pixel-perfect results
Definitions in the shapes are closer to the rest of the application (JS variable/function names, CSS selectors, ...)
Con:
Difficult to use definitions and components outside the application for which the shapes have been designed for
Hard to extract layout/style information in other environments
Based on the background of the participants, I expect the task force is interested in both options.