Re: YANG inspirations for TD

YANG model in pull request https://github.com/conas/wot/pull/2

On Thu, Oct 6, 2016 at 10:44 AM, Charpenay, Victor <
victor.charpenay@siemens.com> wrote:

> Hi Robert,
>
>
>
> there was one point that is maybe not clearly exposed in the proposal: the
> type definition should be embeddable in a Thing Description, meaning
> serializing it in JSON should be possible. Is it the case with YANG? If
> not, please add it in the “Note” column.
>
>
>
> Thanks for your contribution.
>
>
>
> Regards,
>
> Victor
>
>
>
> *From:* Robert Gallas [mailto:gallas.robert@gmail.com]
> *Sent:* Mittwoch, 5. Oktober 2016 20:57
> *To:* Peintner, Daniel (ext) (CT RDA NEC EMB-DE)
> *Cc:* public-wot-ig@w3.org
> *Subject:* Re: YANG inspirations for TD
>
>
>
> Hi Daniel
>
>
>
> I'll add new column for YANG to the comparison table.
>
>
>
> Robert
>
>
>
> On Tue, Oct 4, 2016 at 1:38 PM, Peintner, Daniel (ext) <
> daniel.peintner.ext@siemens.com> wrote:
>
> 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 Monday, 10 October 2016 17:12:35 UTC