What is cool about PHP programming?

What is cool about PHP programming?

It’s a serious question.

Confused person

Leaving aside the fact that version 7 is blindingly fast, and the fact that the new strict mode offers some pretty reliable protection from inane bugs and opens the door to superior compilation and thus further performance gains, and even ignoring the fact that there are thousands of well made packages for almost every purpose, the coolest thing about PHP programming for me has to be the fact that you can have a finished web app in a matter of hours.

From bootstrapping a new virtual environment in minutes with tools like Homestead Improved, to deploying on anything from DigitalOcean to Heroku, and even shared hosts like Hostgator and similar, one can go from start to (proof of concept) finish in a day, flat. Use one of the amazing frameworks we have at our disposal, and cut that time in half. “But then the app is not well designed” and “But it’s coupled to the framework”, some would argue. To that I say: “go forth and whiteboard your architecture further while my app grows its userbase and I use that momentum to iterate on the progress already made”. Or in the form of Woody Harrelson:

When People Say PHP Is A Bad Programming Language

I come from an enterprise-level ActionScript3 background (yes, such a thing existed), do pet projects in Python 3 sometimes, love experimenting in Unreal Engine and C++, dabbled in Dart when it still lived, and do my data mining in R, and I even tried to use the nuclear clusterbomb that is NodeJS, but none of these offered the ease of use that PHP does. It’s easy to get started with, easy to get something out the door with, and, perhaps most importantly for me in this stage of my career, easy to teach to others.

What do you consider to be cool about PHP programming?


I would like consider some points about PHP programming.

  • Application era model works well for web
  • Large library of packages
  • Well hosting market
  • Easy to pick up.

You can create powerful stuff in PHP. It’s a serious programming language.
Since 5.3 the OOP is great (namespaces came to sustain that PHP can work great in big companies) and also has a lot of support from core functionalities, PDO, Datetime and others, that encourage the use of true OOP.

Of course, we can enumerate lots of other points:

  • Free to use (most important)
  • Good communities :slight_smile:
  • Lots of hosting options (as @SmithKelvin11 said)
  • Jobs (this is not new any more)
  • Lots of open-source packages (as @SmithKelvin11 said)
  • Compatibility (after Apache and IIS, we have some other web-server options)
  • Database support (there are lots of supported and tested DB types)

and many others

1 Like

I think Laravel has made a big impact of how a MVC framework should be. It’s like CodeIgniter, but with a better
architecture and both doesn’t waste your time and has good documentation. That’s two almost of the most important characteristics of a some solution, because your time is actually valuable.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.