Why PHP: Symfony, and not Java?

Let's Talk About Business

Please take a quick moment to complete this form and a business representative will get back to you swiftly.


Why PHP: Symfony, and not Java?


Why PHP: Symfony, and not Java?

We are often asked, especially from our enterprise customers at financial institutions, why we decided to go with PHP and Symfony instead of a Java framework.  And as we have actually re-considered alternatives both in 2007 and 2011, we know the answer pretty well. We also know firsthand how much PHP and the PHP ecosystem has matured and progressed the last few years, how Symfony2 and Composer provided a big jump forward, how PHP v7 and Symfony3 is positioned to provide the next, in the end making us very confident in our choice and in recommending it to others. Read-on if you're interested in the topic!

Modern PHP in Comparison to Java

For what reason are Symfony and PHP today an increasingly practical option in contrast to Java and Java Frameworks?

The entire PHP versus Java contention is as old as the two dialects themselves, anyway most contentions found online for - or against - are obsolete and not by any means substantial any longer:

  • Some will reject PHP for being a content language, yet actually, PHP and its biological system has receied increasingly more propelled language and structure includes after some time. For instance PHP has gained hierarchical highlights like namespaces, discretionary sort presentations, rich Object Oriented Programming model and substantially more. The PHP environments on its side have developed incredibly, particularly in the course of the last 5+ years. While officially offer solid testing, domain-driven structure and quality-driven culture, the introduction of Composer for bundle the board brought about a culture of reuse of best of breed bundles, which pushed coordinated effort crosswise over tasks like Symfony to another dimension. Some places you'll see contentions that Jaa is progressively adaptable, however in the course of the most recent 10 years organizations like Facebook, Wikipedia, Yahoo, Spotify, Zynga, and some more, have demonstrated that PHP can scale, and does as such especially well on a level plane.

  • Other spots will discuss PHP's exhibitions being awful. Be that as it may, today you can likewise run PHP code on Facebook's HHVM, a VM working much like JAVA irtual machine, with comparative execution properties. On the PHP side, the 5.x arrangement improved execution in the course of the most recent 10 years multiple occasions. What's more, with PHP v7 arriving in the not so distant future, execution will be dramatically increased, making it on pair with Facebook's HHVM usage. In addition, for web applications, making beyond any doubt your database and other backend frameworks performs well, has dependably been the main enhancements you should deal with, not simply the language.
  • We could go over increasingly specialized contentions in support, yet in any case when picking an innovation; you ought to dependably take a gander at what abilities your group has first. Keep in mind; it isn't just about the innovation. Your group is the thing that makes your web application scale, perform, and keep running without personal time.

Symfony Frameworks compared to Java Frameworks

The final section above still stands in this correlation too. Symfony2, introduced in 2011 following 2 years of dynamic network improvement, took a great deal of inspiration from Spring Framework, possibly the most well known Java system out there.

It is sorted out as a lot of reusable parts and wraps which together makes up a full stack system giving you a great deal of highlights out of the crate. It doesn't contain database or NoSQL backend, anyway there are a few great Symfony packages out there that give this and other special usefulness, or stretch out Symfony to be significantly increasingly ground-breaking. Again, this is something you will likewise find in mainstream Java Frameworks and in the Java people group.

Unique advantages of Symfony Framework

Be that as it may, this is the place the likenesses end and a portion of the interesting focal points of Symfony Framework and PHP begin to rise:

Like all things, the effect of a choice, for example, our own can be gauged and estimated all the more precisely additional time, yet we feel our choice to initially utilize PHP, and after that pick Symfony was the correct one. We have officially gotten incredible criticism from the network and our client base, which has been instrumental in the majority of our choices from an advancement standpoint.

Somewhat in the not so distant future we will blog increasingly about extra special favorable circumstances of adding eZ Platform over Symfony, anyway even without those we trust new accomplices and designers will comprehend and exploit the numerous advantages the PHP + Symfony programming stack gives. Kindly don't hesitate to share your perspectives (and conceivable contradictions) on the theme in the remark area beneath!

  • PHP is the biggest advancement language on the web providing you with a major pool of engineers of all expertise levels that can possibly work with you on your task. Right from beginner designers that are working on making destinations or plugins for Wordpress and Drupal to senior engineers contributing to Symfony with a blindfold - and everybody in the middle.
  • Symfony has a lively and growing network. With eZ Platform (utilizes Symfony Full Stack), Drupal 8 (utilizes numerous Symfony Components) and Symfony3 coming out in the not so distant future, this will continue.
  • Symfony, much the same as PHP itself, is really an open source venture. It doesn't rise or fall on the record of one seller backing the venture.
  • Symfony2 introduced really special HTTP and HTTP store handling by being a HTTP-driven solicitation/reaction system, and furthermore by allowing full utilization of development highlights like ESI for separating the diverse pieces of your page/application. Symfony2 is fuelled out of the case by a quick PHP-assembled Symfony turn around intermediary, and for mid-to expansive installations a consistent move up to Varnish gives a 10-20x speedup, and an unquestionably progressively hearty store handling.
  • Other contentions are poor instruments support. Howeer, at this point PHP is broadly upheld by IDE's (precedent: PhpStorm by JetBrains), and furthermore has heaps of debugging apparatuses and profiling administrations like SensioLabs Blackfire, and others like Tideways. PHP is very much bolstered by Continuous Integration administrations like Travis, and has a few competing xUnit testing instruments like PHPUnit, and spec devices like Behat (BDD) and phpspec.

We don’t just talk about what is coming next, we do it.

Join Us