4 ms·
In my bubble PHP gets a bad reputation, not sure how much that has changed! About Node, I have been using NestJS[1] and quite like it! Definitely has a lot mor
by ahmaman 5y ago
In my bubble PHP gets a bad reputation, not sure how much that has changed!
About Node, I have been using NestJS[1] and quite like it! Definitely has a lot more functionality out of the box when compared to other options in the Node ecosystem.
1 - https://nestjs.com/ https://nestjs.com/
- johntdaly 5y agoI’ve been eying NestJS as a framework for my node.js work. The difference I find between NestJS and Rails for example is that NestJS puts the things together that sort of crystalized out in the wider community to spare you a lot of the glue code. While Rails has a more cohesive feeling and there are a lot of third party plugins that solve a lot of problems you can have. PHP gets a bad reputation everywhere, even if is less deserved nowadays. I am still not a fan, the syntax, the libs, the community, it’s not mine. My impression of the community is they have a chip on their shoulder because of the bad rep and the bad rep keeps most new devs away that could significantly change the community. They also are in denial that a lot of the “bad old code” is the main reason they are as huge as they are today and that a lot of people chose PHP back then because it was better (cgi) or cheaper (own server vs cohosting) than the alternatives.
- ahmaman 5y agoIt sounds like in comparison to NestJS, Rails third party "gems" (if I am using the right terminology) are easier to use out of the box without too much hustle integrating it with the rest of the framework? Perhaps also the third party's code follows more standard "Rails" patterns? The community can make or break a technology for sure! Most devs I know would very much avoid interacting with PHP unless it is a must.
- johntdaly 5y agoIt is not just that. NestJS feels “cobbled together” out of what was already being used. Rails feels like one coherent thing and the plugins don’t break that much (well most of them). But the difference is that everything feels coherent in Rails.
- weatherlite 5y agoI don't do PHP but the bad rep seems exaggerated, JAVA was also very bad 20 years ago compared to know. JS we all know. PHP as a community is surprisingly durable actually, seems like nothing will ever make it go away.