Just wondering but when you start a PHP project do you use a 3rd party framework, plain old PHP or your own PHP framework?
Name:
Anonymous2014-01-03 1:45
You need to work with some PHP code out in the wild to experience the joys of 'custom' code. It will inevitably feel like a house of cards at one point or another, as PHP lets you get away with murder.
If you're in your basement by yourself, wanking it to dickgirls in between bouts of PHP, yeah, sure, write your own framework.
If you're working with other people, don't reinvent the wheel - you won't have time anyway.
The best code I write is code I steal from other people. Find a framework that can do everything you need it to do, make sure people are actively writing code for it (lots of PHP abandonware out there), and figure out how it works. I recommend CodeIgniter (sorta abandonware, but does everything you'll need until you know better). MVC makes PHP bearable.