7 ms·
This goes on to prove that PHP is still relevant today. No matter how many new frameworks come up, we all know PHP anyways.
by nigamanth 4y ago
This goes on to prove that PHP is still relevant today. No matter how many new frameworks come up, we all know PHP anyways.
- elashri 4y agoI think this applies mainly because of WordPress, not PhpBB and any other project.
- hunter2_ 4y agoDrupal is up there, maybe not as a household name like WordPress, but in some big organizations.
- chippiewill 4y agoDrupal's been on the heavy decline over the past 10 years. Drupal 8/9/10 might turn it around now that Drupal 7 is set to officially retire eventually but it's not had the staying power in the way Wordpress has. Drupal doesn't really seem to have an ecosystem left anymore.
- thejosh 4y agoIt had some decent developers and ecosystem around it a few years ago, but honestly a lot of bureaucracy and drama killed a lot of the enthusiasm in the project and contributed modules for many.
- chx 4y ago...
- geerlingguy 4y agoAlways good to see you here chx! I hope you are doing well these days.
- muglug 4y agoSites like Wix and Squarespace really undermined Drupal and other similar OSS offerings. There are still things you can only do with a custom sytem, but for most use-cases commercial site-design tools can get you up and running with much less upfront cost. I designed & built about 20 websites from 2007 to 2014 or so, all with custom designs and backed by an off-the-shelf CMS. Except for the few I maintain for close friends & family, everyone has moved to Squarespace. While I'm incredibly happy with that arrangement — nobody's pestering me about code I wrote a lifetime ago — it means a whole bunch of sites look much more generic. For example I wrote some custom JS to dynamically tile pictures on this site: http://web.archive.org/web/20130722050828/https://www.firstchairpromo.com/ http://web.archive.org/web/20130722050828/https://www.firstc.... Now it displays photos in a generic fashion: https://www.firstchairpromo.com https://www.firstchairpromo.com
- 1123581321 4y agoI think Drupal had largely retreated to being a tool for larger sites before Squarespace’s ascent. That end of the market has increasingly been eaten up by moderately author- and marketer-friendly commercial enterpriseware from providers like Adobe and Progress. It’s a shame, because they are expensive and inhibiting tools, but security and integration demands and the relative prestige of buying blue chip, expensive software have been faster growing primary considerations.
- pancrufty 4y agoAs someone with similar history as yours but with WordPress, while I appreciate a well-designed website, I think custom websites are a gigantic waste of human resources. Very few need a custom Magento, WooCommerce, or even just a generic WordPress.org install. Every website is much safer with a PaaS, and I believe prices for these will eventually come down. Just think that before WordPress people were coding a whole website from scratch for the local photographer or news agency, with often sub-optimal and/or overpriced results. > a whole bunch of sites look much more generic. True, but that's just a consequence of letting the customer deal with it directly rather than a professional. Most PaaS still allow custom designs, nobody is stopping you from adding a Flash intro page.
- geerlingguy 4y agoDrupal went really high end, and targeted the enterprise use case a lot more. It competes with Sitecore and Sharepoint more than Wordpress these days. It's terrible for a simple blog or small community or nonprofit site these days. I know because I still run my blog on it, only due to inertia at this point (golden hammer).
- gnulinux 4y agoI think MediaWiki is another seminal PHP project.
- aflag 4y agoFrom what I hear facebook is also mostly hack, which is a similar language to php. I believe it is even backwards compatible with php (or at least it used to be).
- lockhouse 4y agoPHP is still one of the fastest ways to not only program a quick and dirty web app, but more importantly deploy a web app.
- javchz 4y agoI think people who hate PHP, forgot how painful it was to develop server side apps before PHP. I think one of the greatest legacy of PHP was brining "Serverless" hosting to the masses, where you only focus on the "upload" of the code, and you didn't need an ISS or Linux expert to deploy your projects. Yeah, PHP had a weird teenage phase, but even JS and Python still have a lot of weird things too (specially JS). But modern frameworks as Laravel, make PHP a great alternative for DJango/FastAPI, Rails or Nest.js.
- nsonha 4y agoevery figgin web dev topic, popularity does not evidence merits. It's just a shitty language that existed at the right time when web technologies were booming. When more options become available, people stop choosing PHP. And please don't reply with js, like "but PHP is better than shit", that's a real high bar.
- rabuse 4y agoWhat exactly makes PHP 8 shit?
- nsonha 4y agono one has discussed it a million times on HN, so I don't exactly know
- archerx 4y agoAh, I see you’re just saying jt sucks just because the cargo cult says it sucks. Thanks for clarifying.
- PetahNZ 4y agoNo typed variables, no generics, threading/async is hard(er than other languages). [This is coming from a long time PHP dev who actually loves it.]
- PetahNZ 4y ago
- phendrenad2 4y agoPHP has one great feature that makes it immortal. It's the only language that assumes that each code file is actually an HTML file. Try porting a simple PHP app to Ruby or Python and you'll see what a mess it becomes.
- Wronnay 4y agoIf you use a template system like Laravel Blade or Twig, like most modern PHP projects, then this feature of PHP isn't really used anymore and porting a PHP App to Ruby or Python isn't such a big deal anymore. In my eyes, using something like Laravel takes away the "quick and dirty" aspect of PHP and adds a lot of things which have to be learned first, makes the project more stable and more comparable to a Python Django or Ruby on Rails project.
- unity1001 4y agoIts also why PHP and HTML mixed code templates are extremely fast for that reason. It was designed to be that way in order to solve the templating problem.
- benatkin 4y agoEh, it doesn't matter that I know PHP. I don't want to use it and have barely touched it in the last few years, despite understanding many of its quirks. I'm still using WordPress at the moment but if I have to write PHP I might just quit using it. Such a simple question as whether something is passed by reference or by value shouldn't result in "This is a super interesting piece of information! Looks like it's true; but I couldn' find any official documentation supporting this fact. We also need to know which versions of PHP support this lazy copy concept. Anyone has more info?" https://stackoverflow.com/a/9740541/3461 https://stackoverflow.com/a/9740541/3461
- PetahNZ 4y agoAre you asking what php version uses copy on write for arrays? If so, it's all of them (at least in the last decade). I have never known it not to do this.
- benatkin 4y agoNo, I'm not asking anything. I'm just saying that PHP doesn't have what I expect from a programming language and that I've chosen not to use it.
- unity1001 4y ago> which versions of PHP support this lazy copy concept The price of a dedicated cpu is down to under $4 /month in common web hosts. Meanwhile the IO and other performance also improved so much that you dont ever, ever notice such things. So nobody cares about that kind of stuff. That's overoptimization that nobody asked for.
- antifa 4y ago> Looks like it's true; but I couldn' find any official documentation supporting this fact. The same user found the documentation after they bothered doing an interesting modern technique called "looking for it". You'd have known that if you read the comment right after the one you copied.