Seven Yu @ 10/29/2008 (10:01 am)

RIA Meeting[北京]第八次会议

Tags: , , ::

近来Adobe出招频繁,随着Flash Player10的正式发布,还有让人万分期待的Adobe CS4创作合集,都无疑给RIA市场注入了兴奋的动力,身为RIA开发者的你,是否跃跃欲试?

Show Time!RIAMeeting第八次开发者聚会将在11月8日召开,具体信息如下:

这次的会议的主题:
Flash Player 10的新特性

时间:
2008年11月8日 下午

地点:

Adobe中国研发中心
北京海淀区中关村东路1号院 清华科技园 科技大厦 A座 21层

会议日程:

1:30 -  2:00 签名入场(收集名片,最后抽出5个幸运奖,有惊喜奖品哦)

2:00 – 3:00 Flash Player 10新特性演示(附件中是演讲稿)

3:00 – 3:20 休息,并收集大家的问题

3:20 – 5:00 根据问题展开分组讨论

本次会议特别邀请7yue作为我们的现场嘉宾,和大家一起畅谈RIA话题

本次报名将采用系统报名的方式,请使用下面的地址报名:

http://www.riameeting.cn/register/

如有问题,请咨询邮件:contactus@riameeting.cn

Seven Yu @ 10/28/2008 (11:32 am)

IE 无法记录第三方 Cookie 的解决方案

Tags: , , ::

最近由于工作的需要,一直在研究各 SNS 的 API,中间遇到一个问题,就是 IE 中嵌入 SNS 站点的 iframe 页面不能记录 Cookie。

经过同事的努力终于找到问题所在:原来 IE 中有安全设置,屏蔽了第三方站点的 Cookie(可能还包括 Session)。

解决办法是加入一个 P3P header:

PLAIN TEXT >> PHP:
  1. // CP 里面貌似是一些协议,具体含义还有待研究
  2. header('P3P: CP="DSP IDC CUR ADM DELi STP NAV COM UNI INT PHY DEM"');

Seven Yu @ 10/11/2008 (12:55 pm)

关于 Blitz templates

Tags: , , ::

Blitz templates 是一个 PHP 模板引擎, 与其他 PHP 模板引擎不同的是 Blitz 不是用 PHP 开发的, 而是用 c 开发的一个 PHP 扩展 (PHP-extension), 所以 Blitz 没有 PHP 文件(下载压缩包中可能会有个 Blitz.php 文件用于一些编辑器的代码提示).

windows 下是一个 dll 文件, 你可以放到 PHP 安装目录下的 ext 文件夹中, 然后修改 php.ini 文件, 增加一行代码: extension = php_blitz.dll, 然后重启 Apache, 这样你的php就可以使用 Blitz 模板了. phpinfo 中会看到类似这样的信息.

Blitz 还有一个最显著的特点, 也是最大的优势, 就是解析速度非常快, 甚至比 php 的 include 函数还要快, 可以看看官方网站上的统计图.

Blitz 的函数不错, 基本是靠键值对数组来绑定模板变量, 使用起来还算方便, 更多信息参考官方网站的手册.

Seven Yu @ 10/07/2008 (7:48 pm)

Evernote 公布了 API, 有的玩啦…

Tags: , ::

Evernote 公布了 API, 我的 OnlineNote 有救了. 以下是官方的信息.

Evernote API Overview

Evernote's API provides secure access for your trusted local or web-based applications using the same network communications that are used by Evernote's own client software.

Developers who wish to communicate with the Evernote service from their applications should download the API overview document to learn how the Evernote API operates and how it should be used by applications. Then, you can download the current API archive, which includes documentation, libraries, sources, and sample code.

Submit an API Key request to Technical Support if you would like access to the Evernote API. We will then send you an API "Consumer Key" and additional information that you will need to test against Evernote's dedicated test servers.