Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Silex #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Added Silex #15

wants to merge 1 commit into from

Conversation

coderbyheart
Copy link

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/

@coderbyheart
Copy link
Author

The Great Web Framework Shootout: Bottle vs. Silex

Here's the chart.

@seedifferently
Copy link
Owner

Thanks! I will see about having this included in the next update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants