I'm just starting a big project in CakePHP and I'm struggling a bit
trying to figure things out as I go. Not being real proficient in PHP
makes it even harder for me. Having some nice debugging tools and
methods would certainly be helpful to us all in learning Cake.
Therefore, I thought I'd share my crude attempt at a debug/watch window
for all of us to try, and hopefully, improve upon.  I did the best I
could to make it into an easy to use Helper, called "Ovenlight":

http://bin.cakephp.org/saved/2338

Basically, it just does print_r statements on variables that are in
scope, as well as the contents of errors.log, and outputs them to the
end of the HTML stream. With a little bit of CSS icing, the information
for each variable is displayed in individual boxes (div tags) and is
arranged nicely.

I'd appreciate any feedback, suggestions, and most importantly,
improvements to this little pet project. I encourage everyone to share
their contributions with this community, as I did, no matter how small.
 If you create something you find useful, chances are that others would
be interested in it as well.

Thanks,
NOSLOW


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to