Re: PHP Unit tests

From: Date: Sat, 23 Jun 2007 08:02:15 +0000
Subject: Re: PHP Unit tests
References: 1  Groups: php.evangelism 
Request: Send a blank email to php-evangelism+get-375@lists.php.net to get a copy of this message
Hey 1. Strong types is not nessary in a scripting language, if it causes headaches it's due to poor documentation which is far worse than just the lack of strong types. The reason things are developed in scripting languages is to avoid *too* much typing overheat. I can't say that strong typing ever would have solved an issue in php, that couldn't been solved by the nessary documentation. 2. There is alot of unit tests frameworks for php, have you not looked in /test/ that is shipped with Zend Framework ? http://www.phpunit.de/ is one of the more populare , and one of the lead developers being Sebastian Bergmann from eZ Components. 3. That will be nailed in PHP6, but my experience is that Ruby and Java ain't much better, and Ruby most likely would relay on the same libs as php does (iconv). 4. http://pecl.php.net/APC , www.php.net/APC , op-code cache for php5 :-) Works like a charm. And regarding Java... your boss should look at history, and perhaps explain him how horrible struts is :-) 2007/6/22, Bojan Tesanovic <btesanovic@gmail.com>:
Hi there, I am Web developer and front-end team lead of classifieds search engine site. We are using php 5.2.0 and Zend Framework to power our web site. But lately my manager wants to jump to another platform RnR or Java which I dislike though he is right in some points. 1. Lack of strong types which can cause lot of headaches 2. Missing of PHP Unit framework that is supported by Zend or PHP community 3. Robust UTF-8 and I18N support which will I hope be nailed in PHP6 4. Maybe a way to compress source or make opcode of php files in one file and deploy it to web server
    this is very helpful in production environments and large systems
So it would be of great importance for PHP to tackle #1 and #2 and to dive more deeply in Enterprise waters. best Bojan Tesanovic http://www.classicio.com/
-- Sincerely Claus Jørgensen, Denmark Mobil: +45 30 13 27 32 http://www.dragons-lair.org

« previous php.evangelism (#375) next »