Third Party Libraries

Wombat make use of PEAR and PHP Application Tools classes in productivity mode and the SimpleTest framework for unit testing.

Batteries included

I have to admit, that the list of dependencies of Wombat is quite long. Still, don't bother, the Wombat packages includes it all. It also comes with a comple PEAR installation which makes it independed from your system's versions of installed PEAR packages.

PEAR

List installed PEAR packages that are available for Wombat
$ make pear_list
./bin/pear list
Installed packages, channel pear.php.net:
=========================================
Package          Version State
Archive_Tar      1.3.2   stable
Console_Getopt   1.2.3   stable
Log              1.11.3  stable
Mail             1.1.14  stable
Mail_Mime        1.5.2   stable
Mail_mimeDecode  1.5.0   stable
PEAR             1.7.2   stable
Structures_Graph 1.0.2   stable
Testing_FIT      0.2.2   beta
Text_Highlighter 0.7.1   beta
XML_Beautifier   1.2.0   stable
XML_Parser       1.3.1   stable
XML_RSS          0.9.10  beta
XML_Serializer   0.19.1  beta
XML_Tree         1.1     stable
XML_Util         1.2.1   stable
There is a special PEAR configuration file in lib/pear/config that tells the PEAR installer to use Wombat's environment. The installer itself is located in bin/pear, make sure you use the included installer respective that you always use the proper pear configuration file.
$ ./bin/pear config-show
$ ./bin/pear list

PEAR is a free class repository located at http://pear.php.net. PEAR also provides a package manager, which allows to install, upgrade or remove packages directly from the cannel at pear.php.net. There are PEAR-classes that provide very basic features, like sending emails or reading XML-files as well as testing tools like the Testing_FIT package.

As said before, Wombat includes all necessary PEAR packages. It also contains the pre-configured PEAR installer. This makes it very easy to install further PEAR packages that suit your custom Wombat-modules.

PHP Application Tools

List of SYSTEMDIR/lib
This folder conains PAT and SimpleTest files
$ ls -l wombat/lib
patError
patForms
patI18n
patSession
patTemplate
simpletest

The required PHP Application Tools (PAT) classes are linked as external resources in the Subversion-Repository of Wombat. Hence all used PAT-classes are included in the Wombat packed when you download it or check it out from verion-control. Those classes are inegrated seamlessly so you don't need to bother about any of them. Still, you might want to find out more about PAT, you can find the homepage at http://www.php-tools.net

A look in SYSTEMDIR/lib tells which PAT-classes are installed. The sub-folders pat* contain the original package including examples.

SimpleTest

Wombat uses SimpleTest for all unit tests. If you are interested in unit testing hava a look at their homepage http://.