Zendcasts Forum

A community of developers who work with the Zend Framework and other enterprise PHP technologies

You are not logged in.

#1 2009-08-06 14:24:03

Jon Lebensold
Administrator
Registered: 2009-06-27
Posts: 279

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.

Offline

#2 2009-08-07 20:48:19

tawfekov
Administrator
From: www
Registered: 2009-08-06
Posts: 25
Website

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

Offline

#3 2010-01-23 17:38:28

muscailie
Guest

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 2010-01-23 17:58:40

tawfekov
Administrator
From: www
Registered: 2009-08-06
Posts: 25
Website

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

Offline

Board footer

Powered by FluxBB