3 ms·
> PHP is still slightly better in terms of speed of deployment When it comes to securing the deployment I think Python/Ruby would be better though - if you fac
by ergo14 9y ago
> PHP is still slightly better in terms of speed of deployment
When it comes to securing the deployment I think Python/Ruby would be better though - if you factor that in I would say it would be faster for me to deploy a python app than configure php to be secure.
- krapp 9y agoThat's probably true - other languages benefit from learning from PHP's mistakes and requiring a framework to begin with to enforce a lot of the safety that PHP doesn't have out of the box, and that's not mentioning any safety that would come from the language itself. People say PHP is a framework, but as a framework it's terrible enough that you still need a framework for the framework.
- Can_Not 9y agoHow do you justify that claim? I'm pretty sure it's the other way around.
- ergo14 9y agoYou have to write proper configs for php-fpm, configure apache if you use that etc. All of this takes time, its very easy to deploy php app, but configuring server to sandbox it properly takes time and should be accounted for.
- Can_Not 9y agoThis response doesn't float right with me. Are PHP fpm configs horribly wrong by default? Do you not put a service like nginx/haproxy/apache/gunicorn/caddy in front of Ruby/python for a serious production deploy? Do you legitimately expect to deploy ruby/python without spending a minimum of an hour going over configs and assuming everything is right for your application by default while also assuming the opposite for PHP? I read the PHP configs for fun micro optimizations. It takes less than 10 minutes to find your framework's best practice list and apply them.