4 ms·
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 fe
by piokoch 6y ago
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.
- psychoslave 6y agoAren'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.
- stephenr 6y agoBy that logic, nobody needs to write any thing because there's always some "online service" to "do stuff".
- echelon 6y agoI 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.
- stephenr 6y agoAs 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.
- echelon 6y agoThe 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.