Hacker News new | past | comments | ask | show | jobs | submit login

What might surprise him/her even more is that PHP is actually better than js/react at anything web related. Symfony and Laravel are amazing frameworks. You get frontend scaffolding and admin generation,fast templating languages, authentication, authorization, databases, great tooling. On top of that PHP 8.0 improved the type system and these frameworks are quickly adapting to use types everywhere.

When it comes to web applications tho, Django is not as pollished as Laravel/Symfony. There is no webpack integration (or any other npm frontend tool). built-in authentication is very basic, hosting is a pain.

The thing is a haven't written a single line of code in Django, but modern PHP and it's ecosystem looks more fun from a front-end, JS developer's perspective




How can you say Django is not as polished when you haven't even used it?

Laravel is a great framework, but the tooling in PHP is amateur hour by comparison. The app ecosystem in Django is only comparable to Rails'.


> but the tooling in PHP is amateur hour by comparison

Looks like maybe the ignorance goes both ways? People really underestimate the size and maturity of the PHP web development ecosystem and it's professional community, and there's no shortage of tooling to build and support apps on the language.

Django: 34,019, Laravel: 26,881, Rails: 9,300

https://github.com/topics/django

https://github.com/topics/laravel

https://github.com/topics/rails


and Symfony: 25,800

https://github.com/symfony/symfony

Modern PHP ecosystem is a shadow of their former self, in a positive way.


Composer shored up package management. Laravel and Symfony offer robust framework ecosystems. PHP 7 bridged the performance gap with HHVM. Libraries for a wide-range of critical infrastructure services from databases (Postgres, MySQL, Elasticache, Redis) to messaging systems (AMQP, Kafka, ) to monitoring and observability (New Relic/DataDog, Prometheus, Sentry). Cloud support is ubiquitous.

Even the top packages are pedestrian things like logging, event dispatching, sub-process management, and testing.

But PHP has a Microsoft-level of baggage, and those bridges can't be unburned.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: