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

Think of a simple landing page with a form to save data from a form and send out an email with confirmation.

In PHP you just need to add to your HTML page a few lines of PHP code and copy it using scp to any share server hosting that costs 4 dollars a year.

No "automation", no "cloud", no REST APIs, no WSGI/Gunicorn, etc. just plain Apache with mod_php enabled, which is available everywhere. I don't think anything can beat PHP productivity for such simple usecases.




Aren't there a zillion online services that provides that product out of the box, most likely for free, only requiring a browser and some monkey clicks around? -> No PHP, HTML or web server.


By that logic, nobody needs to write any thing because there's always some "online service" to "do stuff".


I think the logic is that those served by PHP are better served by platforms. Those with advanced needs are going to use a different language.

PHP isn't being replaced so much by Python, Go, and Rust as it is being replaced by Medium, Wix, and Squarespace.


As someone who works with PHP reasonably often, I'd say you have a very limited view of what PHP is actually used for in 2020, if you think 3 hosted blog services will replace it.


The majority of PHP usages tend to be, frankly, unsophisticated Wordpress, WooCommerce, Magento, and Drupal sites that are hacked up to support e-commerce. These needs can now be met by a vast array of ecom and omnichannel platforms.

This is the direction things are trending.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: