4 ms·
Great example of a modern PHP codebase!
by jtreminio 8y ago
Great example of a modern PHP codebase!
- deleted 8y ago[deleted]
- benbristow 8y agoFrom what I can tell the Symfony guys have always been at the forefront of PHP development. Many Composer dependencies I use seem to depend themselves on Symfony libraries. Even though I'm not a massive PHP fan I can appreciate the hard work they're doing to make it a more viable and approachable language.
- butterfi 8y agoDrupal 8 adopted Symfony's db layer because it was better than what they had been using
- steve_adams_86 8y agoAgreed. I think that community taught me a lot more than I can even recall about writing good code collaboratively.
- jchw 8y agoI recently did a deep dive into phpBB 3.2, which was modernized and was refactored to use some Symfony components. There's still a fair bit of cruft from the amazingly long history of the board, but I was impressed at some of the modern PHP, especially the s9e TextFormatter library. I gotta say, the top thing on my complaints for PHP is rapidly becoming primarily the execution model.
- moreira 8y agoBy execution model I imagine you mean the whole single-request single-response thing? To which I can point you to something like https://reactphp.org/ https://reactphp.org/ and https://github.com/php-pm/php-pm https://github.com/php-pm/php-pm, which are great projects that enable a different execution model for PHP.
- krob 8y agoLets not forget swoole as well.
- zaarn 8y agoThe execution model isn't the worst but, yeah, it could be better by enabling better inter-request persistence for, ie, databases (which is rather annoying if not supported out of the box) On the other hand, it seems to be good enough for even a couple million hits per day.