IOS network programming and cloud application best practices-source code download, digest

Source: Internet
Author: User

The book "iOS network programming and cloud application best practices" was officially released. (Dangdang and Amazon can book it)

 

Dangdang presales Amazon presales


Before the official release of this book, let's share the source code and trial chapters with you!


Source code of the book "iOS network programming and cloud application best practices" (Free Download ):

Http://download.csdn.net/detail/tonny_guan/5419117

Trial chapter

Http://download.csdn.net/detail/tonny_guan/5419123

Online communication via Weibo

Reading and Communication Group: 286411514/204462948

The latest news in this book can be followed by my weibo @ Tony _ Guan Dongsheng

Sina Weibo: http://weibo.com/516inc

Book Website: http://www.iosbook3.com, part of the content and survey questions discussion area, etc.

 

  • Author: Guan Dongsheng
  • Publishing Club: Tsinghua University Press
  • Published on:
  • Version: 1 page: 424

IOS network programming and cloud application Best Practices
Directory
Recommendation sequence (1) I
Recommendation sequence (ii) iii
Praise v
Preface VII

Chapter 1 Overview

1.1 book Structure

Conventions in the 1.2 book

1.2.1 instance code conventions

1.2.2 conventions

Network Basics

Chapter 2 unlimited communication-Apple's Network

2.1 Network Structure

2.1.1 Client Server Structure Network

2.1.2 peer-to-peer network

2.2 socket-Based C/S structure network communication

2.2.1socket Concept

2.2.2socket Programming

2.2.3 instance: nsstream & cfstream implements TCP socket server

2.2.4 instance: nsstream & cfstream implement TCP Socket Client

2.3bonjour service discovery

2.3.1 publish a service

2.3.2 Resolution Service

2.3.3 Search Service

2.3.4 instance: Socket Communication Server Based on service discovery

2.3.5 instance: Socket Communication client based on service discovery

2.4 peer-to-peer network

2.4.1 use game kit to develop peer-to-peer network applications

2.4.2 instance: Bluetooth peer-to-peer network communication

Summary of this Chapter

Chapter 4 Data Exchange Format

3.1xml Data Exchange Format

3.1.1 document structure

3.1.2xml file parsing and framework performance

3.1.3 example: mynotes application XML

3.2json Data Exchange Format

3.2.1 document structure

3.2.2json data encoding/decoding and framework performance

3.2.3 example: JSON Decoding of mynotes applications

Summary of this Chapter

Cloud Service

Chapter 4 Use Web Service-network communication Based on Client Server Structure

4.1 rest Web Service

4.1.1http and HTTPS protocols

4.1.2 synchronous get Method Request Programming

4.1.3 asynchronous get Method Request Programming

4.1.4post Method Request Programming

4.1.5 instance: mynotes application implemented by rest Web Service

4.2 soap Web Service

4.2.1wsdl Concept

4.2.2soap Protocol

4.2.3 instance: Soap Web Service implements mynotes applications

4.3asihttprequest framework

4.3.1 install and configure the asihttprequest framework

4.3.2 synchronous request

4.3.3 asynchronous request

4.3.4 instance: Request queue Application

4.3.5 instance: Upload data application

4.4 feedback on network information to improve user experience

4.4.1ios 6 Table view refreshing Control

4.4.2 use the wait indicator control

4.4.3 use the network wait indicator

4.4.4 use the mbprogresshud wait indicator

Summary of this Chapter

Chapter 2 iCloud Programming

5.1 Apple cloud service-iCloud

5.2 configure iCloud

5.2.1 create an app ID

5.2.2 create a configuration Profile

5.3icloud Data Storage

5.3.1cloud key-Value Data Storage

5.3.2icloud document storage

5.3.3precautions for cloud storage

5.4cloud key-value data storage Programming

5.4.1 instance: cloud key value data storage design

5.4.2 configure the xcode Project

5.4.3 code implementation

5.5icloud document storage Programming

5.5.1 example: Programming Design of iCloud document storage

5.5.2 configure the xcode Project

5.5.3 custom document class

5.5.4 obtain the iCloud document directory

5.5.5 search for documents in the ubiquity container

5.5.6 Save the document

5.5.7 resolve document conflicts

5.6 use core data technology under iCloud

5.6.1 instance: Programming Design of iCloud core data

5.6.2 use xcode to create a core data project

5.6.3 create a persistent Storage Coordinator

5.6.4 create a managed object context

5.6.5 merge cloud and local data

Summary of this Chapter

Social networking

Chapter 2 Social Network Programming

6.1 Apple's social network

6.1.1 Set Account Information

6.1.2 social network programming API

6.2ios 6 Sharing list -- uiactivityviewcontroller

6.2.1 built-in activity list items

6.2.2 custom activity list items

6.3 write View Controller -- slcomposeviewcontroller

6.4 write your own social network client

6.4.1 instance: Compile Sina Weibo Client

6.4.2 instance: compile a Twitter Client

6.4.3 instance: Compile the Facebook Client

Summary of this Chapter

Chapter 4 positioning service and map application development

7.1 positioning service

7.1.1 Positioning Service Programming

7.1.2 anti-encoding of geographic information

7.1.3 query of Geographic Information encoding

7.1.4 Test the positioning service

7.2 use iOS 6 Apple Map

7.2.1 display Map

7.2.2 add Annotation

7.2.3 tracking user location changes

7.3 use an out-of-app Map

7.3.1 call iOS 6 Apple Map

7.3.2 call Google Web Map

7.4 use a localized Baidu Map

7.4.1 installation and initialization of Baidu Map

7.4.2 display Map

7.4.3 Geographic Information encoding and anti-Encoding

7.4.4 add annotation points

Summary of this Chapter

E-commerce

Chapter 4 publish your promotion information-push notifications

How many "notifications" Does Apple have in 8.1"

8.1.1 broadcast notification

8.1.2 local notification

8.1.3 push notification

8.2 configure push notifications

8.2.1 Certificate Signing Request

8.2.2 configure application push notifications

8.2.3 generate an SSL Certificate

8.2.4 export the p12 file for the SSL Certificate

8.3ios client Programming

8.3.1 configure the xcode Project

8.3.2 code implementation

8.4 push Server programming

8.4.1 PUSH Service using PHP

8.4.2 use Java PUSH Service

Summary of this Chapter

Chapter 3 newsstand Application Programming

9.1ios 5 newsstand Application

9.2newsstand Application Programming

9.2.1 configure newsstand

9.2.2 use newsstand kit API

9.3 example: mynewsstand magazine Application

9.3.1 instance design prototype sketch

9.3.2 instance design class diagram

9.3.3 initialize the magazine Screen

9.3.4 proactive resource download

9.3.5 background resource download

9.3.6 resumable upload

9.3.7 read magazine content

Summary of this Chapter

Chapter 4 purchase in-app

10.1 Design of In-APP purchase instances

10.2 test environment construction

10.2.1 add test user

10.2.2 create an app ID

10.2.3 Add a blank Application

10.2.4 add product information for the Application

10.3 server product type purchase in-app

10.3.1 Workflow

10.3.2 instance: IOS client purchased in-app

10.3.3 instance: server side implemented by PHP

Summary of this Chapter

Chapter 2 iOS 6 passbook Application Development

11.1passbook and pass

Five style 11.1.1pass

Internal Structure of 11.1.2pass

11.2 design pass

11.2.1pass.json file structure

11.2.2pass type and Field

11.2.3 two-dimensional Barcode

11.2.4 position and time

11.2.5 Localization

11.2.6 use of icons and Images

11.3 create pass

11.3.1 create a Pass certificate

11.3.2 digital signature and packaging of pass files

11.4 release pass

11.4.1e? Mail Publishing

11.4.2web site released

11.5 pass kit Programming

11.5.1 instance: mypass instance design and description

11.5.2 preparations

11.5.3 access passbook

11.5.4 add and replace pass

11.5.5 delete pass

Summary of this Chapter

Practice

Chapter 2 restructuring mynotes applications-design mode and Architecture Design in IOS Network Communication

12.1 layered architecture design of mobile network communication applications

12.2 delegation-based implementation

12.2.1 network communication and delegation Mode

12.2.2 Layered Architecture Design of delegated mode in Asynchronous Network Communication

12.2.3 class diagram

12.2.4 Sequence Chart

12.2.5 Data Persistence Layer Code Implementation

12.2.6 business logic layer code implementation

12.2.7 presentation layer code implementation

12.3 implement the observer-based notification mechanism

12.3.1 Review of the notification mechanism in observer Mode

12.3.2 Layered Architecture Design of notification mechanism in Asynchronous Network Communication

12.3.3 class diagram

12.3.4 Sequence Chart

12.3.5 Data Persistence Layer Code Implementation

12.3.6 business logic layer code implementation

12.3.7 presentation layer code implementation

Summary of this Chapter

Chapter 2 IOS agile development project practice-price line hotel reservation iPhone client development

13.1 Application Analysis and Design

13.1.1 application Overview

13.1.2 Requirement Analysis

13.1.3 prototype design

13.1.4 Architecture Design

13.2ios agile development

13.2.1 Agile Development Declaration

13.2.2ios can be developed in agile mode

13.2.3ios General agile development process

13.3 Task 1: Create an application's basic Workspace

13.3.1 iteration 1.1 create a business logic layer Project

13.3.2 iteration 1.2 create a presentation layer Project

13.4 Task 2: business logic layer development

13.4.1 iteration 2.1 compile the business logic layer class for searching hotels

13.4.2 iteration 2.2 compile the room query business logic class

13.5 Task 3: Presentation Layer Development

13.5.1 iteration 3.1 Preliminary Design of the story board based on the prototype design

13.5.2 iterative 3.2 search for the hotel Module

13.5.3 iteration 3.2.1 select the City View Controller

13.5.4 iteration 3.2.2 select the keyword View Controller

13.5.5 iteration 3.2.3 Select Price and Date Picker

13.5.6 iteration 3.2.4 hotel search View Controller

13.5.7 iteration 3.2.5 hotel search List View Controller

13.5.8 iteration 3.3 room query module

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.