Working with RESTful Services in CodeIgniter
CodeIgniter is becoming well known for its power as a PHP based web application framework, but it's not often that we see examples of it being used for anything else. Today we'll learn how we can use CodeIgniter to create a RESTful API for your existing web applications, and demonstrate how to interact with your own API or other RESTful web-services, such as Facebook and Twitter.
儿子:爸爸,你陪我玩吧。
我:爸爸正在工作,一会儿陪你玩好吗?
儿子:你怎么一天到晚就知道工作,啥也不干。。。。
我:。。。。儿子,咱们踢球玩吧。。。。
认真想想,一天到晚光想着工作,其它啥也不干,是很错误的 
小朋友总是能够一针见血,呵呵 
2009 年很快就要结束了,回想起这一年,觉得时间过得太快,也很平淡,和朋友合伙创办了思博天宇,做了很多项目,似乎每天都在忙碌,一直没有来得及停下脚步来看一看,也行我们也要偶尔停下来休息休息,这样才能走得更远。不管怎么说,翻过今天,明天必定更美好,感谢我的同事们,祝大家新年快乐 
目前很多网站都使用了 Google Analytics 来跟踪各个页面的访问情况,但经常会出现页面过慢,JS 执行错误等问题,导致统计的结果不准确。现在 Google 提供了一个新的功能─异步跟踪:
- Faster tracking code load times for your web pages due to improved browser execution
- Enhanced data collection and accuracy
- Elimination of tracking errors from dependencies when the JavaScript hasn't fully loaded
JS 代码片段:
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXX-X']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
ga.setAttribute('async', 'true');
document.documentElement.firstChild.appendChild(ga);
})();
</script>
更多信息…
儿子从幼儿园回来。
我:今天学英语了么?
儿:学了。
我:学什么了?给爸爸讲讲。
儿:wo-shao
我:什么?没听明白,你慢点说。
儿:就是“握勺”,握紧勺子的意思。
我:不懂。。。
儿:就是你是小老鼠,小猫咪来了,就要说“握勺”。
shxll:哦,watch out 呀,小心!
我:。。。。。。