For website back-end which one do you prefer? php or Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

For website back-end which one do you prefer? php or Python?

I wonder what's the best choice to start learning the back end. although I'm interested in learning both of them, but for starters I don't know which one to choose.

16th Aug 2018, 9:02 AM
Рейхан
7 Answers
+ 2
Python only has back-end frameworks, while PHP was built with back-end in mind. Obviously, the best back-end choice is PHP
16th Aug 2018, 9:14 AM
Dlite
Dlite - avatar
+ 2
Рейхан I use with Django and I find it much nicer then working with PHP (although there is a little bit of a learning curve). If you prefer PHP that's fine and I get it, but it's just not for me. Honestly, I would suggest you try both and use whichever one you like more.
16th Aug 2018, 12:03 PM
Vlad Serbu
Vlad Serbu - avatar
+ 2
Easy start? PHP or Flask, certainly not Django
16th Aug 2018, 12:58 PM
Dlite
Dlite - avatar
0
Yahiko I see, thank you Yahiko!
16th Aug 2018, 9:27 AM
Рейхан
0
Yahiko PHP wasn't designed with anything in mind. It was simply a tool for it's creator to manage his own small website. PHP is a mess and working with Django or Ruby on Rails is way nicer. Prolog was designed for AI and Python/C weren't. Now, nobody uses Prolog anymore in AI in favor of other languages.
16th Aug 2018, 10:51 AM
Vlad Serbu
Vlad Serbu - avatar
0
Vlad Serbu Interesting! So personally do you use Django? Then you think it's better to work with Python(Django)?
16th Aug 2018, 11:54 AM
Рейхан
0
Vlad Serbu Yes, I plan to learn both, but I wonder from which one to start with. thanks for tips!
16th Aug 2018, 12:57 PM
Рейхан