
Also, please try to answer as "application programmers" not "API designers", as I am more interested in what kind of API people want to use, than what they consider as good design. (Personally I found a difference here..)
This is the classic "new jersey" vs "mit" style of simplicity, the "lightweight" here trying to put emphasis on the "new jersey" style "implementation simplicity" but I wanted separate terms. It seems you got the idea thoughDreamsmith wrote: Tough choice! They're all nice features. As for what comes first, I was having trouble deciding between simple and lightweight, but finally decided upon simplicity, as lightweight more appeals to be as a designer than as an application developer. Also, I weaseled a bit, deciding in my mind that simplicity implied lightweight, but not necessarily the other way around, so you get a two-for-one deal placing simplicity on top.
I agree to a point. You can have separate APIs in the sense that they are totally separate libraries, with no dependencies to each other, which ofcourse is the highest possible point in "modularity", but one might still want them to be part of one large "API base" so that the basic principles are the same from one API to another.And the best form of "modularity" is a multiplicity of completely stand-alone API's or libraries. Integration comes naturally if they're all small, well-defined, and unambitious. You only have problems with seperate API's and wish they were integrated when they start stepping on each other's toes, and they only do that when they were insufficiently focused to begin with. The problem then isn't that they aren't integrated, the problem is they're too big to begin with.
Ah, but the point of REST is that SOAP is totally unnecessary bloat, because HTTP is already a suitable messaging protocol for XML as it stands =)Legend wrote: XML over HTTP? You are on the way of reinventing SOAP then
And when you are already there, you are on your way to web services!
How odd. If you were the kind of person would actually dislikes unnecessary bloat, you wouldn't be using XML to begin with, not with so many simpler and better alternatives available (c.f. http://www.pault.com/pault/pxml/xmlalternatives.html), so actually being concerned about extra bloat seems out of character here. If you like XML, you ought to love SOAP...mystran wrote:Ah, but the point of REST is that SOAP is totally unnecessary bloat, because HTTP is already a suitable messaging protocol for XML as it stands =)