Getting XDebug working with PHPUnit for code coverage reports

Posted on 29th December 2006 by Nio in 程序人生

Getting XDebug working with PHPUnit for code coverage reports

I've been playing with PHPUnit a lot of late, particularly with framework development. One thing that's always hard to determine is how well your code is exercised — basically, how much of the code is tested in the unit tests?

In PHPUnit 3, you can now generate code coverage reports using XDebug, and the usage is very simple: [....]

有机会试一试。

An overview of the CakePHP framework

Posted on 24th December 2006 by Nio in CakePHP, 程序人生

An overview of the CakePHP framework

There are many frameworks available for the PHP programming language nowadays, and especially a lot of RAD (Rapid Application Development) frameworks which aim to make web development faster, less tedious and more organized. CakePHP was one of the first frameworks to port the RAD philosophy - which became so popular after Ruby on Rails - to the PHP programming language. CakePHP v1.0 is now one of the most popular and intuitive solutions for PHP programming, let's discover why…

The Benefits of Java EE 5

Posted on 20th December 2006 by Nio in Java, 程序人生

The Benefits of Java EE 5

From its inception more than a decade ago, the Java platform has matured considerably making it the preferred choice of many professionals & organizations for developing applications. In its most recent version for the enterprise — dubbed Java EE 5 — its designers have placed a special emphasis on doing more with less, so whether you're a seasoned expert or just starting out, it's likely you will find some fresh approaches that will simplify and ease your development efforts � this article takes a closer look.

VirtueDesktops

Posted on 17th December 2006 by Nio in Mac, 程序人生

VirtueDesktops 是苹果 Mac OS 下的一个虚拟桌面管理软件。它提供了很多别的桌面管理器所没有的功能。此软件基于 Rich Wareham 的 DesktopManager(这也是一个开源的虚拟桌面软件)。License 当然是 GPL 的了 :)

VirtueDesktops

我在自己的 MacBook Pro 中安装了 VirtueDesktops,感觉很不错,相当酷。因为 MacBook Pro 支持光感应(Light Sensor)和移动感应(Motion Sensor),所以可以激活 VirtueDesktops 的这两个相关选项,这样的话你就可以用手掌扫过左边的光感应器上方,虚拟桌面自动切换到左边的那个桌面,扫过右边自然就是往右边切换了;也可以在笔记本左侧轻拍一下,虚拟桌面就会自动往右切换,显示出左边的那个桌面,拍右边可以往反方向切换。是不是很酷,看了这个软件让我有一种冲动,想要写一些与光感应、移动感应相关的程序玩玩。

儿子一周岁

Posted on 17th December 2006 by Nio in 宝宝, 日常生活

今天宝宝正好满一周岁,给他买了小的生日蛋糕,其实他只吃了几小口,大部分都是我们吃了,哈哈哈。

我们还在他周围摆了很多东西,让他抓周,鼠标、钱、CD、书、笔、玩具汽车、足球,各式各样的东西,结果他只喜欢汽车,抓着不放。

想想时间过得还真是快,他现在已经会叫妈妈了,貌似牙也快出来了,这一段时间都在学走路,估计过不了多久就会自己走了吧。

DSC05190.JPG

DSC05194.JPG

DSC05205.JPG

(more…)