OK, I've got a new opinion on the framework. I take back my earlier words. It rocks!
I have to rectify my earlier words about the problems with the Zend Framework loadClass() method. Since posting this message I for a while did not have time to get a better look at this. Yesterday I posted my question about the Zend::loadClass() method to the Zend Framework mailinglist and pretty quickly I had a very useful response. On the train home, I decided to dive into the solution that was posted. And indeed. I had misunderstood the intention. I was calling the method like this: Zend::loadClass('Filter'); or Zend::loadClass('Filter', 'Zend'); or even Zend::loadClass('Zend_Filter', 'Zend'); and also Zend::loadClass('Filter', array('Zend')); This last one after I finally found out the second parameter is meant to be an array. After I found out about that, I tried all combinations with the second parameter being an array but couldn't get it to work. But I was making it harder than I needed to, because it will work as simple as this: Zend::loadClass('Zend_Filter'); This will work as long as the library directory (the directory where Zend.php is located) is in your include_path. A classic case of RTFM, because I did read the documentation: “Zend::loadClass() loads a PHP file whose filename is formatted like "$className.php", and then checks for the existance of the class $className.� But “forgot� to read the note under the code example: “If you ask for a class with underscores in the name, and $dirs is null (the default), Zend::loadClass() will auto-discover the $dirs from the class name by converting underscores to directory separators. For example, if $class is Zend_Example_Class, that will map to a path of Zend/Example/Class.php.� So, with this first big issue out of the way, it's getting more and more interesting to dig deeper into the Zend Framework. I might just try and apply it to one of the smaller of my hobby projects.
05-06-2012: Forum PHP
06-06-2012: Symfony Live Paris 2012
07-06-2012: Symfony Live Paris 2012
08-06-2012: Symfony Live Paris 2012
09-06-2012: Symfony Live Paris 2012
23-06-2012: PHP TestFest NL