A PHP Developer's Blog - Joakim Nygård

About jokke.dk

jokke.dk is the personal website of , a software architect, entrepeneur and Mac user living in Copenhagen, Denmark. Read more »

Search the Site

Recent Posts

Popular Posts

ZFDebug 1.5 is ready

21st May, 2009  |  12 Comments

ZFDebug, previously known as Scienta ZF Debug Bar, has reached version 1.5 with lots of new functionality and a new home with GoogleCode.

Visit the ZFDebug homepage and have a look. As always, keep the good suggestions and bug reports coming.

« The Black Box of Wolfram Alpha  –  The Moon Landing 40 Years Later »

12 Comments

SM

15th June, 2009

2 fixes.

1. If you start ZFDebug from Bootstrap.php - you must manually start the db resource/s
2. In examples $basePath is shown, but actually $base_path is used in File plugin source

code for Bootstrap.php with fixes (for Cache plugin you must use similar tactics as used for $db in my example)

protected function _initZFDebug()
{
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader-registerNamespace('ZFDebug');

$options = array(
'plugins' = array('Variables',
'Database',
'File' = array('base_path' = realpath('../')),
'Memory',
'Time',
'Registry',
//'Cache' = array('backend' = $cache-getBackend()),
'Exception')
);

if ($this-hasPluginResource('db')) {
$this-bootstrap('db');
$db = $this-getPluginResource('db')-getDbAdapter();
$options['plugins']['Database']['adapter'] = $db;
}

$debug = new ZFDebug_Controller_Plugin_Debug($options);

$this-bootstrap('frontController');
$frontController = $this-getResource('frontController');
$frontController-registerPlugin($debug);
}


Anders blogger in websites

15th June, 2009

Being a novice in this exiting business area I have really enjoyed reading your comments. It is a nice topic in these turbulent times; make profits from websites. Sounds easy once done I guess for a newbie there seems a long and hard way to walk before the dreams are coming through. I guess that a very hot issue must be to prove that the website you make will be the winner or at least among the 10 best on the search engines and of course to ensure that the investment will prove to be profitable. Another important issue is communication, do we understand the language spoken by our target group, if not all investments is lost and you lose credibility as well instead of building customer loyalty.


Joakim Nygård

15th June, 2009

Thanks for the report, SM. I've updated the installation instructions on the googlecode homepage accordingly.


divx film izle

18th June, 2009

$this-bootstrap('frontController');
$frontController = $this-getResource('frontController');
$frontController-registerPlugin($debug);
}


Techi

12th August, 2009

There is issue if you dont use Zend_Application and you use own plugin for settting database connection, then profiling wont work, because ZFDebug expects existing instance of $db in constructor, altough he does not need it anyway. (Only for enabling profiler)

IMHO he should try to retrieve $db instance after dispatching as well...


Brian

15th September, 2009

Hello - I am using jquery and ajaxsubmit on forms. when i have the debug bar loaded, something is breaking jquery and does not submit my forms using ajax.

any ideas?


yuva

25th September, 2009

I am using ADODB how to configure in ZFDebug


hd film izle

4th December, 2009

'Database',
'File' = array('base_path' = realpath('../')),
'Memory',
'Time',
'Registry',

why?


özdere

14th December, 2009

'File' = array('base_path' = realpath('../')),


izmirde sat?l?k dükkan

18th December, 2009

if ($this-hasPluginResource('db')) {
$this-bootstrap('db');
$db = $this-getPluginResource('db')-getDbAdapter();
$options['plugins']['Database']['adapter'] = $db;
}


Alessandro

1st April, 2010

Wow, this is one of the most brilliant ideas I ever saw!
Simple and effective.


film izle

29th August, 2010

protected function _initZFDebug()
{
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader-registerNamespace('ZFDebug');

? ? ?


Post A Comment

You need JavaScript to post comments.