News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Christoph Dorn's Blog:
Profiling queries with Zend_Db_Profiler_Firebug
October 15, 2008 @ 08:46:56

Christoph Dorn has posted a modification to this post from Eran Galperin about profiling your SQL scripts with the Zend_Db component from the Zend Framework. Christoph takes it one level further and adds on something even more handy - Firebug support.

He explains how to use Zend_Db_Profiler to analyze all SQL queries on a page and how to improve the performance of the queries by adding indexes. Here is a quick modification to his example that will send the profiling information to firebug instead of printing it to the page.

He points out the package you'll need to grab from the Zend Framework to make it happen as well as a bit of code you can use as a starting place to get things up and running.

0 comments voice your opinion now!
profile query zendframework firebug component tutorial


blog comments powered by Disqus

Similar Posts

DevShed: An Introduction to Simulating the Model-View-Controller Schema in PHP

The Bakery: Three New Components/Tutorials - Lightroom, DboSource & SMF

Tobias Schlitt's Blog: Radar charts, MS SQL support, dialog system and greetings from spiderman!

Zend Developer Zone: Zend_Tool and ZF 1.8

Ibuildings techPortal: Unit Testing Databases with Zend Framework


Community Events

Don't see your event here?
Let us know!


opinion php7 release interview voicesoftheelephpant video example unittest series community introduction library version language api list laravel5 podcast framework laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework