-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
links vs. forms #85
Comments
Intention of the renaming was that this container contains all communication metadata and how the message is or has to be constructed for invoking an interaction. Some detail explanations and use cases are given in the Web of Things (WoT) Protocol Binding Templates deliverable. |
Taken from #88: Thinking of the TD as "HTML for Things", this can be seen as follows: They are not links to related Things (pages) or to include externalized metadata (e.g., stylesheet). They are about the operational/live data, and hence similar to forms that tell the client how to formulate a request to interact with the Thing ("active" page / REST resource). For Actions, this is the most clear, as they might need a request payload to be described (e.g., media type). For Properties it is like a form with Web links express relations to other Web resources. "WoT links" express relations to other Things. |
Taken from #88:
|
Let's continue this in #88 only. |
The current Thing Description specification uses the term
form
to refer to links which have a href, mediaType and rel. This was changed in #62 apparently due to some complexity introduced by the protocol bindings work.I understand this is meant to represent an analogy with "web forms". Can someone explain this rationale further?
links
seems like a much more obvious term to use here.The text was updated successfully, but these errors were encountered: