- 追加された行はこの色です。
- 削除された行はこの色です。
*目次 [#wbc26569]
#contents
*趣旨 [#n1e14bc0]
iPhone上でwebサーバってうごくのかな?っておもったから、リンクをまずはあつめてみようとおもったのでありました。
*通勤中でも寝る前でも!iPhoneプログラミングを勉強出来る簡単な方法! [#kea0a68e]
http://golog.plus.vc/iphone/879/
**日本語で書かれております。 [#fe9b5fe8]
https://developer.apple.com/jp/devcenter/ios/library/japanese.html
**iOSのドキュメント一覧 [#l081f206]
http://golog.plus.vc/iphone/879/
全てPDFで提供されています。
ですのでiPhoneでPDFを開き、iBooksで保存することが出来ます。
*A simple, extensible HTTP server in Cocoa [#tb18cd36]
http://cocoawithlove.com/2009/07/simple-extensible-http-server-in-cocoa.html
*Creating an iPhone-based Web Service [#w872170b]
http://blogs.oreilly.com/iphone/2008/09/creating-an-iphone-based-web-s.html
*CocoaHTTPServer [#tc0581a7]
https://github.com/robbiehanson/CocoaHTTPServer
テンプレートをつかうような、組み込みには向いていない?
**CocoaHTTPServer と MGTemplateEngine のコンピネーション [#x003a960]
https://github.com/jgillick/Ganzbot-Controller
*asyncsocket [#jc14550e]
http://www.cocoadev.com/index.pl?AsyncSocket
*A Simple HTTP Server [#i9104d71]
http://culturedcode.com/cocoa/
*cocoaはクライアントのサポートは厚いが、サーバのサポートは薄い [#xb692546]
http://stackoverflow.com/questions/478719/what-classes-do-i-use-to-make-an-iphone-act-as-a-server
Cocoa provides lots of support for client-side networking but not a lot for server-side.
At the lowest level, you can use normal BSD sockets.
The next level up is CoreFoundation (plain C but using Cocoa-like types). Relevant CoreFoundation APIs are CFNetwork, CFSocket and CFStream (CFStream is a file-stream that can have its source through a network -- it is not a System V style network Stream).
In Objective-C, you can look at NSStream which is the Objective-C equivalent of CFStream.
*シンプルで簡単に HTTP 通信が出来るライブラリ [#f35c3672]
http://d.hatena.ne.jp/glass-_-onion/20120304/1330826940
**ダウンロード [#o9fa148b]
https://github.com/glassonion1/R9HTTPRequest/zipball/master
*RestKit [#a0ee638b]
http://restkit.org/
*How can I connect iPhone and web service and get XML data? [#t72a9953]
http://stackoverflow.com/questions/352676/how-can-i-connect-iphone-and-web-service-and-get-xml-data
*ソケット通信で画像を送るときのエンコードまわりについて [#j590a54f]
http://opendevlog2.blogspot.jp/2012/05/objective-c.html
*Cocoa web server をつくる方法の解説 [#f7828796]
http://macdevcenter.com/pub/a/mac/2006/11/14/how-to-write-a-cocoa-web-server.html
**記載してある内容 [#md35f85b]
コールバック関数の実装
ソケット通信クライアント側の実装
*JSONのライブラリ [#n65087ef]
https://github.com/johnezang/JSONKit
*base64エンコード、デコードを実装する & 64進数 [#x0a36ccb]
http://fernweh.jp/b/objective-c-base64/#id-4
*iPhoneの位置情報をsocket.ioでリアルタイムにGoogle Mapに表示する [#vff133a9]
http://growthfield.hatenablog.jp/category/objective-c
クライアント側がiPhoneでサーバ側がnode,socket.ioという構成
*CFNetwork APIをつかったクライアント [#kd19adc7]
http://allseeing-i.com/ASIHTTPRequest/
残念なことに最近 ASIHTTPRequest の開発が終了してしまい Automatic Reference Counting(ARC) に対応する予定もない
*[iOS] ネットワーク接続状況取得ライブラリ [#vbcf181b]
http://cocoadays.blogspot.jp/2011/05/ios_25.html