How does Phalcon compare to Yaf?
Both Yaf and Phalcon follow the same deployment strategy i.e. a module on your web server vs. tons of files on the file system. However they are quite different in terms of features. I cannot say anything about speed since I have never used Yaf. You can check the benchmarks of Phalcon in this page: https://docs.phalcon.io/en/latest/reference/benchmark.html. There is also a github repo with the code for these benchmarks which you can use and run for your own proof of concept.
A full stack framework A micro framework for lightweight applications An ORM (Object Relational Mapper) A template engine (Volt) ** An ODM Object Document Mapper)
Currently there is work done in a Forms designer which will hopefully be available with the 1.0.0 version.
From briefly reading the Yaf manual, Phalcon has more features for you to use.
Ultimately though it is your decision as a developer based on your project needs.
Here is recent AB benchmark of PHP Phalcon vs. YAF - the difference is slightly better for Yaf. However, as for frameworks, there are other things to consider - robustness, available functionalities, ORM layer, web2 widgets, support for webservices, community behind, maintenance releases,...
@lubosdz That benchmark is quite old to be honest. It measures Phalcon 0.4.5 and we are at 1.2 (nearly).
As I wrote above one can get the code and run the benchmarks we have (see Github) and draw their own conclusions.
Also you can have a look at this (It doesn't have Yaf but gives you an idea regarding benchmarks) https://www.techempower.com/benchmarks/#section=data-r5&l=sg
Now it's up to date and yaf is in there, too. Phalcon is in a very good (best?) position: https://www.techempower.com/benchmarks/#section=data-r6&hw=i7&test=db&l=sg .
love it :)
Why this round 8 - multiple query put phalcon at worst position? https://www.techempower.com/benchmarks/#section=data-r8&hw=i7&test=query&l=sg
Is the result valid ?