jtreminio 6 years ago

Great example of a modern PHP codebase!

  • benbristow 6 years ago

    From 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.

    • jchw 6 years ago

      I 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 6 years ago

        By 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/ and https://github.com/php-pm/php-pm, which are great projects that enable a different execution model for PHP.

        • krob 6 years ago

          Lets not forget swoole as well.

      • zaarn 6 years ago

        The 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.

    • steve_adams_86 6 years ago

      Agreed. I think that community taught me a lot more than I can even recall about writing good code collaboratively.

    • butterfi 6 years ago

      Drupal 8 adopted Symfony's db layer because it was better than what they had been using

zaarn 6 years ago

That's quite an interesting project. Might use that for an archiving service if it's powerful enough (I found that a lot of libs for interacting with browsers lack a proper API to dump the HTML of the current DOM, which would remove the requirement to even run Javascript once the page has loaded without loosing page content).