What Should Be include in webservide base iPhone App Architecture? - iphone

I have been working with iPhone app as developer and now my PM(Project Manager) wants to make architecture for web-service base app.I have developed Simple Architecture for this app but i don't know it's ok or not.What should i include in iPhone web service base architecture?
Thanks In Advance.

It all depends on what you app is supposed to do.
I would add documentation of the full HTTP API you are planning to use:
Resources
Commands supported on those resources
Explanation on the purpose of each resource
Basically a full documentation of all the possibilities available in your server for your iOS client to consume.

Related

Where can I find out about coding a website to my app?

I just found out that an iPhone can act as a web server to access the app's data. I'm using Xcode. How do I extend my app's capabilities so that users can edit app data using a Mac. Where can I learn about this? Can you give me summary and a website please?
I hope it's using Apache Tomcat. I suppose I have to build a website to process and display the app's data. I wonder if iPhone supports jsp since it's using UNIX. I really don't want to use PHP.
Currently Money Manager has that feature.
Searching for embedded iOS web server returns a few solutions:
Run a webserver on an iOS device
A small, lightweight, embeddable HTTP server for Mac OS X or iOS applications
Lightweight GCD based HTTP server for OS X & iOS
You will be unlikely to fit php or tomcat onto an iOS device; the lack of memory and processing power will be technically challenging.
Apple will also likely take a negative view of the inclusion of a general purpose scripting language in any app your submit to the App Store.

Web service integration with iphone

I want to create iphone native app. which will use web service.Could any one tell me how many languages is supported by apple for web service. And which the best in performance ??
Your web service implementation is completely independent from your iPhone native app. Apple does not care what language you implement your web service in.
However, your web service client (i.e.: your iPhone app) must be written in Objective-C.
Simple Object Access Protocol is a webservice multi-platform language, and its the default for web services.
In a SOA these problems are addressed. Because the need to communicate with services that are not in the same programming language is something that happens normally. And there appears the SOAP protocol to normalize it.
This is independent from your iPhone.

iphone connection with openerp

Greetings,
I am thinking of getting an application in iPhone to establish connection with a application server to collects its contact details and then sync it with our address book.
Anyone could direct me in the direction i have to take to achieve this target. And the things i have to look up.
You must, first of all, start with a XML-RPC library for iPhone. That is not implemented yet in the iOS core sdk. A good starting point is the open source application developed from wordpress that contain a xml-rpc library. Then you can play with the method from within this application, calling specific opener methods.
This is the link to download wordpress for iOS: http://ios.wordpress.org/development/
Someone is working on a mobile client for OpenERP, but I don't know if there are any plans for iPhone specifically.
If you want to build your own, I suggest you look at the OpenERP developer book's section on web services. You can send XML-RPC requests to the server to do anything the regular client can do. The XML-RPC layer is basically a wrapper around the ORM methods.

iPhone apps and state aware web connections

I'm working on an interface for an existing web application that will allow iPhone and other mobile clients.
I have started implement a JSON API and I need to give some detailed specificaitions for the App to an iPhone developer.
What I am curious about is whether other developers are using session data in their JSON / mobile client communications.
Do the common url grabbing libraries of iPhones (and other mobile devices) mimic a browser's cookie handling?
Can someone suggest what libraries might be used to achieve this? Are there any online tutorials or blog entries that outline state based web connectivity in an iPhone app?
I've used ASIHTTP (http://allseeing-i.com/ASIHTTPRequest/) and JSONFramework (http://code.google.com/p/json-framework/) to achieve this.
Both very good libraries that are easy to work with.

How can I use web services for iPhone?

How can i use web services and also connect to the server in iphone?
I can only offer some references here you might have probably Googled them yourself:
Toolkit for Web Service-Backed iPhone Apps
iPhone Programming Tutorial – Intro to SOAP Web Services
Creating an iPhone-based Web Service
Googled Results
I have heard good things about using JSON especially TouchJSON.
Also, here is a tutorial from MobileOrchard that uses JSON (but not TouchJSON).