List Info

Thread: Comment on PHP::Debug




Comment on PHP::Debug
user name
2007-04-16 06:55:13
Loïc Vernet (http://pear.php.net/use
r/c0il) has commented on the proposal for PHP:ebug.

Comment:

Till, i agree, i must check how i could retrieve and display
debug
informations from xdebug, apc, xcache... Indeed it could be
nice, i need to
investigate on this point. If it could be done, for sure it
will be part of
a new version.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260


-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


Call for votes on PHP::Debug
user name
2007-04-16 06:56:11
Loïc Vernet (http://pear.php.net/use
r/c0il) has initiated the call for votes on PHP:ebug.

Please review the proposal and give your vote here:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260


-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


+1 for PHP::Debug
user name
2007-04-16 08:25:29
Igor Feghali (http://pear.php.net
/user/ifeghali) has voted +1 on the proposal for
PHP:ebug.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260

Vote information:
http://pear.php.net/pepr/pepr-vote-show.ph
p?id=260&handle=ifeghali

-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


+1 for PHP::Debug
user name
2007-04-16 10:36:05
Craig Constantine (http://pear.php
.net/user/cconstantine) has voted +1 on the proposal for
PHP:ebug.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260

Vote information:
http://pear.php.net/pepr/pepr-vote-sho
w.php?id=260&handle=cconstantine

-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


+1 for PHP::Debug
user name
2007-04-16 10:52:01
David Coallier (http://pear.php.net/u
ser/davidc) has voted +1 on the proposal for PHP:ebug.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260

Vote information:
http://pear.php.net/pepr/pepr-vote-show.php?
id=260&handle=davidc

Comment:

All the way, good work, very clean, readable, good code,
good comments.

-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


+1 for PHP::Debug
user name
2007-04-16 11:34:59
Brett Bieber (http://pear.php.
net/user/saltybeagle) has voted +1 on the proposal for
PHP:ebug.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260

Vote information:
http://pear.php.net/pepr/pepr-vote-show
.php?id=260&handle=saltybeagle

Comment:

This is excellent... I think this looks like a great
proposal and package
to have.

The only issue I have is with the install directory and/or
the
require_once statements. Because the require_once statements
all begin with
'Debug/ and not PHP/Debug the user is required to ini_set to
an additional
directory besides their PEAR dir and the changes seem a
little
troublesome.

My vote isn't conditional, as debugging is a special mode
people work in
which might not be usually in your standard include path -
just something I
noticed when installing and running your examples. You might
consider
changing all the require_once 'Debug  to require_once
'PHP/Debug    if the
intended base install directory is PHP.

Great work, and a very useful addition... let's get this in
the
repository.

-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


+1 for PHP::Debug
user name
2007-04-16 11:39:03
Christian Weiske (http://pear.php.net/
user/cweiske) has voted +1 on the proposal for PHP:ebug.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260

Vote information:
http://pear.php.net/pepr/pepr-vote-show.php
?id=260&handle=cweiske

-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


+1 for PHP::Debug
user name
2007-04-16 12:12:35
Justin Patrin (http://pear.php
.net/user/justinpatrin) has voted +1 on the proposal for
PHP:ebug.

Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=260

Vote information:
http://pear.php.net/pepr/pepr-vote-sho
w.php?id=260&handle=justinpatrin

This vote is conditional. The condition is:

The class files must be installed to PHP/ and PHP/Debug to
conform to class naming. The require calls must also be
changes to accomodate this.

You should choose a different license, the PHP license has
proven to be problematic and incompatible with the GPL.

Your options arrays use keys that start with DEBUG_. Why? If
they are options for this package it's not really needed.
Upon further inspection I see that you allow options for
different parts of the package to be put in the same array.
Instead of using a prefix I suggest you instead use
sub-arrays.

array('DEBUG' => array('xxx' => 'yyy'),
      'HTML_DIV' => array('zzz' => 'aaa'));

print calls should not have parenthesis. Additionally, echo
is usually preferred over print.

Errors should not cause output directly (e.g. in watch).
Please throw an exception instead.

return shouldn't have extra parenthesis (e.g. in
getProcessTime()).

Since you have getMicroTimeNow() I would prefer you used it
instead of getMicroTime(microtime()) (e.g. in render()).

getDisplay() is a good feature but the function name seems a
bit off to me. It should be more like getOutput(). Also,
doing this with output buffering seems like a hack to me.
Why not make the rendering layer buffer internally and
simply output it in render()?

You don't need to put quotes around single variables. (e.g.
$GLOBALS["$ArrayTitle"])

Please use single quotes for strings with no variable
substitution.

I would also prefer that all variable substitution be
replaced with single quotes and concatenation.

Lots of code here and it looks very useful. 

-- 
Sent by PEPr, the automatic proposal system at http://pear.php.net

-- 
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1-10] [11-18]

about | contact  Other archives ( Real Estate discussion Medical topics )