Tag Archives: Protocols

RESTful is hardly harmful.

A provocative essay came up on Hacker News today, entitled RESTful considered harmful. The summary of the essay: JSON is bloated in comparison to protobufs and similar binary protocols There are no interface contracts or data schema HATEOAS doesn’t work No direct support for batching, paging, sorting, etc … Continue reading »

Architecture , , ,

API Growth, SOAP v REST, etc

From HighScalability.com, John Musser’s GlueCon slides.  Interesting data pulled from ProgrammableWeb.com .   As I understand it, ProgrammableWeb is mostly a repository of APIs. It’s free to register and I don’t believe there is any sort of authentication – in other words anyone can post any web API. … Continue reading »

Analysis , ,

HTTP apps? REST? JSON? XML? AJAX? Fiddler is invaluable

For developers, having access to and knowing how to use the proper tools is invaluable.  For any sort of communication application, I find Fiddler2 to be indispensable.  It is an “HTTP Debugging Proxy”, but ignore that – the main point is that it lets a developer or network … Continue reading »

Quickies , ,

Twitter’s use of OAuth, part 3

In the prior post, I described the message flows required for granting a client application write access to a user’s Twitter status. In this post, I’ll cover the additional use case, posting a status message. Use Case 2: Approved Client posts a status The output of a successful … Continue reading »

Developer , ,

Twitter’s use of OAuth, part 2

Last time, I covered the basics around Twitter’s use of OAuth.  Now I will look at the protocol, or message flows. Remember, the basic need is to allow a user (resource owner) employing an application (what OAuth calls the client) to post a status message to Twitter (what OAuth … Continue reading »

Developer , ,

Twitter’s use of OAuth, part 1

Sending messages to Twitter from any application is straightforward, if you follow the protocol.  The problem is, Twitter does not explicitly define the protocol in any one place. If you go to the developer center on Twitter’s site, there is a section that deals with how Twitter uses OAuth … Continue reading »

Developer , ,