Archives 

Show All

  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
    • December
    • October
      • Debugging PHP from Firefox
        10/24/06

        NuSphere have been promising it for ages, but its taken a man known only as iflo to build the Firefox etension for the DBG debugger. Now I can start a debug or profiling session right from Firefox. Thank you iflo. Note that Firefox may complain about the extension having an invalid hash, but i

      • Calling static functions with a NuSOAP Web Service
        10/12/06
        I know, this is a pretty specific problem, but I solved it nonetheless :)

        Basically, if you are using NuSOAP Web services and you want to register a static class function then you need to use ".." instead of "::".

        For example,

        class object{
        <

      • Browser Based WYSIWYG HTML Editor
        10/11/06
        Still using HTMLArea for your CMS and other HTML editing in the browser? Maybe you should check out Xinha (pronounced Zena, as in warrior princess).

      • Internet Explorer as a FireFox tab!
        10/11/06
        I love stuff like this. IE Tab is a FireFox extension that lets you open the current page in a new FireFox tab using Internet Explorer! This is great for Web testing, but it's also an awesome back-up plan for those damn Web sites out there that just don't work in FireFox/Mozilla. Just midd

      • Web testing with Selenium IDE
        10/11/06
        I've done a fair bit of test driven development (TDD) using Nunit (ASP.NET) and PHPunit/SimpleTest (PHP), and they're great frameworks. There's nothing like watching all your green lights turn on after a hard day's coding, knowing that you've added to the code base but broke

      • More XAJAX hacking
        10/08/06
        Just a quick mention of a bug I came across in XAJAX today. When passing objects or associative arrays back to PHP via xajax.call() the ObjectToXML function fails to pass and parameters with numeric values.

        It appears that the replace() function fails as integers are, well, not strings...

      • Even better XAJAX powered PHP objects!
        10/05/06
        Earlier today I wrote about using PHP class constructors to wire-up public methods to xajax. After some perusing of the xajax source code I discovered another way of doing this. It's simpler in some ways, but not as versatile. It's called "registerCallableObject()"!

        I

      • The Death of Viral Marketing?
        10/05/06
        The Sydney Morning Herald posted a news item yesterday questioning the ongoing feasibility of viral marketing. The problem they identify is that Web users are no longer interested in thinly disguised advertising campaigns masquerading as entertainment. Fair enough. Even if there is a prize to be won

      • Setting JavaScript variables with AJAX
        10/05/06
        You would think that this is a simple thing to do, but there is a problem that eludes many newcomers to AJAX. I talked about this in my last entry on PHP classes with built-in AJAX functions, but now I want to wrap the whole thing up properly without confusing the issue (too much).

        Here&

      • PHP Objects with built-in AJAX
        10/05/06
        I am writing a code-generation tool in PHP that builds CRUD classes (Create-Update-Retrieve-Delete) from a database. It uses PHP5 and each of the properties are private so that you need to use public SET and GET methods to manage them. This is good, as I detect the database column properties such as

      • XSA - Cross-Site AJAX
        10/03/06
        How do Send2Friend and BugFeatures manage to use AJAX to send form information to an off-site data store? By using an IFRAME instead of an embedded DIV. The Prototype window class cleverly allows an embedded IFRAME to be dragged around the current page as if it were a local DHTML object. Thus, when

      • Why BugFeatures?
        10/02/06
        I thought it was such a good domain name that I just had to do something with it :) But I also wanted to provide my visitors with an easy-to-use way of telling me about Send2Friend. On the one hand I wanted to know when a bug reared its cute little face and also when a user experienced that flash of

    • September