<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Say Goodbye to alert()</title>
	<atom:link href="http://ajaxian.com/archives/say-goodbye-to-alert/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/say-goodbye-to-alert</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: timdown</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268644</link>
		<dc:creator>timdown</dc:creator>
		<pubDate>Tue, 04 Nov 2008 09:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268644</guid>
		<description>Another vote for &lt;a href=&quot;http://log4javascript.org&quot; rel=&quot;nofollow&quot;&gt;log4javascript&lt;/a&gt; here. But then I did write it.

Seriously, does no-one know it exists?</description>
		<content:encoded><![CDATA[<p>Another vote for <a href="http://log4javascript.org" rel="nofollow">log4javascript</a> here. But then I did write it.</p>
<p>Seriously, does no-one know it exists?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andersonjc</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268302</link>
		<dc:creator>andersonjc</dc:creator>
		<pubDate>Tue, 21 Oct 2008 18:47:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268302</guid>
		<description>This works for me:
if(window.console &amp;&amp; console.firebug) { alert = function(e) { console.log(e); } }</description>
		<content:encoded><![CDATA[<p>This works for me:<br />
if(window.console &amp;&amp; console.firebug) { alert = function(e) { console.log(e); } }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jzshmyt</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268244</link>
		<dc:creator>jzshmyt</dc:creator>
		<pubDate>Sat, 18 Oct 2008 11:02:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268244</guid>
		<description>javascript-log-tool 
site:
http://code.google.com/p/dewind/
pic:



download:
&lt;a href=&quot;http://dewind.googlecode.com/files/beta-20081017.rar&quot; rel=&quot;nofollow&quot;&gt;http://dewind.googlecode.com/files/beta-20081017.rar&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>javascript-log-tool<br />
site:<br />
<a href="http://code.google.com/p/dewind/" rel="nofollow">http://code.google.com/p/dewind/</a><br />
pic:</p>
<p>download:<br />
<a href="http://dewind.googlecode.com/files/beta-20081017.rar" rel="nofollow">http://dewind.googlecode.com/files/beta-20081017.rar</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ckendrick</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268230</link>
		<dc:creator>ckendrick</dc:creator>
		<pubDate>Fri, 17 Oct 2008 15:42:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268230</guid>
		<description>Wouldn&#039;t it be great if, instead of just a raw logging facility, the &lt;i&gt;Ajax frameworks themselves&lt;/i&gt; actually made use a logging, providing built-in diagnostics in various categories?  So that if you were troubleshooting, say, layout, you could turn on a &quot;layout&quot; category and see messages explaining how the layout policies were being applied?  Or for event handling, enable an &quot;eventHandling&quot; category to see events bubbling up the logical component model?
.
Part of SmartClient since 2001..</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t it be great if, instead of just a raw logging facility, the <i>Ajax frameworks themselves</i> actually made use a logging, providing built-in diagnostics in various categories?  So that if you were troubleshooting, say, layout, you could turn on a &#8220;layout&#8221; category and see messages explaining how the layout policies were being applied?  Or for event handling, enable an &#8220;eventHandling&#8221; category to see events bubbling up the logical component model?<br />
.<br />
Part of SmartClient since 2001..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phiggins</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268211</link>
		<dc:creator>phiggins</dc:creator>
		<pubDate>Thu, 16 Oct 2008 19:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268211</guid>
		<description>Just noting: Dojo has firebuglite out of the box, is used only in debug mode, doesn&#039;t show up with a real firebug present, and console.* commands can be stripped as a build option during the automated minification process (which does whitespace, css, comments, and variable obfuscation) with no special syntax around the function calls (though that is supported in the build, too). 

The UI is nicer here though.</description>
		<content:encoded><![CDATA[<p>Just noting: Dojo has firebuglite out of the box, is used only in debug mode, doesn&#8217;t show up with a real firebug present, and console.* commands can be stripped as a build option during the automated minification process (which does whitespace, css, comments, and variable obfuscation) with no special syntax around the function calls (though that is supported in the build, too). </p>
<p>The UI is nicer here though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JesperSjoquist</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268204</link>
		<dc:creator>JesperSjoquist</dc:creator>
		<pubDate>Thu, 16 Oct 2008 15:41:59 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268204</guid>
		<description>&quot;Once you stuff the log with information the profiler doesn’t work correct anymore&quot;
Thats because everytime you hit one of the demo buttons, the profiler for example, you add 14 new elements to the document which means that a task like document.getElementsByTagName( &#039;A&#039; ); will take increasingly longer to perform.</description>
		<content:encoded><![CDATA[<p>&#8220;Once you stuff the log with information the profiler doesn’t work correct anymore&#8221;<br />
Thats because everytime you hit one of the demo buttons, the profiler for example, you add 14 new elements to the document which means that a task like document.getElementsByTagName( &#8216;A&#8217; ); will take increasingly longer to perform.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: V1</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268198</link>
		<dc:creator>V1</dc:creator>
		<pubDate>Thu, 16 Oct 2008 13:36:53 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268198</guid>
		<description>Once you stuff the log with information the profiler doesn&#039;t work correct anymore, I punched like a moron on the test buttons loading up the log and the profilers time kept increasing, until i cleared the log again...</description>
		<content:encoded><![CDATA[<p>Once you stuff the log with information the profiler doesn&#8217;t work correct anymore, I punched like a moron on the test buttons loading up the log and the profilers time kept increasing, until i cleared the log again&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zachleat</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268197</link>
		<dc:creator>zachleat</dc:creator>
		<pubDate>Thu, 16 Oct 2008 13:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268197</guid>
		<description>@pmontrasio I use an ANT Build Script to minify my JS and CSS files automatically using a single command.  I have a string /*RM*/ that I put at the beginning of a line that signifies a line of JS or CSS I want removed prior to minification, and I just use ANT to find and remove those lines.</description>
		<content:encoded><![CDATA[<p>@pmontrasio I use an ANT Build Script to minify my JS and CSS files automatically using a single command.  I have a string /*RM*/ that I put at the beginning of a line that signifies a line of JS or CSS I want removed prior to minification, and I just use ANT to find and remove those lines.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pmontrasio</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268194</link>
		<dc:creator>pmontrasio</dc:creator>
		<pubDate>Thu, 16 Oct 2008 08:39:11 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268194</guid>
		<description>I&#039;m writing about a problem with log points in js files.

alert, log.* and console.log are ok when you develop, but you don&#039;t want them in your code when you deploy in production. You also don&#039;t want your customers to download yet another js file from your server (i.e. blackbird.js) especially if they&#039;re not meant to see log messages anyway.

Most web frameworks makes it easy to embed the script src tag into a check for production vs. development environment, so that&#039;s part of the problem is solved. I can think about many ways to remove the log points from the static js files but can anybody suggest me a simple and proven way to do it? Thanks!</description>
		<content:encoded><![CDATA[<p>I&#8217;m writing about a problem with log points in js files.</p>
<p>alert, log.* and console.log are ok when you develop, but you don&#8217;t want them in your code when you deploy in production. You also don&#8217;t want your customers to download yet another js file from your server (i.e. blackbird.js) especially if they&#8217;re not meant to see log messages anyway.</p>
<p>Most web frameworks makes it easy to embed the script src tag into a check for production vs. development environment, so that&#8217;s part of the problem is solved. I can think about many ways to remove the log points from the static js files but can anybody suggest me a simple and proven way to do it? Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flesler</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268191</link>
		<dc:creator>Flesler</dc:creator>
		<pubDate>Wed, 15 Oct 2008 23:35:42 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268191</guid>
		<description>@gscottolson
You should use LocalScroll :)</description>
		<content:encoded><![CDATA[<p>@gscottolson<br />
You should use LocalScroll :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zachleat</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268186</link>
		<dc:creator>zachleat</dc:creator>
		<pubDate>Wed, 15 Oct 2008 22:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268186</guid>
		<description>One more vote for log4javascript, love that one for its feature set:
Ajax log appender, inline regex search and filter, new window mode, etc.</description>
		<content:encoded><![CDATA[<p>One more vote for log4javascript, love that one for its feature set:<br />
Ajax log appender, inline regex search and filter, new window mode, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bdillard</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268180</link>
		<dc:creator>bdillard</dc:creator>
		<pubDate>Wed, 15 Oct 2008 21:13:09 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268180</guid>
		<description>The reason I continued to use this utility even after the advent of Firebug Lite was the ability to filter log messages selectively. That and the nicer UI (pinning the console to different positions in the window) make for an intuitive utility.

My problem with Firebug Lite is that when I install it in a dev project, it trips up over the real Firebug in Firefox. I end up with two console windows which drives me crazy. I end up having to comment out Firebug Lite when I am debugging in FF, then un-comment it in other browsers. It&#039;s a real drag. Anyone else have that problem?

At any rate, Firebug is super-functional, but its UI is dense and inflexible for my tastes. Competition on UI, not just features, can only enliven the JavaScript debugging arms race - in which case we all win.</description>
		<content:encoded><![CDATA[<p>The reason I continued to use this utility even after the advent of Firebug Lite was the ability to filter log messages selectively. That and the nicer UI (pinning the console to different positions in the window) make for an intuitive utility.</p>
<p>My problem with Firebug Lite is that when I install it in a dev project, it trips up over the real Firebug in Firefox. I end up with two console windows which drives me crazy. I end up having to comment out Firebug Lite when I am debugging in FF, then un-comment it in other browsers. It&#8217;s a real drag. Anyone else have that problem?</p>
<p>At any rate, Firebug is super-functional, but its UI is dense and inflexible for my tastes. Competition on UI, not just features, can only enliven the JavaScript debugging arms race &#8211; in which case we all win.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schill</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268179</link>
		<dc:creator>Schill</dc:creator>
		<pubDate>Wed, 15 Oct 2008 21:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268179</guid>
		<description>The UI is a nice consideration. Any utility that gives console.log/warn/error-style debugging that works nicely across Firefox+Firebug, Safari and IE is a good thing, even if it&#039;s been done before (a la Firebug lite.) The ability to filter could be quite useful.</description>
		<content:encoded><![CDATA[<p>The UI is a nice consideration. Any utility that gives console.log/warn/error-style debugging that works nicely across Firefox+Firebug, Safari and IE is a good thing, even if it&#8217;s been done before (a la Firebug lite.) The ability to filter could be quite useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eyelidlessness</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268178</link>
		<dc:creator>eyelidlessness</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268178</guid>
		<description>LOL nerds hate when people reinvent the wheel slightly differently.

This actually looks pretty cool, IMO.</description>
		<content:encoded><![CDATA[<p>LOL nerds hate when people reinvent the wheel slightly differently.</p>
<p>This actually looks pretty cool, IMO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gscottolson</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268177</link>
		<dc:creator>gscottolson</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268177</guid>
		<description>I think one of the appealing features is a profiler that allows you to time the execution of your JavaScript.  You can call log.profile( &#039;label&#039; ), once to start your profiler and again to stop it.

Object representation and regular expression filtering are on tap for later releases.

I&#039;m surprised nobody has argued for &lt;a href=&quot;http://www.timdown.co.uk/log4javascript/&quot; rel=&quot;nofollow&quot;&gt;log4javascript&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I think one of the appealing features is a profiler that allows you to time the execution of your JavaScript.  You can call log.profile( &#8216;label&#8217; ), once to start your profiler and again to stop it.</p>
<p>Object representation and regular expression filtering are on tap for later releases.</p>
<p>I&#8217;m surprised nobody has argued for <a href="http://www.timdown.co.uk/log4javascript/" rel="nofollow">log4javascript</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seanmonstar</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268176</link>
		<dc:creator>seanmonstar</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268176</guid>
		<description>It looks pretty... but seems useless compared to Firebug.  Pretty icons, but firebug gives me object representations.

You can only log strings?</description>
		<content:encoded><![CDATA[<p>It looks pretty&#8230; but seems useless compared to Firebug.  Pretty icons, but firebug gives me object representations.</p>
<p>You can only log strings?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TNO</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268175</link>
		<dc:creator>TNO</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:21:47 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268175</guid>
		<description>If debugging, I personally wouldn&#039;t want more code in my page than the bare minimum Which includes FireBug Lite.Whatever happened to using textarea.value+=&quot;foo&quot;? I must be the only one left who still does that on occasion  ;)</description>
		<content:encoded><![CDATA[<p>If debugging, I personally wouldn&#8217;t want more code in my page than the bare minimum Which includes FireBug Lite.Whatever happened to using textarea.value+=&#8221;foo&#8221;? I must be the only one left who still does that on occasion  ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ThomasHansen</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268174</link>
		<dc:creator>ThomasHansen</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268174</guid>
		<description>Errhh...
FireBug...?</description>
		<content:encoded><![CDATA[<p>Errhh&#8230;<br />
FireBug&#8230;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dougal85</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268173</link>
		<dc:creator>Dougal85</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268173</guid>
		<description>&quot;say goodbye to alert&quot; in-case it didn&#039;t hear you 2 years ago.</description>
		<content:encoded><![CDATA[<p>&#8220;say goodbye to alert&#8221; in-case it didn&#8217;t hear you 2 years ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: whoisyeco</title>
		<link>http://ajaxian.com/archives/say-goodbye-to-alert/comment-page-1#comment-268172</link>
		<dc:creator>whoisyeco</dc:creator>
		<pubDate>Wed, 15 Oct 2008 20:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=4776#comment-268172</guid>
		<description>Pretty nice... Firebug is a more useful tool, even in IE you can use firebug lite.</description>
		<content:encoded><![CDATA[<p>Pretty nice&#8230; Firebug is a more useful tool, even in IE you can use firebug lite.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

