Seeking Good DHTML Debuggers?
christodd queries: "After years of programming in PHP and C++, I've finally delved into the world of Javascript and DHTML. The biggest hurdle I have come up against is the various web browser DOMs. I find that I spend much time googling for variable names, and guessing which variables do what. My favorite tool is a good debugger, and this is where I'm having problems. There is a commercial product by Netscript due out this quarter for $190.00, and there is a very young open source project at BiteSizeInc, but I have yet to find anything production quality. How does everyone else debug browser DOM issues?"
My advice to you, is dont use Javascript , DHTML unless it is really neccesary. Its good for image rollovers and validating forms but the moment you try and do anything fancy with it like manipulating layers you will be plagued by crossbrowser incompatibilities.Generally speaking most of the dynamic content driven things can be done with your existing PHP / backend code.
I have been developing websites for a number of years, and when I do have problems i have usually found that by typing "javascript:" into the offending browser (after an error has occurred) and / or stepping through the code and evalutating variables using the javascript command
alert(insert_problem_variable);
has been able to help me debug frustrating problems most every time. I really dont think you need to fork out hundreds of dollars for a debugger when you just need to use your nonce and a copy of the best javascript book ever written
Electronic Music Made Using Linux http://soundcloud.com/polyp
[TROLLS: This post is not copyrighted. POST IT EVERYWHERE!]
.cx registrar's forum, supporting the reinstatement of the domain.
On January 14, the Christmas Island Internet Administration abruptly disabled everyone's favorite domain, goatse.cx. All joking aside, this action brings up serious questions regarding registrars exercising control over the content of websites they don't host. Goatse's geek appeal as a cult phenomenon is arguably stronger than AYBABTU, and has been an omnipresent icon here at Slashdot for years. There's a petition, as well as a thread at the
Regardless of peoples' feelings about what was hosted at goatse.cx, arbitrary domain suspension due to content has potentially chilling effects. CIIA used a vaguely-worded clause in their registration agreement which allows them to disable any domain for any (or no) reason, even if the domain's operators aren't doing anything wrong and aren't otherwise in violation of the agreement. The suspension was apparently done with neither warning nor notice to the domain's owner.
Nearly all registrars maintain the right to take such action. However, to my knowledge this has never been done before, except in cases where the domain's owner was seriously violating the registration agreement in other ways - spamming, illegal activities, etc. - and even then only on rare occasions. The goatse situation essentially amounts to a web-based joe job, wherein the site's owner had no control over links to the domain or how they were used.
Until this week, I'd always been under the impression that it's a hosting provider's job to stop service to a domain. If a website contained content so controversial as to generate complaints, the hosting provider would make the decision as to whether or not to continue serving the domain. If the host declined, the domain's owner could simply move the site to a more tolerant host. And that's the way it should be.
With CIIA's action, the tables have turned, and a registrar - even if only a small player - has set a precedent for registrars playing the role of content moderator. While this could come in handy (imagine dotster.com, who are running Apache on some sort of Unix, suspending sco.com's registration just for the heck of it), it also makes the process of shutting down potentially controversial sites far too easy. What if the Public Internet Registry decides on a whim to disable landoverbaptist.org because "Landover takes parody too far for our liking," or freenetproject.org because "Freenet can be used for bad purposes," or slashdot.org because "there are too many radical thinkers on that site?"
Domain names are finite resources. If it's widely known that you can be found at example.com, and your webhost shuts you down because they don't approve of the content of your website, you can find another webhost and be back online within a day or so. But if your registrar suspends your domain because they don't approve of your site's content, you can't just go somewhere else and "buy a new copy" of your prime internet real estate. (Oddly enough, it appears that Google has decided to ignore links to goatse.cx; I'd been hoping to use the search results to demonstrate the domain's popularity, but no go.)
The finite nature of domains becomes even more of a problem with many ccTLD operators, who are frequently the sole registrars of their root domain. I should emphasize that goatse.cx was suspended, not deleted; the Christmas Island Internet Administration didn't remove goatse.cx and make it available for someone else to re-register. It's still th
You have posted the eight millionth Slashdot comment! Good work!