The Yet Another Framework (Yaf), PHP extension for developing web applications
php.net
php.net
it looks like it's about 10% slower than pure PHP, orders of magnitude faster than most frameworks
No thanks. Closure? Namespace?
Windows binaries can be found at <a
href="http://code.google.com/p/yafphp/downloads/list">http://code.google.com/p/yafphp/downloads/list</a>
[me]# pecl install yaf
pecl/yaf requires PHP (version >= 5.1.0, version <= 5.3.6), installed version is 5.3.8
No valid packages foundSo... 2.1.3 doesn't know how to work with 5.3.8. I'm not upgrading to 5.4.0 to test this right now. Any hacks to get around this?
EDIT: Appears to be on Google Code: http://code.google.com/p/yafphp/source/browse/
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/).
Not being particularly proficient in PHP, is the 'Class myClass extends baseClass' syntax normal? I've never seen it before.
http://www.php.net/manual/en/language.oop5.inheritance.php#l...
class MyClass extends BaseClasshttp://alexeyrybak.com/blitz/blitz_en.html
You had blazing speed and performance
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?
PHP used to be minutely documented, with copious examples, which was why it was so easy to learn. Now, not so much, it seems.
Keep in mind it's a PECL extension, so it's not bundled with PHP.
This smells like another Zend product, and Zend framework was just a pain, in my experience.