My JavaScript book is out! Don't miss the opportunity to upgrade your beginner or average dev skills.

Saturday, September 05, 2009

Formaldehyde - Ajax PHP Error Debugger

I am proud to announce my last Web 2.Next creation, Formaldehyde, the most simple, lightweight, scalable, and complete (for its simplicity) Ajax and PHP Error Debugger.
I described everything in its dedicated Google Code Project Page, but just to summarize without many other words, this is the common deployment situation:


while this is what's up with a single formaldehyde.php file inclusion:


I hope you will like it, can't wait for some comment :geek:

10 comments:

  1. This is great for the devs that do not use FirePHP.

    I hook my custom functions with FirePHP log statements as the php error handlers and voila.

    ReplyDelete
  2. I have updated the Wiki section right now, and you may be interested into Formaldehyde VS FirePHP page ;)

    ReplyDelete
  3. i am going to use this since it's always been something i wanted natively in firebug and liveheaders. thanks!!

    ReplyDelete
  4. I've done something similar a while ago, and I used it for some personal projects. My version injects some javascript code in the response, code that calls FB's console.something().
    I've put it on my home server here:
    http://doru.homeunix.org/php/debugger/index.php
    If you find something usefull inthere, feel free to use it.

    Cheers.
    Doru Moisa

    ReplyDelete
  5. Formaldehyde is not related to FireBug, it's client side agnostic, and being created mainly for Ajax interactions, it would not make sense to inject anything in the page.

    Thanks in any case and you feel free to use whatever part of Formaldehyde you need.

    P.S. this evening I will uploade a cross-browser client side script able to make Formaldehyde easy to implement and zero config whatever browser we have, logging included.

    Regards

    ReplyDelete
  6. Nice job!
    The only drawback for me is that due to the PHP4 support, it is not implemented in a single class with some private or protected methods. The rest of the things are just great!

    ReplyDelete
  7. Marian, there is nothing more protected than a static variabile inside a function, since you cannot even try to extend it and access to its static var.
    Moreover, you cannot redefine a function.
    In few words, class means double code maintain for zero benefits, being formaldehyde zero config and PHP still procedural. Thanks in any case, regards.

    ReplyDelete
  8. Its highly informative. I would be visiting your blog hereafter regularly to gather valuable information.

    ReplyDelete

Note: Only a member of this blog may post a comment.