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

2009-09-14 Thread Andrea Giammarchi
> > While it's a joke, in all fairness, it does work. only because you debugged before server side responses, and now, as I have said, you have an alternative to speed up that process. Finally, Formaldehyde JS had a typo so only today I realized it and I uploaded the version 1.01 of Formalde

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

2009-09-14 Thread Andrea Giammarchi
> > While it's a joke, in all fairness, it does work. only because you debugged before server side responses, and now, as I have said, you have an alternative to speed up that process. Finally, Formaldehyde JS had a typo so only today I realized it and I uploaded the version 1.01 of Formalde

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

2009-09-14 Thread tedd
At 7:28 AM +0200 9/14/09, J DeBord wrote: In all fairness Tedd, your example is a bit of a joke. Send some JSON back and forth, do some database queries, and use a webservice all at the same time. Your AJAX calls won't be so simple then. Okay, so my work is a joke. Been there, done that before

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

2009-09-14 Thread mm w
Hello Andrea, I did not mean to hurt you, my point was: beeing a Jerk when it's ending in void conflicts with people, if you don't like their comments, just don't answer to people. For my concern, a program cannot be debuged by itself (especially with a scripting language, we almost did a joke by

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

2009-09-14 Thread mm w
Noe that the debuger chapter is closed, and you actually did create a error tracker helper and try to return them client side, I can understand that you are frustrated by the poor php layer and support regarding exception handling, but on this point as a lot of people answer you we are doing that s

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

2009-09-13 Thread J DeBord
On Mon, Sep 14, 2009 at 2:05 AM, tedd wrote: > At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote: > >> I was expecting somebody that develop massive Ajax application, not a link >> with 3 pages and zero point about the reply. >> > > You asked if anyone did any ajax? So, I replied and provided yo

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

2009-09-13 Thread tedd
At 10:49 PM +0200 9/13/09, Andrea Giammarchi wrote: I was expecting somebody that develop massive Ajax application, not a link with 3 pages and zero point about the reply. You asked if anyone did any ajax? So, I replied and provided you with an example. Who cares if my example only has three

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

2009-09-13 Thread Andrea Giammarchi
> No, display_errors should be turned off (with log_errors turned on) > and error_reporting should be set to whatever standard you're coding > to (preferably, E_ALL | E_STRICT, but a lot of people like to ignore > E_NOTICE's). yep, it should be a production environment > So it's not zero confi

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

2009-09-13 Thread Eddie Drapkin
> Right, errors should never be exposed, and error_reporting should be 0 in > production but log function and the fact you can move Formaldehyde with the > application means it does not require extra effort. No, display_errors should be turned off (with log_errors turned on) and error_reporting

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

2009-09-13 Thread Andrea Giammarchi
Sorry, I meant environment > ... plus you'll have 1:1 production/development application _ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/

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

2009-09-13 Thread Andrea Giammarchi
Right, errors should never be exposed, and error_reporting should be 0 in production but log function and the fact you can move Formaldehyde with the application means it does not require extra effort. In few words, if in production Formaldehyde constant is false, and it must be false, nothing

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

2009-09-13 Thread Eddie Drapkin
7;t do it next release) > > Best Regards > > P.S. for others ... these kind of answers, questions, opinions, that IS what > I was expecting > >> Date: Sun, 13 Sep 2009 13:52:11 -0400 >> From: oorza...@gmail.com >> To: pa...@quillandmouse.com >> CC: php-gen

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

2009-09-13 Thread Andrea Giammarchi
that IS what I was expecting > Date: Sun, 13 Sep 2009 13:52:11 -0400 > From: oorza...@gmail.com > To: pa...@quillandmouse.com > CC: php-general@lists.php.net > Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger > > What does this offer that a

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

2009-09-13 Thread Andrea Giammarchi
> Hello Andrea, > > I am developing with PHP since now 12 years (did a couple stuff in > Zend Core), and was one of a few guy using and sharing about php when > it was only an THE Apache mode in the world C++ CGI, I am not Zend > Certified, I won't :), anyway those things make me smarter or giv

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

2009-09-13 Thread mm w
... so it was not just to > waste my time guys, and it is open source, maybe next time I'll keep for me > >> From: jasdeb...@gmail.com >> Date: Sat, 12 Sep 2009 22:37:01 +0200 >> To: php-general@lists.php.net >> Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Aja

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

2009-09-13 Thread Eddie Drapkin
What does this offer that a real debugger, like xdebug, doesn't? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2009-09-13 Thread Paul M Foster
On Sun, Sep 13, 2009 at 01:33:49PM +0200, Andrea Giammarchi wrote: > > This ML is a bit different from what I was expecting, > > P.S. I am certified Zend Engineer with 10 years of experience with PHP and > dunno how many innovation awards in phpclasses.org ... so it was not just to > wa

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

2009-09-13 Thread Andrea Giammarchi
p 2009 22:37:01 +0200 > To: php-general@lists.php.net > Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger > > On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas wrote: > > > Andrea Giammarchi wrote: > > > >> something I cannot find in any

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

2009-09-13 Thread Andrea Giammarchi
That I created some fresh air or something new? Sure, thanks > Date: Sat, 12 Sep 2009 11:47:27 -0700 > From: li...@cmsws.com > To: an_...@hotmail.com > CC: pa...@quillandmouse.com; php-general@lists.php.net > Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP

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

2009-09-12 Thread J DeBord
On Sat, Sep 12, 2009 at 8:47 PM, Jim Lucas wrote: > Andrea Giammarchi wrote: > >> something I cannot find in any other library or framework. >> > > This should tell you something then... > > If something like Formandehyde isn't useful, then why is Charles so popular (note: popular from my perspec

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

