DEV Community

Discussion on: Should I use PHP to make a website in 2020 ?

Collapse
 
dakujem profile image
Andrej Rypo

Python might currently be the most popupar lang in general, but if you already know some PHP, I would recommend using it for web projects of any size.

I would suggest using it for what it is best: backend & data serving. If you are building a frontend-heavy interactive web app (not like a blog), use JS for the front end, or use JS for the interactive parts (like Vue). The interactivity is where PHP (but also Python or any backend lang) lacks.

As for Windows, I am a long term Win/PHP programmer and I can say there is no problem with windows and PHP at all. Nowdays you either use Docker or some other VM anyway, or can comfortably install native PHP (even multiple versions of it) and nginX or Apache. I might even post on this topic in near future.