Live data from Hacker News

The Yet Another Framework (Yaf), PHP extension for developing web applications

php.net

11–20 of 38 posts

Re: The Yet Another Framework (Yaf), PHP extension for developing web applications

#13

Since this is a PECL extension, and therefore compiled in C, I would love to see some performance information.

http://yaf.laruence.com/manual/yaf.bench.html

it looks like it's about 10% slower than pure PHP, orders of magnitude faster than most frameworks

Re: The Yet Another Framework (Yaf), PHP extension for developing web applications

#15
post #10

So, apart from being written as an extension (and maybe a little bit faster that way), what's the point of Yaf?

What the point of your existence? :) To make world (in this particular case) of PHP different and give users ability to choose. Being an extension is pretty good point of existence IMHO

Re: The Yet Another Framework (Yaf), PHP extension for developing web applications

#16

It kind of reminds me of ASP.NET C# MVC, just glancing at the example page: http://au.php.net/manual/en/yaf.examples.php Not being particularly proficient in PHP, is the 'Class myClass extends baseClass' syntax normal? I've never seen it before.

I actually wrote a PHP framework with the intention of mimicing the ASP.NET MVC file structure layout and "convention over configuration" ideology, though it's not compiled so it's probably slower than YAF. http://www.killstone.net/software/killstone-php-framework

Re: The Yet Another Framework (Yaf), PHP extension for developing web applications

#17
post #11

> Yaf require PHP version greater than 5.2.1, and could not run with early version of PHP. No thanks. Closure? Namespace?

I'm not sure what you're getting at. Is there reason to believe that this will not work with PHP >= 5.3?

Re: The Yet Another Framework (Yaf), PHP extension for developing web applications

#18
[me]# pecl remote-info yaf Package details: ================ Latest 2.1.3 Installed - no - Package yaf License PHP Category System Summary PHP Framework in PHP extension Description Yaf is a PHP framework similar to zend framework, which is written in c and built as PHP extension.

            Windows binaries can be found at http://code.google.com/p/yafphp/downloads/list
[me]# pecl install yaf pecl/yaf requires PHP (version >= 5.1.0, version So... 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?
Post reply on HN