Coder Social home page Coder Social logo

Comments (10)

msporny avatar msporny commented on May 24, 2024 1

Ok, will do. I'll submit a new PR for that.

from vc-data-model.

dlongley avatar dlongley commented on May 24, 2024

I vote separate document.

from vc-data-model.

jtibbetts avatar jtibbetts commented on May 24, 2024

+1 on separate document.

But related question: I don't see that WebIDL has the representational horsepower to construct a graph. So how does a LinkedDataSignature2015 get generated for it?

from vc-data-model.

burnburn avatar burnburn commented on May 24, 2024

Why should it be in a separate document? I thought we wanted to show that WebIDL was a valid syntax.

from vc-data-model.

msporny avatar msporny commented on May 24, 2024

@burnburn Reasons that it might make more sense to have it in a separate document:

  1. WebIDL is for the browsers, primarily, therefore the WebIDL should be in a "Browser API" spec (this is 1-2 years down the road, btw).
  2. There may be many other supported syntaxes, for example, we've successfully converted the data model to YAML and XML, and we probably wouldn't put those in the data model spec.
  3. We may want to focus on the most likely serialization and then point to other serialization specs if it makes sense to do so.
  4. WebIDL isn't really a syntax, right? It's more like a way of expressing a programming data model.

from vc-data-model.

burnburn avatar burnburn commented on May 24, 2024

@msporny Reason 1 makes sense, since we are particularly interested in making clear that no browser support or modifications are required for this first effort.
Reason 2 is circular, since you are assuming that those would not go into the data model spec without discussion to make that decision. Personally I don't believe they need go in, but others might disagree.
Reason 3 I agree with. However, whether or not WebIDL belongs depends on whether it will be "one of the most likely" syntaxes. Based on reason 1, probably not.
Reason 4 I disagree with. WebIDL is a fairly concrete syntax with defined implementation behavior. If your statement were true, then would could just agree to define our data model in WebIDL and be done.

I am not arguing for WebIDL to remain. I merely want the reasons for removing it to be clear so we can begin developing our criteria for why certain syntaxes will go into the document and others won't.

from vc-data-model.

ottonomy avatar ottonomy commented on May 24, 2024

I support having one syntax in all the examples in the spec document (JSON-LD would be my preference) but being very clear in the language that multiple syntaxes are possible and providing examples in other syntaxes as an appendix or other related resource.

from vc-data-model.

msporny avatar msporny commented on May 24, 2024

@burnburn the WebIDL has been commented out in the spec (but not removed). Should we close this issue and move the WebIDL to its own spec? Granted, most of the WebIDL is now out of date (as the data model has shifted slightly and will probably continue to shift over time). I don't think anyone is asking for WebIDL at this point, and if they do, we can express it in a separate spec.

from vc-data-model.

burnburn avatar burnburn commented on May 24, 2024

from vc-data-model.

msporny avatar msporny commented on May 24, 2024

The spec no longer includes WebIDL and there are no plans to include it for 1.0. Closing this issue as the group seems to have reached consensus on this. We can always add WebIDL back in to the spec (or create a separate spec w/ WebIDL definitions).

from vc-data-model.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.