May 15, 2004
Web service reading

Tim Bray finds an Irish web services standard and likes it. His description does sound good, rather RESTful and all, but Sam Ruby has good objections.
The points Sam Ruby make illustrate with great clarity why much more care than you think must always be taken in interface design. The natural tendency, even for good engineers, is to start fresh, and then to solve all the problems from your own ground up. As Ruby points out (and REST embodies), you can often use preexisting standards to great effect, if you use the preexisting standards carefully. You don't always need Yet Another Interface Layer. It also illustrates that other important aspect of good interfaces: Clarity and precision is not enough. Naturalness wins them over. So when an XML based protocol suddenly disallows UTF-8, and decides HTTP GET is not fancy enough for professional use, then that's a serious design flaw, because clients have every right to ask why? - And than because they don't bother to ask. They just choose the one where they don't have to ask.

[UPDATE] Sean McGrath points out in a comment below that the specs Ruby commented on are outdated. On McGrath's blog we find this tasty view of the future (unrelated) as well as this Haskell hacker joke which seems to have the hardest learning curve of any joke I ever came across. Not usualy considered a good quality in jokes, but yhen I also like JAPHs. Blog bookmarked.

Posted by Claus at May 15, 2004 02:06 AM | TrackBack (0)
Comments (post your own)

Please note that Sam was commenting on long outdated documents. The PSB does not add yet-another-interface later, does not disallow UTF-8 (on the contrary, it insists upon it) and makes extensive use of HTTP GET.
See http://sdec.reach.ie for the current specifications.

Posted by: Sean McGrath on May 15, 2004 11:24 AM

Thanks for the clarification.
My comments above were of course of a general nature.

Posted by: dee on May 15, 2004 11:26 AM
Help the campaign to stomp out Warnock's Dilemma. Post a comment.
Name:


Email Address:


URL:



Type the characters you see in the picture above.

(note to spammers: Comments are audited as well. Your spam will never make it onto my weblog, no need to automate against this form)

Comments:


Remember info?