PHP vs Python: Which programming language you prefer ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

PHP vs Python: Which programming language you prefer ?

I am a web developer and learning PHP for 2years. I recently started learning Python. Should I learn Python which is new to me or stick to PHP ? Which is better among these 2 programming languages for web developing ? Thanks in advance 😊

12th Apr 2018, 6:26 AM
Neel Debnath
Neel Debnath - avatar
4 Answers
+ 5
Both are great languages for web development! I guess the answer would depend on what kind of web development you are wanting to do. If you are more interested in developing from raw frameworks (i.e. not using a CMS like Drupal or WordPress) then it really doesn't matter. Django and Flask are great frameworks for Python and PHP has Symfony, CodeIgniter and Zend. They both have many more available frameworks, but these are most common ones that I have come across.  If you want to work with an existing CMS, then I would recommend PHP. WordPress, Joomla! and Drupal are all written in PHP and can be extended with PHP. Probably the most popular Python CMS is Django-cms.  and python is work with other fields like machine learning AI so it's a great language but if you are good in php and working with this from 2 years so you have experience many things in php so I suggest you to start the php framework such as laravel and work in them
12th Apr 2018, 6:43 AM
MsJ
MsJ - avatar
+ 4
no problem :p) you are on your way go through the way and start your work you will be able to do that which u want
12th Apr 2018, 6:54 AM
MsJ
MsJ - avatar
13th Apr 2018, 4:31 PM
Harsh
Harsh - avatar
+ 3
thank you very much Mohit the coder (M.S.D) Your suggestions will help me a lot. 😊
12th Apr 2018, 6:51 AM
Neel Debnath
Neel Debnath - avatar