I’m going to development a mobile application (not mobile web application) with android and ios versions. I need a back-end server to store and process the data. So mobile application only use for present the data from back-end server.
Now questions:
- what kind of data communication I need to use, socket or http?
- what backend framework i can chooose, for example, spring mvc or others web development framework
still available for mobile application ? spring does provide android spring but not for ios. Any framework has well-support for both of mobile application? - Is it similar with web development, if i use POST/GET for data transfer via http?
thx!
I’m using Django right now to do REST for my mobile apps and it’s working pretty well. You wanna use a REST paradigm because it’s the most robust and resilient to network outages (which you’re going to have to be very tolerant of with mobile devices). With REST and Django, you can just do all your communication over an standard Http connection, which makes your backend compatible with pretty much any platform you can think of. Django is also nice because it’s in python and you can prototype things really fast. No need to write raw SQL or anything like that because of the Object-Relational-Mapper. It’s really nice.
Other web frameworks you might wanna look into for your backend are: Google App Engine, Lift, Ruby On Rails, CakePHP, and Pylons.