Debugging PHP, JSON and JavaScripts Application using PHP IDE - Part 3

Go To Part 1 of Debugging PHP, JSON and JavScripts Application using PHP IDE

Go To Part 2 of Debugging PHP, JSON and JavScripts Application using PHP IDE

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?

Go To Part 1 of Debugging PHP, JSON and JavaScripts Application using PHP IDE

Go To Part 2 of Debugging PHP, JSON and JavaScripts Application using PHP IDE


Subscribe to PHP-Editors FREE Newsletter to learn more about PHP tools and techniques
© Copyright 2003-2014 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.