Re: REST, SOAP, XML-RPC, ...?
Re: REST, SOAP, XML-RPC, ...?
- Subject: Re: REST, SOAP, XML-RPC, ...?
- From: Rick Mann <email@hidden>
- Date: Sun, 04 Nov 2012 16:25:00 -0800
I don't think so. REST is a popular solution today, almost always used on top of HTTP, and it's clean enough, I guess. But you still get to pick how you want to encode the data up and down. In my applications, I use REST with a combination of binary content (say I'm posting or pulling an image), or JSON. I chose JSON because my recent projects will be open to others.
But I much prefer to use something like Hessian when encoding arbitrary data. That is, if it's a JPG image, I'll just send a blob of JPEG data, but if it's some structured data that's particular to my app, say, a space shuttle launch mission record (MissionClock), I use Hessian.
You can use Hessian payloads in a RESTful API. Hessian also is an RPC mechanism, although when used that way, it's synchronous. The Objective-C bindings for Hessian need some updating.
--
Rick
On Nov 4, 2012, at 16:12 , Todd Heberlein <email@hidden> wrote:
> Is there currently a standard, Apple-recommended way of doing interoperable client-server architectures?
>
> I accidentally backed into a solution that is Apache, PHP, and libcurl, and I figured I should go with one of the many standards out there. REST is pretty close to what I am already doing, and looks nice, clean, and simple.
>
> But are there some nice client-side APIs that Apple recommends I use that will make it easier to build Mac and iOS applications that use some particular web service protocol? And if so, are these some server-side APIs (???) that I can use on the web server side?
>
> Thanks,
>
> Todd
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
--
Rick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
- Prev by Date:
REST, SOAP, XML-RPC, ...?
- Next by Date:
Re: REST, SOAP, XML-RPC, ...?
- Previous by thread:
REST, SOAP, XML-RPC, ...?
- Next by thread:
Re: REST, SOAP, XML-RPC, ...?
- Index(es):