Monday, August 8, 2011

Quality Assurance on PHP projects - PHPDocumentor feedback - Michelangelo van Dam

Quality Assurance on PHP projects - PHPDocumentor feedback - Michelangelo van Dam: "First of all, thank you all for the enormous feedback I got on my latest article on documentation of code. I got a lot of comments on the usage of PHPDocumentor for the following reasons:
  • the project seems to be no longer maintained
  • it's not ready for php 5.3
  • it uses too much resources when using it on big projects
I have to agree that these reasons are valid enough to step away from PHPDocumentor as a tool for documentation purposes and look for a better alternative. So I've investigated one tool most people have commented on or tweet-ed/facebook-ed/g+-ed on: DocBlox.

Before I start a flamewar, I'm all for investigating more tools as time permits me, but these are my first impressions on the tool that had the most buzz in my personal social zone. If your tool of preference is not listed here, write an article on it and put the link here in the comments (or ping back to this article in your own post).

DocBlox seems to be the youngest project of all the various projects suggested to me, but gets a lot of support from major players in the field of PHP and is supported by my favorite build tool Phing (a tool I'll describe in detail in another article).

Installation
You can simply use PEAR to install DocBlox.

user@server $: pear channel-discover pear.docblox-project.org
user@server $: pear channel-discover pear.michelf.com

Select a package you need, in this case docblox/DocBlox-0.12.1 as the project is still in beta (when writing this article) and version DocBlox-0.12.2 has some issues

user@server $: pear install -a docblox/DocBlox-0.12.1

Usage
DocBlox is pretty simple in it's usage and works indeed better than PHPDocumentor, although I had to contact the project lead Mike van Riel (@mvriel) regarding a dependency error on Zend Framework, but it should be fixed now or any time soon.

My dear friend Matthew Weier O'Phinney (@weierophinney) had taken up my challenge to write an article about the usage of DocBlox and I have to say, it's a very good introduction that allowed me to use it immediately.

Truncated by Planet PHP, read more at the original (another 1912 bytes)

"

No comments:

Post a Comment

Thank's!