Re: Advice for iOS web app with live feed
Re: Advice for iOS web app with live feed
- Subject: Re: Advice for iOS web app with live feed
- From: Scott Ribe <email@hidden>
- Date: Wed, 14 Jan 2015 10:51:00 -0700
On Jan 14, 2015, at 10:05 AM, Steve Mills <email@hidden> wrote:
>
> Or is that done more from the client side where a timer pings the server for updates periodically (that sounds inefficient)?
Indeed, horribly inefficient and doesn't scale--but when they mention AJAX, that's likely what they mean. Keeping a connection open and letting the server push data is a relatively new concept in the WWW world--see WebSockets, part of HTML 5. But you only need WebSockets if you're client is in a browser, otherwise you're looking for some utility class that wraps a TCP socket and provides helpers to assist with the protocol details and hand your data back to you.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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