DEV Community

Discussion on: Using PHP for good - why it is bad and why it might work for you

Collapse
 
kwnj profile image
Jeff

Nice article.

I was lucky when I started at a small web-dev shop. We didn't use any existing frameworks, but built our own from the ground up. It allowed us to learn all the ins-and-outs of the language and enabled us to understand the quirks of PHP. The most important thing we learned was when to not use PHP. It's easy to get caught up in a language or framework and forget that a simple bash script might be more efficient.

These days if I have a PHP project, I often use Laravel. It uses common design patterns and utilizes type-hinting and dependency injection. Plus, it's very rapid to develop especially if you already have a solid understanding of PHP.