+ 1
Django or PHP?
I would like to learn how to develop a server-side website (I already know HTML, CSS, JS) but among all the options I have only focused on two:The famous PHP/MySQL (or SQLite) duo and the famous Django python framework. I know each has its pros and cons but which one would be better overall? Where maybe I could use both 🤔🤔🤔 NB: I already have the prior knowledge of python to start with Django if that's the best choice
5 Antworten
+ 3
[ Laur€nt ] based on my experience it depends on what exactly the project is/was I was or would be working on. I'm comfortable with both and have done many projects with each language individually as well as together.
PHP is fairly easy to pick up on just as Python ...
Both have frameworks which are easy to use.
PHP is a little bit faster than Python but speed may or may not be necessary.
PHP and Python both have great communities for support.
While yes PHP is infamous for PHP/MySQL I like Python flexibility of databases
SQLite, PostgreSQL, MySQL, MongoDB, & Redis as well as some others.
Downside is PHP does offer better security over Python but I still lean towards Python as it evolves and better patches are worked.
+ 2
under my profile, activity tab, "show more" -> `MNY :: development` is written with python/django
but the same can be written in php as well;
my other (older) website is pure php, the upcoming is php/laravel....
so, not the language is the most important, but some not mentioned pros for php:
- as a freelancer, one of the mostly searched language
- frameworks and cms extending/modifying
- almost everywhere can be hosted, but django is not yet so popular
and so on.... learn both :-)
0
Mihaly Nyilas Precisely, I would like to become a freelancer in a few years.
0
I think PHP is good 👍
0
Anya [Less/Active] Django too