企业的APP开发中,对于苹果设备有个独特的通知推送功能要解决,尤其是在做移动IM时,对APNS(Apple Push Notification Service)的要求比较高,虽然有专门的第三方提供此类服务,但出于安全的考滤,有能力的公司宁愿自建推送服务系统。本人结合工作中的开发经验,在这探讨一下其架构的演进与探索,希望能使此类系统更加完美。
IM系统自建苹果通知推送服务系统的层级关系如下:
...
分类:
移动开发 时间:
2014-10-28 21:51:32
阅读次数:
258
假如A和B需要通信,B需要获取A的消息 首先是delegate和notification这两个,A和B之间有相互的关联用delegate,若A和B毫无联系就该用notification。 然后是KVO,delegate和notification是A和B双方合作的事情,而KVO是B单方面的事情...
分类:
其他好文 时间:
2014-10-27 17:19:09
阅读次数:
124
用户权限管理解决方案
"cartalyst/sentry": "2.1.*",详细地址:Cartalyst
网站面包屑 "davejamesmiller/laravel-breadcrumbs": "dev-master",
消息管理 "edvinaskrucas/notification": "3...
分类:
其他好文 时间:
2014-10-27 17:04:06
阅读次数:
316
1、本地通知的定义和使用:本地通知是UILocalNotification的实例,主要有三类属性:scheduled time,时间周期,用来指定iOS系统发送通知的日期和时间;notification type,通知类型,包括警告信息、动作按钮的标题、应用图标上的badge(数字标记)和播放的声音...
分类:
移动开发 时间:
2014-10-26 21:03:25
阅读次数:
282
notification 报错the method build() is undefined for the type Notificatin.Builder
这事api版本太低导致的
Notifica没有builder方法,解决方案,将项目api调整到 17 ok。...
分类:
其他好文 时间:
2014-10-24 14:40:17
阅读次数:
166
package com.seven7.mypushdome;
import org.json.JSONException;
import org.json.JSONObject;
import cn.jpush.android.api.JPushInterface;
import android.app.Notification;
import android.app.Notificati...
分类:
移动开发 时间:
2014-10-23 10:48:08
阅读次数:
237
http://blog.csdn.net/felix9/article/details/9619313 在实际开发中,发现使用Block有着比delegate和notification更简洁的优势。于是在目前的项目中大量的使用block。 在我的头文件我是这样声明使用block的。[plain].....
分类:
其他好文 时间:
2014-10-20 21:09:33
阅读次数:
205
1、MVC模式:2、代理模式:3、单例模式:4、观察者模式:Notification、KVO5、工厂模式:6、策略模式:
分类:
移动开发 时间:
2014-10-20 15:26:25
阅读次数:
135
简述NotificationCenter、KVC、KVO、Delegate?并说明它们之间的区别?Notification是观察者模式的实现,KVO是观察者模式的OB-C底层实现。NOtification通过Notifydcationaddobserver和removeobserver工作。
KVO是键值监听,键值观察机制,提供了观察某一属性变化的方..
分类:
其他好文 时间:
2014-10-19 01:31:06
阅读次数:
237
Boss需要用到RedMine(project management) open source.
由于不熟悉MS的SMTP服务,BOSS说他配好了,然后配置到Email notification时候,遭遇到 “redmine An error occurred while sending ma...
分类:
其他好文 时间:
2014-10-17 18:34:17
阅读次数:
460