4 ms·
Same here. No Idea where this came from. To be honest the effort put into this could've just contributed to an existing open source framework for improvement.
by siphr 15y ago
Same here. No Idea where this came from. To be honest the effort put into this could've just contributed to an existing open source framework for improvement.
- bergie 15y agoThe blog post gives some background. Popularity: Another way to understand the level of the community commitment is to compare it with other projects. Symfony2 is currently the most popular PHP project on Github (most forked and most watched overall) and the 12th most forked project for the whole Github platform. That's just astonishing! Standards compliance: Symfony2 embraces standards: First, Symfony2 is willingly centered around the HTTP specification (just have a look at the built-in HTTP reverse proxy). Then, we are embracing the PHP standards: PHPUnit, namespaces, PSR-0 autoloader, ... That makes Symfony2 easily interoperable with many other great PHP libraries. Caching: By embracing the HTTP standard, and thanks to the ESI standard, you can make your application fly very easily. Make your application as dynamic as you need it to be, and still benefit from HTTP caching. And if you can afford the installation of a reverse proxy like Varnish, the performance of your application will just be incredible.
- ZoFreX 15y agoBear in mind that ESI with Varnish is a tricky one! But it is very, very exciting to see a framework embracing it nonetheless.
- eitland 15y agoCareful; symfony has been around for a few years already. Saying the effort should be put into some other framework is effectively turning the case upside down.
- bergie 15y agoExactly. It actually seems to go the way that various other PHP frameworks can be replaced with Symfony2. There is already a compatibility bundle for running Zend Framework apps with Symfony2: http://symfony2bundles.org/beberlei/WhitewashingZFMvcCompatBundle http://symfony2bundles.org/beberlei/WhitewashingZFMvcCompatB... And I'm working on another bundle that allows running Midgard MVC apps: https://github.com/bergie/MidgardMvcCompatBundle https://github.com/bergie/MidgardMvcCompatBundle
- eropple 15y agoWhoa, this is very cool. (I have a legacy Midgard MVC app I'd like to get rid of.) Between Symfony2 and Silex, I'm not sure what case there is to use anything else anymore. It seems like the low and high ends are very well covered in the Sensio Labs environment, and I'm not sure how much room there is in the middle.
- bergie 15y agoPing me on Freenode #midgard and I can give you more info how to proceed. Out of curiosity, though: are you sure this is Midgard MVC and not MidCOM, the older MVC framework for Midgard? Doesn't matter, though. We're building compatibility bundles for both. Though Midgard MVC is already in somewhat running state.
- skrebbel 15y agoYou sound like a PHP coder telling DHH to stop doing Rails 3 and get working on some existing open source framework instead. I know that HN is somewhat ignorant of the PHP community due to the large set of idiots there and the so not cool factor, but you're taking this to the extreme. Symfony is probably one of the most decent and most widely used pieces of open source PHP out there.
- siphr 15y agoI love it how I get marked down for a clean post with an opinion and you get a pass by declaring people idiots for just expressing their opinion. The way I see it the idiots seem to be on your side. Just learn to express your side of things without getting irritated. I am open to correction but insults I'd piss on.
- eropple 15y agoSadly, Symfony/Symfony2 are not widely used enough. :/ (This may be a bit flippant, but seriously--there's not really a good reason to be using stuff like CakePHP, etc. in 2011.)
- joverholt 15y agoI may be in the process of updating a very neglected cakephp site. When I created the site, I had heard of Symfony but went with cakephp. I've not followed either framework for well over a year, so could you please give your reasons for Symfony and against cakephp?
- eropple 15y agoCakePHP is fundamentally old. It does not avail itself of the capabilities offered in PHP5.3+ and persists in a number of outdated patterns that I consider detrimental to writing good, reusable, maintainable code. It is also incredibly slow, such that it is sort of the "gimme" for people wanting to write benchmarks to show how fast and awesome their new framework is. Symfony2, on the other hand, is very well-designed (separating entirely from Symfony 1.3 to develop Symfony2 was a great decision), incredibly flexbile, and amazingly performant. It is, no exaggeration, the best PHP system I've ever seen, open-source or otherwise; unless you're Mr. Potencier, reading its code will make you a better PHP programmer. You can actually strip it down so far as to be just a microkernel + dispatch, which is what Silex[1] is. You can also built all manner of whatever-you-want on top of it. There's no real downside to using at least part of the Symfony2 ecosystem for any PHP project. http://silex-project.org/ http://silex-project.org/
- ryeguy 15y agoWait, what? Symfony 1 and Zend framework are 2 of the most popular frameworks for PHP. If you've never heard of it, you haven't been paying attention.
- deleted 15y ago[deleted]
- siphr 15y agoI stand corrected then.