It is a preview release and there is not much there. This code looks interesting from the little I looked through it. The controllers don't look too bad but I need some time try them out to see what functionality they provide. Lots of missing files, but there is enough there to get a feel for where they are headed. Not a unit test in sight, which is a little troubling.
Strangely, there are few examples and those that are there don't work. I got the WebServices ones working, but it took a few code tweeks. Here's what I had to do:
- 1. Set your include path to have the "/../ZendFramework-0.1.1/library" directory in it.
2. In the file "Zend/Http.php" change the line
"$allow = Zend_InputFilter::HOST_ALLOW_DNS | Zend_InputFilter::HOST_ALLOW_LOCAL;"
to
"$allow = Zend_Filter::HOST_ALLOW_DNS | Zend_Filter::HOST_ALLOW_LOCAL;"
3. In the file "Zend/Filter.php", at the top add the line "include_once 'Zend/Filter/Exception.php';".
4. Also in the file "Zend/Filter.php", comment the line "throw new Zend_Filter_Exception('Internal error: IP determination failed');" (did not look into why -- just did it)
5. Also in the file "Zend/Filter.php", at the top of function isHostname() just about the line you just commented out -- add as the first line "$status = false;" to get rid of the Notice. Pretty sloppy code here if you look everywhere that $status is used (pick 0/1 or true/false).