« Attention Developers: Functions Should Return Things! | Benchmark Early and Often » |
Even though the SVN extension for PHP is still in beta, the team has done a fantastic job with this PECL package. They’ve captured the most common SVN functions, put them into the package, and provided an easy way to view, manage, and control a Subversion repository right from PHP.
That’s not to say that the package is perfect: far from it, in fact. The documentation is the most disappointing facet, something I may help resolve through contributing to the manual. Also, most programs don’t yet recognize the SVN functions as part of PHP, so syntax highlighting is not available. This is a small inconvenience, however, and certainly no reason to NOT use it.
The package documentation can be found here and it’s worth a look for anyone thinking about doing anything SVN-related with PHP. This beats using exec() to execute SVN commands, as it ensures that the commands are executed properly.
I see the most immediate use of this tool in building a Trac-like PHP application. I’m sure someone has thought of it, but with Trac being popular, supported, and already finished, no one has yet dealt with this issue. Still, I’d like to see someone build that at some point.
Brandon Savage is the author of Mastering Object Oriented PHP and Practical Design Patterns in PHP
Posted on 10/4/2008 at 9:32 pm
There are currently no comments.
« Attention Developers: Functions Should Return Things! | Benchmark Early and Often » |