Scienta ZF Debug Bar 1.4
2nd April, 2009 |
11 Comments
Thanks to all the comments in the introducing blog post
, a lot of great features have been implemented in the new version 1.4 of my debug bar plugin for Zend Framework.
PHP
- List of included files include Zend Framework files, are sorted alphabetically and shows the total number of files
- Options can be passed as a Zend_Config instance
- Variables panel include the content of $_COOKIE and $_POST globals
- Ability to set custom timers
jQuery
- Updated to version 1.3.2
- Ability to override path to jQuery lib
- Should no longer interfere with other libs like Prototype
HTML
- The output is valid HTML4_STRICT
- Javascript and CSS are injected into the head of the page rather than the body
- The cursor changes to a pointer to indicate clickable areas
Head over to the Scienta ZF Debug Bar page and give it a spin or read the introducing post.
« Zend Framework Validator for Danish VAT Numbers
– New Music In March »
Nice work you have put in to this. Would love if you could host it at github to make it easier to fork and to follow changes.
Cheers
Nice job, I like new version.
Suggestions:
- You can add SESSION variables into variables tab.
- For some UTF-8 characters I get something like this:
name = 'СÑ?биÑ?а'
Great work !
Why not including your Scienta Debug Bar in Firebug...or at least as a Firebug addon... It'd be fantastic to have both tools together.
Awesome work, keep going!
To get better chances for inclusion in zf it would be better to make use of dojo instead of jquery :)
In getFilesPanel() line 250, small patch to work on windows properly:
foreach ($included as $file) {
+ $file = str_replace('\\', '/', $file);
Hi!
I've installed it and as soon as I did, I had a problem with line 169 where it wasn't finding the Zend_Version class so I've added a line in this function adding the class and the problem was fixed. Maybe some other people may have this problem and here is how to fix it.
add this to the getVersionTab() function :)
Zend_Loader::loadClass('Zend_Version');
Cheers**
Hello,
I have a problem with the profiler of Database. The query type INSERT or UPDATE doesn't show the value of parameters. Only the method getQuery() of Zend_Db_Profiler is used. Another method getQueryParams() may be used in order to show parameters ?
Example :
[3.98 ms] UPDATE `catalogue_produit` SET `nom` = ?, `description` = ?, `prix` = ?, `prix_type` = ?, `ancien_prix` = ?, `taux_tva` = ? WHERE (`catalogue_produit`.`id` = 1239)
Great job,
Thanks in advance !
@Rudy:
Thanks for the bugreport. That is clearly an oversight on my part! I will fix in the next release.
Feature Request:
If Zend_Auth::hasIdentity() returns true: display another area in the debug bar dumping the contents of Zend_Auth::getIdentity().
@Chris Jones: I did a dirty hack to add this area, needed it for myself
http://pastebin.com/f1b9cfa
Post A Comment
You need JavaScript to post comments.