We looked at the ways good PHP Editor and debugger can help developing Web 2.0 applications with JSON. Finally, in
Conclusion
Even though the functionality of JavaScript debugging in FireFox doesn't even come close to the debugging power of PHP IDE,
combined with the power of real PHP Debugger it can do wonders. Writing the simple code presented here took us about an hour
thanks to the ease of debugging of the back end with dbg and PhpED. In comparison, the author once
spent almost the whole day debugging simple script injection for a small project in real life. Not claiming to be the best PHP programmers of all times, we should still say
that no matter how brilliant you are, there is always at least one bug in
any of your programs. In our case it was as trivial as trailing space in the JSON string returned -- almost impossible to find without the proper tools.
But that's why we love PHP so much, right?