Why I don’t use PHP frameworks

“They all suck!”

That’s straight from the horse’s mouth.

Rasmus Lerdorf, the creator of PHP.

He went on to say:

“While they all suck. Everyone needs a framework. What everyone doesn’t need is a general purpose framework. Nobody has a general problem. Everyone has a very specific problem they’re trying to solve. And a general purpose framework, while it can solve it, it usually solves it in a way that you get so many other things that you don’t need… that ends up being done on every request.”

He goes onto recommend using “targeted frameworks” for targeted problems:

“Usually, I tell people to look for a targeted framework. So, if you have a problem that looks a lot like a blogging problem. Maybe, WordPress should be your framework… if your problem is very close to something WordPress can handle, chances are, you’ll be using most of WordPress. There won’t be all these other general purpose things you won’t touch.”

Dude must be stalking me.

Cuz, that’s what I’ve been saying.

While everyone else is getting all sweaty in the shorts about the latest and greatest framework or tool… I’ve generally avoided them and kept things pretty simple. And, frankly, have only benefited from it.

Anyway, there’s no need to re-create the wheel.

And, the general purpose frameworks… while they’re great and can do some cool things, they’re usually overkill for what you need and not “modularized” enough to where you can only use certain parts and kill the rest.

You’re stuck with all-or-nothing.

I’m sure there are exceptions…

But, for me… WordPress is my “framework”.

Of course, I’m not saying it has to be yours. I know some of you just snorted at the horror of me using “dirty old WordPress” as my framework. What a pleeb! But, the lesson is to find a targeted “framework” (whether it’s technically a framework or not) and using it for the specific problems it solves.

Or just go neked… with straight PHP.

And, don’t think you need to learn all these frameworks like Laravel and whatnot.

Or that they’ll be a “perfect” solution to your problem.

Maybe.

Probably not.

Anyhoo, take that for what it’s worth.

Of course, if you want to be a total boss and just code straight in PHP then hop your hard core little tookus on over to this PHP tutorial. You’ll quickly learn the PHP skills you need to start getting paaaid to write code for a living for less than I spent on McDonald’s this morning.

Go now child: http://johnmorrisonline.com/php

Later,

John

You might also like

Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on reddit
Reddit
Share on pinterest
Pinterest
John Morris

JOHN MORRIS

I’m a 15-year veteran of freelance web development. I’ve worked with bestselling authors and average Joe’s next door. These days, I focus on helping other freelancers build their freelance business and their lifestyles.

The simple secrets to high-paying freelance clients

What makes clients willing to pay $5,000, $10,000 even $20,000 and up for your services? Download and install my mobile app and I’ll show you. It’s free. Just click the button below:

Clients Like:

Inc. Magazine Logo
Lewis Howes Logo
Ray Edwards Logo

WHAT OTHERS ARE SAYING

Bradley Smith

John and I have worked together on numerous projects. John is very quick and efficient and was a pleasure to work with.

Daniel Mohlendick

On the Freelancing on Upwork course: “This is by far the best course i have watched on Skillshare!! Thank you so much.”

Michael Skye

Michael Skye

John is a man of integrity, who gives generously of himself to projects and people he cares about.

Sukh Plaha

John is a fantastic and patient tutor, who is not just able to share knowledge and communicate it very effectively – but able to support one in applying it. However, I believe that John has a very rare ability to go further than just imparting knowledge and showing one how to apply it. He is able to innately provoke one’s curiosity when explaining and demonstrating concepts, to the extent that one can explore and unravel their own learning journey. Thanks very much John!

Thabo Motsoahae

John is one of the best instructors I have come across, I learned a lot from his online tutorials.

Ray Edwards

I recommend John every chance I get. If every person I worked with were as committed to excellence, punctuality, value, and unquestionable integrity… the world would be a better place. Highest recommendation.

Lori Grant

John did an outstanding job on my project. I highly recommend him and look forward to working with him on future projects.

Chris Aitken

He significantly improved my site through his expert knowledge of PHP, CSS and Javascript. Would definitely recommend John to others.

Lewis Howes

John is amazing at building membership sites. He converted one of my sites over from it’s existing (hardly working) platform over to the clean and simple to use WishList membership platform. I highly recommend using John and WishList for any of your membership site needs.

Jason Rumley

Jason Rumley

John has a habit of over-delivering on the expectations he sets up. That’s why he’s the best.

Aaron Gott

Aaron Gott

John has a particular knack for the development and training of others.

Jim DeJonge

Jim DeJonge

John has a relaxed and engaging manner. His advice is solid and the explanations are well thought out.

Andrew Malone

Andrew Malone

John Morris is exceptional in his ability to give focused insight into Freelancing and starting one’s business. His direct methods inspire confidence in his honesty.