Earlier quoted context omitted.
I'm not sure what you're getting at. Is there reason to believe that this will not work with PHP >= 5.3?
It will be is not structured using Namespaces, which can be annoying if you are using them on a day to day basis and want to integrate something like Yaf that doesn't use them.
The Yet Another Framework (Yaf), PHP extension for developing web applications
31–38 of 38 posts
Re: The Yet Another Framework (Yaf), PHP extension for developing web applications
#32I'm loving the documentation: http://us3.php.net/manual/en/yaf-loader.clearlocalnamespace....
PHP used to be minutely documented, with copious examples, which was why it was so easy to learn. Now, not so much, it seems.
Re: The Yet Another Framework (Yaf), PHP extension for developing web applications
#33This smells like another Zend product, and Zend framework was just a pain, in my experience.
Re: The Yet Another Framework (Yaf), PHP extension for developing web applications
#34Anyone else see that this looks almost identical to Zend Framework?
Re: The Yet Another Framework (Yaf), PHP extension for developing web applications
#35I'm loving the documentation: http://us3.php.net/manual/en/yaf-loader.clearlocalnamespace....
Class:nameOfFunction - *the Name of Function purpose*
Some of the SPL classes are equally amusing, especially when you get as far as `RecursiveIteratorIterator` and, to recursively scan a directory (OOP stylee): $iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator('/path/to/directory'), RecursiveIteratorIterator::SKIP_DOTS);
Now I make use of that and, syntax aside, it's pretty handy for the stuff you get back from it, but for the best part some of these PHP extensions are a waste of time. There's bugger all documentation and, quite often, they're missing basic methods that you can already do procedurally.Why would anyone want to spend time figuring out this framework extension, or the OOP PHP stuff like SPL and Imagick, with no documentation, when there are plenty well established ones out there that have mountains of it?
Re: The Yet Another Framework (Yaf), PHP extension for developing web applications
#36Re: The Yet Another Framework (Yaf), PHP extension for developing web applications
#37One of the good things is it is not using the PHP namespace, e.g. use Zend\Controller\Action\HelperBroker;
Re: The Yet Another Framework (Yaf), PHP extension for developing web applications
#38It is interesting that there are no models. This seems to be a glorified front controller integrated with a templating engine. It is really cool that they did this as a PECL extension. I had a PHP framework many years ago that we considered converting to a PECL extension ( http://sourceforge.net/projects/cep/ ).
Generally, models can be left up to the developer to create based on business logic. Take for example, Zend Framework. It provides an active record like pattern in its Zend_Db_Table but expects the individual application to create the models that use (not inherit) Zend_Db_Table.