3 ms·
I am glad that OP has found the ideal language for him, but not knowing what PHP is well suited for after working on 12 years sounds absurd. Every PHP dev afte
by ing33k 13y ago
I am glad that OP has found the ideal language for him, but not knowing what PHP is well suited for after working on 12 years sounds absurd.
Every PHP dev after working on it for few years will know that its not the best language out there, but they will also realize that using it they can get stuff done.
Regarding books :
I have to agree on the fact that there are many crappy books out there related to PHP, and I have still not found the ideal reference book for my needs .
Package Management :
while its true that there was no standard package management tool for php few years ago ( except PECL ), the situation is different now, composer has evolved now and has become very common these days. composer does have the system where one can put all the dependencies in a single json file to manage all the dependencies .
Django's first tutorial :
just go through Symfon2's first tutorial and in my honest opinion it can give serious competition to that of Django's
http://symfony.com/doc/current/book/http_fundamentals.html http://symfony.com/doc/current/book/http_fundamentals.html
RESTful and DRY :
OP mentiones some libraries which are good for creating RESTful API's in Python, and Of course PHP has some high quality libraries to create RESTful API's.
https://packagist.org/search/?q=REST https://packagist.org/search/?q=REST
Evented Codebases :
PHP does have some tools to do the achieve the same result http://reactphp.org/ http://reactphp.org/
Deployments :
no one can deny the fact that PHP is knows for its ease of deployment ( shared hosting ) , but any ony one serious about their app cannot go with shared hosting , but deploying PHP on a VPS/dedi is actually easier then deploying a Django App .
and even modern deployment tools can Chef, Puppet, Ansible have wide support for PHP and its frameworks.
I am wondering that how just by switching to a language will make my code RESTful, DRY and more maintainable. In the end even Python/Django can be used to write crappy code.
Actually I was expecting more solid reasons to switch from PHP to Python ( There might be some too ) .