Hello. I know python and I also know php. Using php we can develop websites without using a framework, but in python we cannot(I suppose). So, if python is really replacing php then, shall I skip learning CodeIgniter FW for php and go for learning Django for python?
I'd choose Python out of those 2, based on what I see in industry demand nowadays.
PHP I'm seeing much less demand for now than before, and Python is gaining in popularity given its usage in current trendy tech like machine learning.
Though it's fair to say Laravel for PHP is a strong competitor and it would be my reason for choosing PHP if I did. I don't think Codeigniter is nearly as popular a framework.
(Not to suggest popularity is everything by the way, just that it helps to guarantee that the language/framework will continue to thrive and receive updates and community support; as well as better prospects for industry jobs)
Paul Wolke
Every day I'm a creative person. Every other day I'm a technical person.
I think a point I would like to put forward is that I don't believe php is going anywhere — and more importantly — being replaced. Yes, it's older, but it's well established and rooted even in today's "framework-crazy" Dev environment.
As far as what to learn next? There are no rules. I believe that anything learned is a benefit. You may uncover concepts from learning an older language that might be lost trying to learn the newest and fanciest releases.