apns-php:為PHP程序添加蘋果的推送信息服務
在蘋果的操作系統3.0以上,你可以享受到蘋果的推送信息的服務,簡稱Apple Push Notification Service(APNS),及時獲得各類有用的資訊。
現在,你可以使用PHP去實現這個功能了,apns-php項目提供了這個功能,該項目的文檔宣稱APNS API在2010年的12月17日已經完成了,可以提供自定義提醒圖片和本地化的按鈕等新特性。
- Autoload system, explicitly include only Autoload.php and all classes are loaded on-demand.
- Message class, to build a notification payload.
- Push class, to push one or more messages to Apple Push Notification service.
- Feedback class, to query the Apple Feedback service to get the list of broken device tokens.
- Push Server class, to create a Push Server with one or more (forked) processes reading from a common message queue.
- Log class/interface, to log to standard output or for custom logging purpose.
- Objective-C Demo Project with not-running, running in foreground and running in background application state support.
Classes hierarchy
http://code.google.com/p/apns-php/
本文由用戶 openkk 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!