Professional IOS Network Programming
Home > Computing and Information Technology > Computer programming / software engineering > Apps programming > Professional IOS Network Programming: Connecting the Enterprise to the iPhone and iPad
Professional IOS Network Programming: Connecting the Enterprise to the iPhone and iPad

Professional IOS Network Programming: Connecting the Enterprise to the iPhone and iPad

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

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.

Table of Contents:
INTRODUCTION xix PART I: UNDERSTANDING IOS AND ENTERPRISE NETWORKING CHAPTER 1: INTRODUCING IOS NETWORKING CAPABILITIES 3 Understanding the Networking Frameworks 3 iOS Networking APIs 4 NSURLConnection 5 Game Kit 5 Bonjour 5 NSStream 6 CFNetwork 6 BSD Sockets 6 Run Loops 7 Run Loop Modes 8 Summary 8 CHAPTER 2: DESIGNING YOUR SERVICE ARCHITECTURE 9 Remote Facade Pattern 10 Example Facade Services 12 Example Facade Clients 15 Service Versioning 17 Example Versioned Services 18 Example Client Using Versioned Services 19 Service Locators 20 Summary 24 PART II: HTTP REQUESTS: THE WORKHORSE OF IOS NETWORKING CHAPTER 3: MAKING REQUESTS 27 Introducing HTTP 28 Understanding HTTP Requests and Responses 29 URL Structure 30 Request Contents 31 Response Contents 33 High-Level iOS HTTP APIs 35 Objects Common to All Request Types 35 Synchronous Requests 39 Queued Asynchronous Requests 42 Asynchronous Requests 45 Advanced HTTP Manipulation 53 Using Request Methods 53 Cookie Manipulation 54 Advanced Headers 60 Summary 63 CHAPTER 4: GENERATING AND DIGESTING PAYLOADS 65 Web Service Protocols and Styles 66 Simple Object Access Protocol (SOAP) 66 Representational State Transfer (REST) 68 Choosing an Approach 69 Payloads 70 Introducing Payload Data Formats 70 Digesting Response Payloads 73 Generating Request Payloads 86 Summary 92 CHAPTER 5: HANDLING ERRORS 93 Understanding Error Sources 93 Operating System Errors 95 HTTP Errors 101 Application Errors 102 Rules of Thumb for Handling Errors 103 Include Error Handling In the Interface Contract 103 Error Statuses Lie 104 Validate the Payload 104 Separate Errors from Normal Business Conditions 104 Always Check HTTP Status 105 Always Check NSError 105 Develop a Consistent Method for Handling Errors 105 Always Set a Timeout 105 Gracefully Handling Network Errors 105 Design Pattern Description 106 Command Dispatch Pattern Example 111 Summary 116 PART III: ADVANCED NETWORKING TECHNIQUES CHAPTER 6: SECURING NETWORK TRAFFIC 119 Verifying Server Communication 120 Authenticating with HTTP 124 HTTP Basic, HTTP Digest, and NTLM Authentication 125 Client-Certifi cate Authentication 127 Message Integrity with Hashing and Encryption 131 Hashing 132 Message Authentication Codes 136 Encryption 139 Storing Credentials Securely on the Device 151 Summary 155 CHAPTER 7: OPTIMIZING REQUEST PERFORMANCE 157 Measuring Network Performance 158 Network Bandwidth 158 Network Latency 159 Device Power 160 Optimizing Network Operations 161 Reducing Request Bandwidth 161 Reducing Request Latency 168 Avoid Network Requests 170 Summary 173 CHAPTER 8: LOW-LEVEL NETWORKING 175 BSD Sockets 176 Configuring a Socket Server 177 Connecting as a Socket Client 178 CFNetwork 182 NSStream 186 Summary 190 CHAPTER 9: TESTING AND MANIPULATING NETWORK TRAFFIC 191 Observing Network Traffic 192 Sniffing Hardware 192 Sniffing Software 193 Manipulating Network Traffic 200 Setting Up Charles 202 HTTP Breakpoints 205 Rewrite Rules 207 Simulating Real-World Network Conditions 209 Summary 211 CHAPTER 10: USING PUSH NOTIFICATIONS 213 Scheduling Local Notifications 214 Creating Local Notifications 214 Canceling Local Notifications 218 Handling the Arrival of Local Notifications 219 Registering and Responding to Remote Notifications 223 Configuring Remote Notifications 224 Registering for Remote Notifications 229 Remote Notification Payloads 234 Sending Remote Notifications 236 Responding to Remote Notifications 240 Understanding Notification Best Practices 243 Summary 244 PART IV: NETWORKING APP TO APP CHAPTER 11: INTER-APP COMMUNICATION 247 URL Schemes 248 Implementing a Custom URL Scheme 248 Sensing the Presence of Other Apps 251 Advanced Communication 252 Shared Keychains 257 Enterprise SSO 257 Detecting Previous Installations 264 Summary 266 CHAPTER 12: DEVICE-TO-DEVICE COMMUNICATION WITH GAME KIT 267 Game Kit Basics 268 Peer-to-Peer Networking 271 Connecting to a Session 272 Sending Data to Peers 274 Client-Server Communication 279 Summary 280 CHAPTER 13: AD-HOC NETWORKING WITH BONJOUR 281 Zeroconf Overview 282 Addresses 282 Resolution 283 Discovery 283 Bonjour Overview 284 Publishing a Service 284 Browsing for Services 290 Resolving a Service 293 Communicating with a Service 295 Implementing Bonjour-Based Applications 299 Employee Application 301 Customer Application 309 Summary 317 INDEX 319


Best Sellers


Product Details
  • ISBN-13: 9781118362402
  • Publisher: John Wiley & Sons Inc
  • Binding: Paperback
  • Language: English
  • Spine Width: 18 mm
  • Weight: 610 gr
  • ISBN-10: 1118362403
  • Publisher Date: 23 Oct 2012
  • Height: 230 mm
  • Returnable: N
  • Sub Title: Connecting the Enterprise to the iPhone and iPad
  • Width: 187 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Professional IOS Network Programming: Connecting the Enterprise to the iPhone and iPad
John Wiley & Sons Inc -
Professional IOS Network Programming: Connecting the Enterprise to the iPhone and iPad
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Professional IOS Network Programming: Connecting the Enterprise to the iPhone and iPad

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!