1

Topic: ZC30 – Debugging Zend Projects with Firebug

Tawfek's second video on zendcasts. Covering how easy it is to profile and debug a zend framework project with Firebug and a few helper classes.

2

Re: ZC30 – Debugging Zend Projects with Firebug

Hello ,
One of the question on twitter was :
um****@zendcasts Isn't it easyer to just add resources.db.params.profiler.class = Zend_Db_Profiler_Firebug to your config file?

and my answer is :
Dear Sir ,
sure  you can use the ZF 1.8 Featrues as you like BUT
we are explaing just  one idea ONLY
so I had the RIGHT  to make it simpler as much as i can ,
its not PUT IT ALL TOGETHER CAST
but it would be nicer if the Zendcasts fan did it alone
so he / she  can practice more smile
thanks for your understanding

3

Re: ZC30 – Debugging Zend Projects with Firebug

Dear Tawfek,

how do I log broken queries also?
if for example inserting a row throws an exception how can I log the specific query that generated the throwing of the exception.

thanks a lot for your screencasts.

4

Re: ZC30 – Debugging Zend Projects with Firebug

Hi muscailie ,
thanks for your nice words about the both casts

as a quick tip you can wrap your code in try ... catch block
and log  (successful  and failure)  cases   with proper values

hopefully this would help smile
thanks