frewper
frewper

Reputation: 1433

Sending data between sever and mobile

I have to get a large amount of data from a server to a mobile application. Currently i am passing the data in XML format which, seems to work. I want to know if there is another better way to do this. Also further i may need to show the data using page views.

Note: Using Flex builder 4.6 for development of app.

Upvotes: 2

Views: 125

Answers (3)

Florian F
Florian F

Reputation: 8875

For large datasets, you'd better use AMF, which is a binary format that will be decoded natively by the flash player.

Depending what technololgy you use server-side, you'll need some bridge that will encode your data in AMF. (BlazeDS/GraniteDS for Java, AMFPHP for PHP, ...)

Upvotes: 0

Marcx
Marcx

Reputation: 6826

I personally use blazeds as server with amf-channel for the datas tr/rx...

Upvotes: 1

shashankaholic
shashankaholic

Reputation: 4122

JSON is always a better choice when there is a data transfer between server-device. It is light-weight and easy to parse.

Upvotes: 2

Related Questions