“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.
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