2009-09-12 Thread Jim Lucas
Andrea Giammarchi wrote: something I cannot find in any other library or framework. This should tell you something then... -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William

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

2009-09-12 Thread tedd
At 12:20 AM +0200 9/12/09, Andrea Giammarchi wrote: > Date: Fri, 11 Sep 2009 12:37:30 -0400 To: an_...@hotmail.com; php-general@lists.php.net From: tedd.sperl...@gmail.com Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger The only things that may go wr

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

2009-09-12 Thread Andrea Giammarchi
as margin note, the project page changed name, hopefully less ambiguous: Formandehyde - Zero Config Ajax Based PHP Error Debugger Regards _ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.microsoft.com/wi

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

2009-09-12 Thread Andrea Giammarchi
error) Regards > From: kranthi...@gmail.com > Date: Sat, 12 Sep 2009 11:39:43 +0530 > To: pa...@quillandmouse.com > CC: php-general@lists.php.net > Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger > > I dont think I understood you completely.. > &

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

2009-09-12 Thread Andrea Giammarchi
something I cannot find in any other library or framework. Regards > Date: Sat, 12 Sep 2009 00:20:58 -0400 > From: pa...@quillandmouse.com > To: php-general@lists.php.net > Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger > > On Sat, Sep 12, 200

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

2009-09-12 Thread kranthi
> @Andera May be you should consider using application/json as the > content type instead of text/plain. > The Response text given by  Formaldehyde cannot be understood manually > (for example if I use jQuery.load()). > Had the content type been application/json firebug parses it by default my mis

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

2009-09-11 Thread kranthi
I dont think I understood you completely.. Javascript debugger: Something you use to debug javascript. but Formaldehyde dosent make any seance if xhr object is not used. PHP Debugger: We cant use Formaldehyde to debug errors in every single PHP script. I am talking about pages called directly via

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

2009-09-11 Thread Paul M Foster
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

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

2009-09-11 Thread Andrea Giammarchi
imple, and hopefully useful. Regards > Date: Fri, 11 Sep 2009 10:43:23 -0700 > Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger > From: bdun...@agentintellect.com > To: tedd.sperl...@gmail.com > CC: an_...@hotmail.com; php-general@lists.php.net > &g

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

2009-09-11 Thread Andrea Giammarchi
> Date: Fri, 11 Sep 2009 12:37:30 -0400 > To: an_...@hotmail.com; php-general@lists.php.net > From: tedd.sperl...@gmail.com > Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error > Debugger > The only > things that may go wrong are in the data I a

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

2009-09-11 Thread Ben Dunlap
> Examine this: > > http://webbytedd.com/a/ajax-site/js/a.js > > Now, where can something go wrong? I suppose slave.php could fail with a 4xx or 5xx response. Then, most likely, the user would be left clicking on a link that does nothing. In an edge case the body of the error-response might includ

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

2009-09-11 Thread tedd
At 4:54 PM +0200 9/11/09, Andrea Giammarchi wrote: How do you debug Ajax calls? I am starting to think you do not do it, or your applications are extremely simple... do you transform only at the end the result? How do you debug the transformation if something go wrong? How do you test via clien

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

2009-09-11 Thread Andrea Giammarchi
: muxical.g...@gmail.com To: an_...@hotmail.com CC: a...@ashleysheridan.co.uk; tedd.sperl...@gmail.com; php-general@lists.php.net Subject: Re: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger I do use FirePHP and your project looks interesting to evaluate. Will check it out in

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

2009-09-11 Thread Bipin Upadhyay
tions, 'cause here seems nobody i susing FirePHP or frameworks debuggers while numbers tell me the scenario is totally different. Regards Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error Debugger From: a...@ashleysheridan.co.uk To: tedd.sperl...@gmail.c

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

2009-09-11 Thread Andrea Giammarchi
tell me the scenario is totally different. Regards > Subject: RE: [PHP] RE: [Formaldehyde] The Most Basic Ajax - PHP Error > Debugger > From: a...@ashleysheridan.co.uk > To: tedd.sperl...@gmail.com > CC: an_...@hotmail.com; php-general@lists.php.net > Date: Fri, 11 Sep 2009

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

2009-09-11 Thread Andrea Giammarchi
, ok, fine, Formaldehyde is not for you, not today at least. Thanks for the reply in any case, better than nothing. Regards > Date: Fri, 11 Sep 2009 10:35:43 -0400 > To: an_...@hotmail.com; php-general@lists.php.net > From: tedd.sperl...@gmail.com > Subject: RE: [PHP] RE: [Formaldehy

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

2009-09-11 Thread Ashley Sheridan
On Fri, 2009-09-11 at 10:35 -0400, tedd wrote: > At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote: > >That's a finished production site ... how did you debug during its > >development? 'Cause Formaldehyde is for development, not for > >production ... I guess you have implented your own error >

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

2009-09-11 Thread tedd
At 3:27 PM +0200 9/11/09, Andrea Giammarchi wrote: That's a finished production site ... how did you debug during its development? 'Cause Formaldehyde is for development, not for production ... I guess you have implented your own error manager/debugger, right? What's to debug? The site -- h

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

2009-09-11 Thread Andrea Giammarchi
That's a finished production site ... how did you debug during its development? 'Cause Formaldehyde is for development, not for production ... I guess you have implented your own error manager/debugger, right? Well, with Formaldehyde you do not need to implement anything. Moreover, ASAIK, Form