O'Reilly logo

Professional iOS Network Programming: Connecting the Enterprise to the iPhone and iPad by John Szumski, Nathan Jones, Jack Cox

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4

Generating and Digesting Payloads

WHAT’S IN THIS CHAPTER?

  • Using web service protocols and styles and understanding their impacts on mobile applications
  • Understanding common payload formats
  • Digesting XML, HTML, and JSON payloads
  • Generating JSON and xml payloads

WROX.COM DOWNLOADS FOR THIS CHAPTER

You can find the wrox.com code downloads for this chapter at www.wrox.com/WileyCDA/WroxTitle/Professional-iOS-Network-Programming-Connecting-the-Enterprise-to-the-iPhone-and-iPad.productCd-1118362403.html on the Download Code tab. You can find the code for this chapter in the Chapter 4 download in a single Xcode project with the following major components:

  • A newsreader application that parsers XML, HTML, and JSON data and generates JSON and XML payloads. The source code for this application can be found in the App.zip archive.
  • An archive of CNN articles for use with the example app. The articles were saved the day the application was developed. Article content can be found in the “News Content” directory in the App.zip archive.
  • A server-side PHP script to process XML and JSON payloads generated in the application. The source code for the server side component is available in the Server.zip archive.

As more companies invest in initiatives to mobilize their work force, integrating enterprise services into applications will become more common. Successfully communicating with web services, internal to the organization or not, requires the ability to generate and digest the structured ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required