Cover image for Professional iOS Network Programming : Connecting the Enterprise to the iPhone and iPad.
Professional iOS Network Programming : Connecting the Enterprise to the iPhone and iPad.
Title:
Professional iOS Network Programming : Connecting the Enterprise to the iPhone and iPad.
Author:
Cox, Jack.
ISBN:
9781118382233
Personal Author:
Edition:
1st ed.
Physical Description:
1 online resource (364 pages)
Contents:
Professional iOS Network Programming: Connecting the Enterprise to the iPhone® and iPad® -- Copyright -- About the Authors -- About the Technical Editor -- Credits -- Acknowledgments -- Contents -- Introduction -- Who this Book is for -- What this Book Covers -- How this Book is Structured -- What you need to use this Book -- Conventions -- Source Code -- Errata -- P2P.Wrox.Com -- Part I: Understanding iOS and Enterprise Networking -- Chapter 1: Introducing iOS Networking Capabilities -- Understanding the Networking Frameworks -- iOS Networking APIs -- NSURLConnection -- Game Kit -- Bonjour -- NSStream -- CFNetwork -- BSD Sockets -- Run Loops -- Run Loop Modes -- Summary -- Chapter 2: Designing Your Service Architecture -- Remote Façade Pattern -- Example Façade Services -- Example Façade Clients -- Service Versioning -- Example Versioned Services -- Example Client Using Versioned Services -- Service Locators -- Summary -- Part II: HTTP Requests: The Workhorse of iOS Networking -- Chapter 3: Making Requests -- Introducing HTTP -- Understanding HTTP Requests and Responses -- URL Structure -- Request Contents -- Response Contents -- High-Level iOS HTTP APIs -- Objects Common to All Request Types -- Synchronous Requests -- Queued Asynchronous Requests -- Asynchronous Requests -- Advanced HTTP Manipulation -- Using Request Methods -- Cookie Manipulation -- Advanced Headers -- Summary -- Chapter 4: Generating and Digesting Payloads -- Web Service Protocols and Styles -- Simple Object Access Protocol (SOAP) -- Representational State Transfer (REST) -- Choosing an Approach -- Payloads -- Introducing Payload Data Formats -- Digesting Response Payloads -- Generating Request Payloads -- Summary -- Chapter 5: Handling Errors -- Understanding Error Sources -- Operating System Errors -- HTTP Errors -- Application Errors -- Rules of Thumb for Handling Errors.

Include Error Handling In the Interface Contract -- Error Statuses Lie -- Validate the Payload -- Separate Errors from Normal Business Conditions -- Always Check HTTP Status -- Always Check NSError -- Develop a Consistent Method for Handling Errors -- Always Set a Timeout -- Gracefully Handling Network Errors -- Design Pattern Description -- Command Dispatch Pattern Example -- Summary -- Part III: Advanced Networking Techniques -- Chapter 6: Securing Network Traffic -- Verifying Server Communication -- Authenticating with HTTP -- HTTP Basic, HTTP Digest, and NTLM Authentication -- Client-Certificate Authentication -- Message Integrity with Hashing and Encryption -- Hashing -- Message Authentication Codes -- Encryption -- Storing Credentials Securely on the Device -- Summary -- Chapter 7: Optimizing Request Performance -- Measuring Network Performance -- Network Bandwidth -- Network Latency -- Device Power -- Optimizing Network Operations -- Reducing Request Bandwidth -- Reducing Request Latency -- Avoid Network Requests -- Summary -- Chapter 8: Low-Level Networking -- BSD Sockets -- Configuring a Socket Server -- Connecting as a Socket Client -- CFNetwork -- NSStream -- Summary -- Chapter 9: Testing and Manipulating Network Traffic -- Observing Network Traffic -- Sniffing Hardware -- Sniffing Software -- Manipulating Network Traffic -- Setting Up Charles -- HTTP Breakpoints -- Rewrite Rules -- Simulating Real-World Network Conditions -- Summary -- Chapter 10: Using Push Notifications -- Scheduling Local Notifications -- Creating Local Notifications -- Canceling Local Notifications -- Handling the Arrival of Local Notifications -- Registering and Responding to Remote Notifications -- Configuring Remote Notifications -- Registering for Remote Notifications -- Remote Notification Payloads -- Sending Remote Notifications.

Responding to Remote Notifications -- Understanding Notification Best Practices -- Summary -- Part IV: Networking App to App -- Chapter 11: Inter-App Communication -- URL Schemes -- Implementing a Custom URL Scheme -- Sensing the Presence of Other Apps -- Advanced Communication -- Shared Keychains -- Enterprise SSO -- Detecting Previous Installations -- Summary -- Chapter 12: Device-to-Device Communication with Game Kit -- Game Kit Basics -- Peer-to-Peer Networking -- Connecting to a Session -- Sending Data to Peers -- Client-Server Communication -- Summary -- Chapter 13: Ad-Hoc Networking with Bonjour -- Zeroconf Overview -- Addresses -- Resolution -- Discovery -- Bonjour Overview -- Publishing a Service -- Browsing for Services -- Resolving a Service -- Communicating with a Service -- Implementing Bonjour-Based Applications -- Employee Application -- Customer Application -- Summary -- Index -- Advertisement.
Abstract:
Learn to develop iPhone and iPad applications for networked enterprise environments The iPhone and iPad have made a powerful impact on the business world. Developers creating iOS apps for the enterprise face unique challenges involving networking, system integration, security, and device management. This Wrox guide provides everything you need to know to write iOS apps that integrate with enterprise network resources, providing options for networking iOS devices to enterprise systems and to each other. Offers a complete compendium of methods and techniques for networked communication between iOS applications and other platforms and devices Includes instruction on incorporating synchronous and asynchronous HTTP requests, security, communication issues, and more Covers payload handling, network security, GameKit and Bonjour communications, and low-level network communications Professional iOS Network Programming focuses on the networking aspects of iOS and its relationship to remote data sources, offering a truly unique approach.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: