3 ms·
For me, I started using Python because I could write the front end (web-facing) and back end code in the same language. Meaning I can write back end services l
by ianl 15y ago
For me, I started using Python because I could write the front end (web-facing) and back end code in the same language.
Meaning I can write back end services like mail server and share models and other code across both.
You could argue that you can write back end services in PHP, however, it was no designed with that intention and in my honest opinion it does not translate very well because the infrastructure in terms of open source libraries just don't exist as PHP is primarily a web language.
- eropple 15y agoMy experience is diametrically opposite to this. What infrastructure and open source libraries don't exist for PHP?
- OstiaAntica 15y agoAgreed. For example, I've worked on apps using the phpmailer library for nearly a decade, delivering 100 million optin emails without issue.
- eropple 15y agoYep. And if you use something like Thrift ( http://wiki.apache.org/thrift/ http://wiki.apache.org/thrift/ ) building a SOA that includes PHP service components is fairly simple.
- risotto 15y agoFull stack web servers like Mongrel or CherryPy. Server fabrication and automation tools like Chef, Puppet, Fabric. Process management tools like God. Parallel worker systems like Resque or Celery. PHP is great for web apps, but the further I've gone into systems programming, the more I need Python/Perl/Ruby (or C).
- eropple 15y agoYou are not answering the question that was asked. ianl's post was directly in reference to web application development, not systems programming. Of course you wouldn't do that with PHP. That's like saying "yeah, it's a great knife, but it can't change my oil." Well...sure. Nobody's saying it can. But it does what we're actually talking about just fine, and I am skeptical of ianl's claims that there are missing pieces of the infrastructure for web development. (BTW: Puppet not playing nicely with PHP is new to me as I use it regularly. And I don't think you get much with Mongrel that nginx/FPM don't do well enough.)