Notebook / Archives / "PHP"

"PHP" entries.

December 28, 2004

Interesting development platform for PHP on Windows

NuSphere Tech Platform 3.4 for Windows (download page here for the Windows version, but there is also a Linux version).

It comes with:

  • Apache 1.3.31 web server;
  • PHP 4.3.7 scripting language;
  • PHP Debugger v2.16.9.
  • ... and a lot more!

Posted by Jean-Philippe on December 28, 2004 0 Comments, 4471 TrackBacks

Advanced programming tools for PHP

For my new web project (whose temporary name is SmartyPot) I plan to use a strict way of coding in PHP. That is to say: unit testing, logging, debugging and profiling.

For unit testing, we can rely on two packages:

  • PHPUnit from the PEAR repository, a regression testing framework for unit tests;
  • the old PhpUnit (last released 20020327), which claims to be based on the JUnit framework for Java.

But you can also choose the really impressive Simple Test PHP Unit Test Framework, which is able to use the aforementioned unit testing packages. This framework does not only offer to build unit test cases, but also web test cases and it can create mock objects.

For logging, we have Log4php, a port of log4j, the most popular Java logging framework, both project being part of the Logging Services Project at Apache.

For documentation, two alternatives:

For debugging and profiling:

  • DBG, the one I use at the moment (integrated in PHPEdit);
  • apd from the PECL repository;
  • the Xdebug extension for PHP;
  • ab - Apache HTTP server benchmarking tool.

Posted by Jean-Philippe on December 28, 2004 0 Comments, 929 TrackBacks

December 23, 2004

Rediscovery of Regular Expressions

This collection of links is brought to you in order to rediscover with me the fabulous world of regular expressions. I am currently using a lot of regexp in the typographic engine I am building. Books by O'Reilly:

On, a huge site with Perl documentation:


Regular Expressions testing tools:

Java packages (excepts from's Links to Java Regex Packages):

PHP can use Perl Compatible Regular Expressions (PCRE).

More: the e-x-c-e-l-l-e-n-t article Marshall McLuhan vs. Marshalling Regular Expressions by Andy Oram.

“Regular expressions extend the reach of text, and therefore inexorably change how we sense the text.”

Posted by Jean-Philippe on December 23, 2004 1 Comments, 171 TrackBacks

Entries on this page

Entries by category

Entries by month