5 ms·
How are PHP haters doing now? :)
by minroot 3y ago
How are PHP haters doing now? :)
- smt88 3y agoPeople hate(d) PHP for the developer experience, not because it can't or shouldn't run massive websites at scale. Anyway if NASA is using WP like most people do, the vast majority of pageviews are cached, meaning WP itself is more of a page builder than a server. As someone who ran a digital agency for a while and inherited a lot of WP sites, I will say that there are few things more miserable in the dev world than managing a WP site with lots of custom functionality. It's the worst of all worlds (PHP without structure or version control, Turing-complete plugin architecture that makes security impossible, code running anywhere can monkey-patch any other functionality in the entire site, etc.)
- twodave 3y agoYep, this is a big reason I pulled all my wife's old blogs out of WP and moved them into static sites. The reduced (removal of, really) threat model alone has been so worth it.
- jacobyoder 3y agoYou can impose a structure process around wordpress - version control, more of an OO approach, etc - but you're then somewhat out of step with the rest of the wordpress ecosystem. It becomes harder to use anything from the 'regular' wordpress world, which is part of the (often a prime) reason for its continued popularity; an extremely large ecosystem. And... the availability of "wordpress developers" hinges on people being able to do the 'fast and loose' thing as needed. I know there are WP devs/agencies that use version control for all their stuff, but it's the opposite of how most people learn and work in wordpress.
- vorticalbox 3y agoTweeting about ghost.org I would expect.
- phoboslab 3y agoI love PHP. It's been my "get shit done" language for 20 years. It sustained many of my projects and not once became the bottleneck. Wordpress however is still a hug pile of garbage. It might be functional and has all the features you'd ever need, but I could never trust it to run even a simple blog. Edit: just looked at the some random Wordpress sources to check if source quality improved. It didn't. Who could ever be productive with something like this?: https://github.com/WordPress/WordPress/blob/master/wp-admin/edit-form-comment.php https://github.com/WordPress/WordPress/blob/master/wp-admin/...
- PrimeMcFly 3y ago> Wordpress however is still a hug pile of garbage. It might be functional and has all the features you'd ever need, but I could never trust it to run even a simple blog. Same here. I was kind of shocked on HN how man advocate for it.
- addicted 3y ago> Who could ever be productive with something like this?: The millions of sites running on Wordpress? Wordpress? Facebook? Maybe Wordpress has outgrown its php legacy, but there are many websites that are far better off writing a bunch of HTML/inline CSS/and a sprinkling of php and JS and getting it out there, as opposed to setting up massive build tool chains and writing React components. In fact, when that was the norm, line developers were far more productive and building tons of personal and commercial webpages from scratch, building websites, web apps, etc. The developer output and productivity outside of large corporations and organizations seems far lower today than it did a decade+ ago. Edit: I’m not a PHP developer, but I’m going over that code and it seems eminently readable. Heck, even as a non php developer I can fully understand what it’s trying to do. What exactly is the issue with the code? Is it the fact that the HTML part is written as HTML and not some made up language that tries to look like HTML but then compiles down to JS which then tries to reconstruct the HTML looking like thing back into HTML? Or the fact that i can read much of the code in that single file and don’t have to dig into a build configuration file to figure out where the corresponding JS and CSS files are located? I’m sure there’s a lot of ways the code can be improved, but this code seems just fine?
- deleted 3y ago
- 90-00-09 3y agoStill happy not using PHP :) The fact that WP is so big doesn't make PHP ecosystem much more attractive. And I used to do WP dev full time.
- junon 3y agoPHP and its model scales very well. WordPress is built very well, all things considered. I hated PHP back before PHP IDEs were a thing. I think now, PHP has matured in a way that has done itself a lot of favors. Blind hatred is annoying, yes, but there were good reasons to dislike it back then that probably aren't as applicable today.