AW: YANG inspirations for TD

Hi Robert,

A modeling language can be useful on different levels.
One aspect we we have been looking at was "how" to describe datatypes. An initial comparison can be found here:
https://github.com/w3c/wot/tree/master/proposals/type-system

YANG is on the list to be reviewed. It seems that you have experience with YANG. Do you think you can add information about YANG and enrich the comparison table?

Would be really helpful!

Thanks,

-- Daniel





________________________________
Von: Robert Gallas [gallas.robert@gmail.com]
Gesendet: Montag, 3. Oktober 2016 08:41
An: public-wot-ig@w3.org
Betreff: YANG inspirations for TD

Hi all,

There is and ongoing discussion about thing description (TD). I'd like to point community to YANG modelling language ( https://tools.ietf.org/html/rfc6020 ) . YANG is built to address very same requirements as TD. It has updatable properties, rpc`s, event streams, data types etc.

However even YANG is complex language and out of W3C standards it has some interesting concepts which can serve as an inspiration for next TD version. I mean mainly:

- hierachical data model (helps in model maintainability and supports contexts)
- value constraints (great help at UI generation, widget design and reduces network traffic)
- interaction types concept (good for extensibility)

Hope helps a bit.

Robert

Received on Tuesday, 4 October 2016 11:39:11 UTC