PHP Sockets

Posted on 31st July 2006 by Nio in 程序人生

Jim Plush 写了一个序列教程 PHP Sockets Made Easy,教你如何使用 PHP 进行 socket 编程。

计划有五个部分:

  1. Basic PHP Socket Server
  2. Advanced PHP Socket Server
  3. Basic PHP Socket Client
  4. Advanced PHP Socket Client
  5. Advanced Topics

不过目前只完成第一部分,主要介绍了:

  • PHP 基本的 socket 相关函数
  • TCP 和 UDP 协议
  • 使用 PHP 创建一个 socket 服务端

An Architect’s Perspective on Application Quality

Posted on 24th July 2006 by Nio in 程序人生

From TSS: An Architect's Perspective on Application Quality:

Are you trying to achieve a higher level of quality in your organization? What exactly does the term quality mean to you? For some it may mean fewer customer calls, for others it may mean one less drive to the office to restore a corrupted database. Generally speaking, the word quality can be defined as "A measure of excellence." Where you choose to seek that excellence is completely up to you. [....]

宝宝七个月了

Posted on 18th July 2006 by Nio in 宝宝, 日常生活

小家伙已经七个月了,哈哈,长得真快。现在已经可以坐得比较稳当了,说话还是咕噜咕噜的,有时候貌似在唱歌,开始想爬了,还在学习中。一天天看着他长大,真的很享受,幸福就是这么简单 :)

baby_7months.jpg

Understanding the Zend Framework

Posted on 12th July 2006 by Nio in Zend Framework, 程序人生

IBM developerWorks 开始了 Understanding the Zend Framework 序列的文章,一共分为九个部分,目录如下:

Part 1: The basics
Explains the project in general and the Zend Framework.

Part 2: Adding a database
This tutorial shows how to use the Zend_DB module to create and manipulate the central database used to store subscription information, as well as saved entries and other information.

Part 3: The feeds
Now we add feeds into the equation, enabling the user to create an account, subscribe to particular feeds, and display those feeds. This tutorial uses the Zend_Feed and Zend_Inputfilter modules, the latter used to verify e-mail addresses and to strip HTML tags from feed entries.

Part 4: When there is no feed: the Zend_HTTPClient
Not all sites have feeds, but it's still useful to track everything in one place. This article shows how to use the Zend_HTTPClient module to create a proxy to pull data into the feed reader interface.

Part 5: Creating PDF files
This tutorial explains how to use the Zend_PDF module to enable the user to create a customized PDF of saved articles, images, and search results.

Part 6: Sending e-mail
This article explains how to use the Zend_Mail module to alert users to new posts and subscribed feeds, and even to send those posts using HTML e-mail.

Part 7: Searching
This article explains how to use the Zend_Search module to search existing current and saved blog entries for a particular search term and return ranked results.

Part 8: Adding related information and services
This tutorial explains how to use the Zend_Service modules to pull in information from other services — specifically Amazon, Flickr, and Yahoo! The interface will use Ajax to pull books, photos, and search results related to a current blog entry or from a search term the user clicks.

Part 9: Adding Ajax
The Zend Framework makes it easy to add Asynchronous JavaScript + XML (Ajax) interactions to your application by automatically translating native PHP objects to and from JavaScript Object Notation (JSON). This article shows how to add this functionality to the feed reader. It also includes a basic description of JSON.

Role of Testing in Agile Projects

Posted on 11th July 2006 by Nio in 程序人生

Role of Testing in Agile Projects

For those of you "up" on your agile practices, it should come as no surprise that testing is an oft-talked about subject. However, it is often an overloaded term, implying you need to get at the meat of the details when trying to determine what sort of "testing" is being discussed.

There are many different ways that testing can play a role in agile development. Indeed, there are even different types of tests that can play different roles in agile development. To address these roles, it is important that you have a good grounding in some of the basic philosophies behind agile development. [....]