HydraCG / extensions

3 stars 1 forks source link

DASH terms for viewers #23

Open tpluscode opened 3 years ago

tpluscode commented 3 years ago

I propose specialized DASH Viewer types for rendering some hydra terms

I think this should go together with SHACL.

For starters I would add viewers for collections and partial collection views (to render a pager).

hex:CollectionViewer (single viewer)

Score: 50 for resources which have type hydra:Collection. 0 otherwise

Rendering: a section displaying collection members and (optionally) views

hex:MembersViewer (multi viewer)

Score: TBD (see https://groups.google.com/u/1/g/topbraid-users/c/vocVy92c08w)

Rendering: all collection members displayed together, such as in a table or grid view

hex:PartialCollectionViewer (single viewer)

Score: 50 for resources which have type hydra:PartialCollectionView. 0 otherwise

Rendering: links to other pages of a collection

alien-mcl commented 3 years ago

I was just wondering if it is an extension of hydra or DASH ;)

tpluscode commented 3 years ago

It's not really extending DASH. Its semantics are unchanged. On our end we only created specialised subtypes of DASH "widgets"

Maybe it's neither a way :)