Why I don’t use PHP frameworks

DISCLAIMER: This post may contain “affiliate” links to products and services I recommend. I’ll receive a small commission if you decide to purchase one of these products or services. I only recommend products I genuinely believe will help you in running your freelance business.

“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

Do you want more freelance clients?

I’ll show you what I learned over the last 15 years to grind out (from absolute scratch) a backlog of new clients wanting to hire you. Who your best client prospect are, what services you should be offering them, where to find them and more. Just enter your email address in the box below and let’s get started:

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.

Do you want more freelance clients?

Enter your email below to get started building your system for consistently bringing in new freelance clients:

WHAT OTHERS ARE SAYING

Thabo Motsoahae

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

Bob Patterson

Not only is John a very talented programmer and developer, he is also an excellent communicator. He has a talent for taking complex subjects and communicating them in terms that anyone can understand. This is a rare combination. This ability has enabled me to take my skills and knowledge to the next level. Thank you John for for all that you do.

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.

Daniel Mohlendick

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

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.

Close Menu