Re: RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Sep 12, 2009 at 12:23:44AM +0200, Andrea Giammarchi wrote:

> 
> Exactly Ben, except when PHP fails, even with a Fatal Error, the page has status 200, we need to understand which call failed between hundreds of potential calls in the debugger, and errors could pass silently.
> 
> With Formaldehyde, accordingly with your predefined error_reporting level, above situation will never happen, and the entire process, without changing anything, will be much simpler, as Ben already described.
> 
> So yes Tedd, you did not even read what is Formaldehyde about ... please try to understand it before other comments, maybe you'll discover it's extremely simple, and hopefully useful.
> 

I suspect your English is getting in the way. You're calling this an
AJAX debugger. Debugging in PHP is relatively straightforward, if you
set the error level properly and build your own error handler, etc. So
people on this list would probably think of a PHP debugger as an
unimportant piece of software. Debugging in Javascript is more complex
and difficult, and the responses you're getting on the list sound like
people think Formaldehyde is for debugging Javascript (which PHP
programmers often aren't very interested in). On the Google code page
for Formaldehyde, you only emphasize PHP debugging, as that's the only
type of error example you give.

If the point of Formaldehyde is to debug PHP code, then you should call
it a "PHP code debugger", not an "AJAX code debugger". Tedd's right--
basic AJAX transactions are incredibly simple, and once the code is
written (it can be copied from any number of books), it needs no further
work. General Javascript is a different matter-- it can be quite complex
and quite hard to debug. But AJAX is a very narrow application of
Javascript.

If Formaldehyde is really a debugger for AJAX code, then you should
change the examples and text of your Google code page.

If Formaldehyde is really a debugger for Javascript code, then you
should change the examples on your Google code page to show Javascript
errors, and call it a "Javascript debugger".

If Formaldehyde is really a debugger for PHP code, then call it a "PHP
code debugger". The examples on your Google code page fit this.

Paul

-- 
Paul M. Foster

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux