PartyStream / partyStreamApp

The Party Stream iOS App
0 stars 1 forks source link

Networking Library #7

Closed mdewolfe closed 11 years ago

mdewolfe commented 11 years ago

Since ASIHttpRequest is not supported anymore, tThe 2 options I can see are:

  1. FSNetworking
    • developed by Foursquare as replacement for ASI
    • Very simple and powerful to use
    • But no support for cookies that I can see, so if the app is going to be reliant on cookies, then this one out.
    • Much lighter option than AFNetworking if we don't need the heavy lifting.
  2. AFNetworking
    • Pretty much a drop in replacement for ASIHttpRequest
    • Good if the app relies on cookies.
    • Pretty heavy library of we are will only be using a few functions.

Personally, I am a fan of FSNetworking because of its simplicity.

iToto commented 11 years ago

We don't have to use cookies. The user's session will be kept with the API token. So I think we can use FSNetworking for now :)

mdewolfe commented 11 years ago

There is also a goog Socket.io library for Objective-C if real time updates are going to be used.

iToto commented 11 years ago

Yes!! That will be coming in the future. That's why I chose to use Node.js for the API. Will try to incorporate this more in the next features :)

mdewolfe commented 11 years ago

Cool.