Saturday, February 24, 2001

It seems not many people know about phpdoc.

If you have never heard of this program: by writing comments with a certain format in your code, phpdoc can parse this comments and create documentation on the fly. This way the comments not only help you remember what you where thinking or doing, but can also help someone else that is using your code. For example (modified from the example in the site):

/**
* Short description of this function
*
* Multiple line detailed description.
* The handling of line breaks and HTML is up to the renderer.
* Order: short description - detailed description - doc tags.
*
* @param string String to print
*/
function PrintString( $l_string)
{
......
}


For those of you who already know about it: judging by some posts made to the php pear newsgroup it seems that the original writer of phpdoc is fixing some bugs and hopefully will release a new version soon.

If you have anything you would like to share with me, you can contact me at my email address or via icq 3642688.

Have a great weekend.

Friday, February 23, 2001

I just found about Blogger yesterday by accident. I was already coding a small weblog, but hey, why not use Blogger instead of my own and focus my energy on something more experimental ??

The reason of this weblog is to record and share my own experiences and findings with php.

Yesterday I downloaded an evaluation version of the Zend Cache. If you havent heard about it, I cant imagine where have you been lately.

Preliminary tests show that the Zend Cache increased the requests per second from an average of 4 to an average of 12. The test were made on a Linux box with php application that has more than 12 includes and between 8 and 12 queries. Also, the cpu load has dropped bye two thirds. Nice. I will try to do some more tests to share with you.