[erlang-questions] ei for Apple's iOS?
Björn-Egil Dahlberg
wallentin.dahlberg@REDACTED
Tue May 1 18:28:26 CEST 2012
2012/4/30 Jared Kofron <jared.kofron@REDACTED>
> +1 for JSON - Communication between our Erlang nodes and Obj-C is done
> entirely via JSON and it works very nicely.
> On Mon, Apr 30, 2012 at 1:42 PM, Jack Moffitt <jack@REDACTED> wrote:
>
>> > I was thinking it would be nice to use the ei_encode* functions to make
>> the data passing back and forth more Erlang-friendly.
>>
>> This isn't directly your question, but I did an iOS app that talks to
>> an Erlang server and used JSON. I've also done this with another app
>> with MsgPack, and both worked great.
>>
>
+1 - I have also done iOS <-> Erlang Server communication with JSON to
great success. We used record <-> json encodings on the server-side since
records were our data-model (with mnesia).
Do not use ei and force a term-format on your Obj-C code. It's not nice and
a bad fit.
// Björn-Egil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120501/d478c77d/attachment.htm>
More information about the erlang-questions
mailing list