Last night at PHPLondon, David Zülke said the correct quote was “I don’t want to call anyone a criminal …” David was presenting an very thorough account of the Agavi framework. Agavi has been round a while and I am not going to try and repeat or even summarise the talk my take away was that Agavi’s strenght is multiple representations of the same data with zero coding change. Everything is setup in config and abstracted and if you won’t json or soap or html or even irc you can have it.
If you are really keen the talk will be online at the PHPLondon wiki at some point in the very near future. Hopefully the new toy – the microphone / amplifier / mp3 recorder will have worked and there will be an mp3 for your listening pleasure.
Of course this sort of talk brings out the testosterone and the one upmanship. I was refreshed to hear a couple of people say in converstion later:
- I like to have the url map on the the file system
- I think we are getting a bit drunk on frameworks
Both are valid points. The beauty of PHP is you can use a framework if the application lends itself to it or not. There is no one true way. There is no silver bullet. Once you get past the wow factor of the 90% of your app being build in 5% of the time from the commandline the realisation comes that you still need to build out the rest of your scaffolding into a real application. Sometimes the overhead is not worth it and sometime it is. As Laura Thompson blogged recently (okay it was last year) there is no one true way.
I am frequently irritated with the mindset that there’s One True Way of solving any kind of software problem, be it web platform, database choice, operating system, or methodological approach. It’s been irritating me since I was an academic and I would present two different algorithms (let’s call them A and B) to solve problem X. There would always be a student who wanted to know “which is better?” Typically I would respond “In a situation such as […] A is better, but if you are looking at something more like […] B is better.” Most people would be happy with that but there are always people who insist that one must just be The Best Way.
So if you use a framework – great and if you don’t – that is just as great. I will assume that you have thought through the reasons of why or why not and made the right choice for your situation.
Photo credit: kevindooley – thanks.