-
Conversation on Protocols vs APIs and RESTfulness
Kevin Marks (@kevinmarks)
03/06/2010 07:10
@progrium @joshfraser the subscription is a verb, but sending the updates to the webhook is very restful, especially with @ciberch’s delete
Jeff Lindsay (@progrium)
03/06/2010 07:06
@joshfraser PuSH has hub.mode which is basically a verb. Like xmlrpc, etc. Real RESTful protocols are AtomPub and maybe WebDAV.
Josh Fraser (@joshfraser)
03/06/2010 07:03
@progrium not sure i understand. my point is that it uses HTTP methods (GET/POST) as the verbs vs declaring custom verbs like SOAP
Jeff Lindsay (@progrium)
03/06/2010 06:57
@joshfraser no it’s not. it exists as a protocol at a single endpoint/resource, just like SOAP.
Josh Fraser (@joshfraser)
03/06/2010 06:54
@progrium hmm… PuSH is restful. i’d need to think about other http examples
Jeff Lindsay (@progrium)
03/06/2010 06:49
@joshfraser good point. also note: most apis are REST and most open protocols over http are not REST. perhaps incompatible?
Josh Fraser (@joshfraser)
03/06/2010 06:44
@progrium ppl get nervous abt jumping in bed w/ big co’s. like @davewiner avoiding PuSH bc of relation to google (inaccurate as it may be)
Jeff Lindsay (@progrium)
03/06/2010 06:34
@joshfraser yes, but standards are driven by implmntations. people should do their own thing for something new and then suggest as protocol
Josh Fraser (@joshfraser)
03/06/2010 06:31
@progrium ok slightly better than everyone doing their own thing, but i’m with @bradfitz: i like protocols, not api’s.
Jeff Lindsay (@progrium)
03/06/2010 06:24
@joshfraser not always companies (foss), not always important (twitter implmntrs), but it is still good.
Josh Fraser (@joshfraser)
03/06/2010 06:21
@progrium yeah it’s going to be hard for them to move beyond being just “me too” companies tho
Jeff Lindsay (@progrium)
03/06/2010 06:10
@joshfraser eucalyptus implmnts ec2 api, various implmntations of s3 api, yes twitter.. think duck typing at web api level. its desirable!
Josh Fraser (@joshfraser)
03/06/2010 06:05
@progrium examples? and don’t say twitter. cc: @superfeedr
Jeff Lindsay (@progrium)
03/06/2010 06:00
@superfeedr yes, only protocols are open. however, api’s can become protocols, even if de facto.
superfeedr (@superfeedr)
03/06/2010 05:58
There is no such thing as an Open API. In 99% of cases, API are just another lock in with another service.-
howardtharp liked this
-
bswa posted this
-