the-great-web-framework-shootout
the-great-web-framework-shootout copied to clipboard
Added Silex
Hello,
thank you very much for your work!
I've added Silex [1] to the project. Silex is a microframework from the guys that made Symfony. As it doesn't provide templating out of the box, I've added Twig which is recommended by Silex and also used as the default TE in Symfony. For the DB connectivity I used PHP's built in DB wrapper PDO.
I've added Silex out of curiosity seeing the really bad performance of symfony. But it turns out, Silex isn't that much better.
Compared to bottle on my machine (in Requests per second)
Hello World: Bottle: 28505.87 Silex: 821.45
Hello World (with templating engine): Bottle:19315.39 Silex: 523.96
Hello World (with templating engine and DB): Bottle:16632.98 Silex: 378.19
[1] http://silex.sensiolabs.org/ [2] http://twig.sensiolabs.org/
Here's the chart.
Thanks! I will see about having this included in the next update.