Re:Show HN: libsaas, it's libcloud for SaaS
by jeffbarr on Tuesday May 22, 2012 @03:40PM
(#4009559)
Isn't this what web services were promising us? Cool library, but ideally the SaaS apps would export APIs for this functionality.
[ Parent
| on HN ]
The lowest common denominator of SaaS APIs is HTTP. Apart from that, everyone does it different.
Some use JSON, some use XML, some use SOAP... Sometimes you authenticate with Basic authentication, sometimes you use OAuth 1.0 and need to sign each request, sometimes it's OAuth 2.0 and you just need the token. Oh, and the actual GET parameter for the token is different, too...
There are APIs where you need to set a 'X-API-Version' header to something, or you'll get weird results. The list goes on...
The goal here is to hide all that crap from developers and focus on achieving the desired result.
Re:Show HN: libsaas, it's libcloud for SaaS
by thereason on Tuesday May 22, 2012 @04:29PM
(#4009793)
Instead of hiding it, why don't we ditch it altogether? HTTP is simpler, more direct and easier to debug. By sticking to HTTP, we might get closer to a situation where "everyone does it the same". Life might be easier.
Nah, it would never work. Pay no mind. I'm just a fool.
Re:Show HN: libsaas, it's libcloud for SaaS
by legutierr on Tuesday May 22, 2012 @08:28PM
(#4010835)
You're not a fool, just a dreamer.
Re:Show HN: libsaas, it's libcloud for SaaS
by drivebyacct2 on Tuesday May 22, 2012 @08:48PM
(#4010888)
All of the things in that post use HTTP. (Though SOAP doesn't require HTTP). Did you mean REST? Even then, people often don't get it right, and it's still not as nice a language specific API. (er, application specific api)