--
You received this message because you are subscribed to the Google Groups "JSON Schema" group.
To post to this group, send email to json-...@googlegroups.com.
To unsubscribe from this group, send email to json-schema...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/json-schema?hl=en.
Thanks for jumping in on this thread. Can you summarize, or point to a summary, of hyper-schema and how it differs conceptually from SMD?
At Mashery, we've been trying to settle in an approach for driving API browser-consoles (to test drive API calls), and felt SMD was a better approach than WADL or WSDL 2.0. So, I'd really appreciate more info on hyper-schema and why it's more suitable to you these days.
Thanks!
-Clay
--
Sent from my iPhone
On 8/24/2010 9:05 AM, Clay Loveless wrote:
> Kris,
>
> Thanks for jumping in on this thread. Can you summarize, or point to a summary, of hyper-schema and how it differs conceptually from SMD?
Mainly SMD is designed based on RPC architecture (focusing on mapping
requests to method calls), and hyper-schema is designed based on REST
architecture (uniform interface, HATEOS, etc.).
> At Mashery, we've been trying to settle in an approach for driving API browser-consoles (to test drive API calls), and felt SMD was a better approach than WADL or WSDL 2.0. So, I'd really appreciate more info on hyper-schema and why it's more suitable to you these days.
There is certainly plenty of descriptions and discussions on REST vs
RPC/SOAP style architectures to be found on the web, I am not going to
try to recreate that here. And it can certainly get into philosophical
differences. I just have tended towards the REST camp.
--
Thanks,
Kris
> Mainly SMD is designed based on RPC architecture (focusing on mapping
> requests to method calls), and hyper-schema is designed based on REST
> architecture (uniform interface, HATEOS, etc.).
>> At Mashery, we've been trying to settle in an approach for driving API browser-consoles (to test drive API calls), and felt SMD was a better approach than WADL or WSDL 2.0. So, I'd really appreciate more info on hyper-schema and why it's more suitable to you these days.
>
> There is certainly plenty of descriptions and discussions on REST vs
> RPC/SOAP style architectures to be found on the web, I am not going to
> try to recreate that here. And it can certainly get into philosophical
> differences. I just have tended towards the REST camp.
I get all of that, and am similarly not interested in a philosophical debate or even RPC vs REST. I was just under the impression that SMD was intended to be suitable for describing both RPC _and_ REST, though there are scant (if any) comprehensive examples of SMD describing REST well, at least that I've seen.
At what point did you decide that SMD, while originally intended to adequate for describing REST, wasn't up to it?
-Clay
--
Clay Loveless
Founder
w: http://killersoft.com
t: @claylo
You certainly can describe, or more accurately, map a REST web service
to a method using SMD, SMD is certainly appropriate for that, but the
whole notion of mapping services to methods is beyond the REST
architecture that is focused on the use of uniform interface rather than
specific methods. In the colloquial, REST services usually denote
services that provide data through GETable URLs, but often does not
imply full usage of all the elements of the REST architecture. The REST
architecture describes a completely different approach than mapping
services to methods. But if the goal is mapping "REST" or GET/URL based
web-based services to methods, that is still handled well by SMD.
--
Thanks,
Kris
--
You received this message because you are subscribed to the Google Groups "JSON Schema" group.
To view this discussion on the web visit https://groups.google.com/d/msg/json-schema/-/pfwMRefsn1wJ.
--
You received this message because you are subscribed to the Google Groups "JSON Schema" group.
To unsubscribe from this group and stop receiving emails from it, send an email to json-schema...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.