Re: initial draft of "URI Template Descriptions"
Erik Wilde <[email protected]>
| Newsgroups | gmane.comp.web.services.rest |
|---|---|
| Message-ID | <[email protected]> |
> You realise that URI templates and forms are, more-or-less, the same > kind of thing, albeit with the former being more flexible in kinds of > URI it can generate than the latter? nicholas did not really say what he means by "forms". but typically, forms are a combination of (1) a template (which may be runtime or baked into the media type as in HTML), (2) a set of values (described to some extent) that can be populated when submitting the form, and (3) maybe some UI info for rendering it (in UI-oriented form languages). you could look at "URI Template Descriptions" as starting with RFC 6570 as the standard for templates (1), adding some description structure for the variables (2), and leaving any UI stuff (3) as something that could be packaged in the extension model, if required. cheers, dret.