Mobile Zone is brought to you in partnership with:

Programmed Macs since Inside Mac came in 3-ring binders; programmed iPhones since the first day the SDK was downloadable. 51 apps in the App Store to date, and always looking for new and interesting contracts! Alex is a DZone MVB and is not an employee of DZone and has posted 122 posts at DZone. You can read more from them at their website. View Full User Profile

Writing Web Services

04.15.2013
| 2470 views |
  • submit to reddit

Ah, look, here’s another excellent tutorial from Messr. Wenderlich:

How To Write A Simple PHP/MySQL Web Service for an iOS App

As an iPhone/iPad developer, it can be really useful to be able to write your own simple web services that integrate with your apps.

For example, you may wish to display some news updates that come from your web server, and display it on startup. Or perhaps store some user data “in the cloud”. Your imagination is the only limit!

In this first tutorial in this two-part series, you’ll go step-by-step through the process of creating a simple web service, based on a promo code system I included in my latest app, Wild Fables


Why yes, an IAP promo code system would be handy, wouldn’t it? And simple enough for us complete web n00bs to follow, even!

UPDATES:

Feel like writing your web service in Objective-C with Apple’s frameworks? Check out Objective Cloud!

 

Published at DZone with permission of Alex Curylo, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)