android - Mobile App Development Plan with REST Api is Good Idea? -
i'm new mobile native app development.
but i'm familiar web app development.
i going develop iphone native app first , develop android native app after that.
to minimize work, plan develop rest apis apps.
api server going handle database crud , session native app call
data database in abstract manner.
so ios, android , etc native apps use rest apis
to read , write photos, text, latlng etc.
i'm not sure recommended way develop native apps.
perhaps direct communication native app , database have better performance i'm worried on developing logics in every other native app version.
yes, , recommended approach in android. there no official support soap in android, though ksaop2 works in android apps. implement client consume restful web svc, need in separate thread. android 4.x not support network connections in main thread.
ios: may based if webapplciation provides restful webservice or can use soap. connecting network url in soap consumes more memory.
restful approach universal accepted webservice besides soap.
Comments
Post a Comment