News Feed
Sections




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

Pablo Viquez's Blog:
MySQL Profiling and Zend Framework
August 17, 2010 @ 13:22:34

Pablo Viquez has a new post to his blog today looking at how to profile the MySQL connections and queries in your Zend Framework application with some built-in tools.

You can do profiling on PHP using XDebug or Zend Debugger ad both works beautifully, however what about MySQL? Can you do something similar? The response is yes you can. Now the best part is that you can take advantage of the tools MySQL give you, if you want to take the profiler to a new level.

He shows how to use the built-in profiler that comes with the Zend Framework coupled with FirePHP to provide you with profile results to the Firebug output panel in your browser. Another option - one that gets a bit deeper into the MySQL side - is the profiling tool that comes with MySQL (you just have to turn it on). He includes the code for a class you can use to gather these results and, similarly to the Zend Framework version, output it to the Firebug tool with more detailed results.

1 comment voice your opinion now!
profile zendframework mysql applicaton firephp


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: Login and Authentication with Zend Framework

PHPClasses.org: 5 Reasons Why the Web Platform War is Over: PHP Won with 75% says Google

PHPit.net: Handling dates and times in PHP & MySQL

Rob Allen's Blog: Translations of my Zend Framework Tutorial for ZF 1.10 & 1.11

John Coggeshall's Blog: Zend_Service_SlideShare approved


Community Events

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


example laravel framework introduction opinion series php7 symfony2 community conference performance podcast part2 interview configure library application composer api release

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