DEV Community

Discussion on: Why some people hate PHP?

Collapse
 
abbddos profile image
Abdul Rahman Sabbagh

Well, one of the reasons that I do not prefer to use php or even touch it these days is that it allows you to organize your project the way you want. In other words, there is no organizational pattern to it like ASP MVC or Django or Flask.

This kind of freedome that php provides makes it easier for beginners to start learning and make projects as they like, but later as projects get bigger, and more developers contribute to them, it gets harder to understand what is going on.

Now there are frameworks that somewhat provide MVC pattern to php. Rasmus Lerdorf, the man who created php, described them in one of his workshops as "they all suck".

I actually used php for a while, but later as I learned how to use the MVC pattern on ASP and in python, I made the switch and never looked back.