<?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: Ajaxian Featured Tutorial: When is your page ready?</title>
	<atom:link href="http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: startoy</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257848</link>
		<dc:creator>startoy</dc:creator>
		<pubDate>Sat, 27 Oct 2007 22:04:14 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257848</guid>
		<description>ajaxflakes - Read all about the latest developments on web design 2.0 and ajax + lots of tips. TOP 100+ best Free Opensource Software for windows XP and Vista. Thought i should add it might be helpful to othersâ€¦ &lt;a href=&quot;http://ajaxflakes.com&quot; rel=&quot;nofollow&quot;&gt;http://ajaxflakes.com&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>ajaxflakes &#8211; Read all about the latest developments on web design 2.0 and ajax + lots of tips. TOP 100+ best Free Opensource Software for windows XP and Vista. Thought i should add it might be helpful to othersâ€¦ <a href="http://ajaxflakes.com" rel="nofollow">http://ajaxflakes.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Giammarchi</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257345</link>
		<dc:creator>Andrea Giammarchi</dc:creator>
		<pubDate>Thu, 18 Oct 2007 09:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257345</guid>
		<description>@Scott I generally agree with You but the problem is W3 (WAI) and an empty noscript after inline script tag while events managment inside head tag has not this problem and should be portable / compatible with different libraries. You probably don&#039;t need portability and, as Me, You don&#039;t use third part code so in this way is really simple to manage correctly a single function to call inside inline script but I suppose the goal of this post and, generally, onReady event is quite different.

@Rey, ok :-)</description>
		<content:encoded><![CDATA[<p>@Scott I generally agree with You but the problem is W3 (WAI) and an empty noscript after inline script tag while events managment inside head tag has not this problem and should be portable / compatible with different libraries. You probably don&#8217;t need portability and, as Me, You don&#8217;t use third part code so in this way is really simple to manage correctly a single function to call inside inline script but I suppose the goal of this post and, generally, onReady event is quite different.</p>
<p>@Rey, ok :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Schiller</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257321</link>
		<dc:creator>Scott Schiller</dc:creator>
		<pubDate>Wed, 17 Oct 2007 23:01:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257321</guid>
		<description>Maybe it&#039;s something specific to the type of DOM things I&#039;m doing, but I&#039;ve never really run into issues with a small inline one-line script call at the bottom of the body. While I agree inline script is less than ideal, the &quot;inline script tag&quot; problem you (anonymously :D) cite is no different than if a CSS or image file name were to change, etc.
&#160;
The &quot;onload&quot; problem has been written up many times (Dean Edwards et al,) and with mixed results; my take on it (until there&#039;s a standard DOMContentLoaded,) is either to use a library script like the YUI which has presumably been extensively-tested, or just go with a one-line bottom-script block. I&#039;ve used the technique on my site for years, and it&#039;s served me well.</description>
		<content:encoded><![CDATA[<p>Maybe it&#8217;s something specific to the type of DOM things I&#8217;m doing, but I&#8217;ve never really run into issues with a small inline one-line script call at the bottom of the body. While I agree inline script is less than ideal, the &#8220;inline script tag&#8221; problem you (anonymously :D) cite is no different than if a CSS or image file name were to change, etc.<br />
&nbsp;<br />
The &#8220;onload&#8221; problem has been written up many times (Dean Edwards et al,) and with mixed results; my take on it (until there&#8217;s a standard DOMContentLoaded,) is either to use a library script like the YUI which has presumably been extensively-tested, or just go with a one-line bottom-script block. I&#8217;ve used the technique on my site for years, and it&#8217;s served me well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rey Bango</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257319</link>
		<dc:creator>Rey Bango</dc:creator>
		<pubDate>Wed, 17 Oct 2007 22:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257319</guid>
		<description>@Andrea: It&#039;s hard enough finding good content that will keep experienced developers such as yourself interested without keeping track of every post that me, Dion, Ben or any of the other Ajaxians make. I know that I can&#039;t do it. 

With that said, I do my best to find tutorials that will cater to a variety of people, especially beginners. Some may be good and some may not be as good. At the end of the day, I do my best to find good stuff. Again, instead of simply presenting the negatives, how about offering up constructive feedback that could actually be useful. If you have better tutorials, then please feel free to send them to me or include them in the comments. I&#039;d be happy to check them out and consider posting them here. Again you can catch me at reybango at gmail dot com.</description>
		<content:encoded><![CDATA[<p>@Andrea: It&#8217;s hard enough finding good content that will keep experienced developers such as yourself interested without keeping track of every post that me, Dion, Ben or any of the other Ajaxians make. I know that I can&#8217;t do it. </p>
<p>With that said, I do my best to find tutorials that will cater to a variety of people, especially beginners. Some may be good and some may not be as good. At the end of the day, I do my best to find good stuff. Again, instead of simply presenting the negatives, how about offering up constructive feedback that could actually be useful. If you have better tutorials, then please feel free to send them to me or include them in the comments. I&#8217;d be happy to check them out and consider posting them here. Again you can catch me at reybango at gmail dot com.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Giammarchi</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257315</link>
		<dc:creator>Andrea Giammarchi</dc:creator>
		<pubDate>Wed, 17 Oct 2007 21:36:59 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257315</guid>
		<description>@Ray ... last week We wrote about last DOMContentLoaded IE alternative in about two Ajaxians posts + 3 or more different blogs.
It&#039;s quite hilarius that &quot;today&quot; We have &quot;here&quot; a tutorial (with a defer &quot;trick&quot; explained different moths ago in Dean&#039;s blog) that uses / talks about a deprecated solution using these not so much good practices (i.e. 4 global variables instead of one).
That&#039;s all and please sorry for my sarcasm, it was for expecially for Ajaxian news (they ignore mine mailed two times :P), not for Patrick contribute.
Regards</description>
		<content:encoded><![CDATA[<p>@Ray &#8230; last week We wrote about last DOMContentLoaded IE alternative in about two Ajaxians posts + 3 or more different blogs.<br />
It&#8217;s quite hilarius that &#8220;today&#8221; We have &#8220;here&#8221; a tutorial (with a defer &#8220;trick&#8221; explained different moths ago in Dean&#8217;s blog) that uses / talks about a deprecated solution using these not so much good practices (i.e. 4 global variables instead of one).<br />
That&#8217;s all and please sorry for my sarcasm, it was for expecially for Ajaxian news (they ignore mine mailed two times :P), not for Patrick contribute.<br />
Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rey Bango</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257297</link>
		<dc:creator>Rey Bango</dc:creator>
		<pubDate>Wed, 17 Oct 2007 16:39:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257297</guid>
		<description>@Anonymous: Thanks for the constructive feedback. This is the type of exchange that I would expect in these posts. If you have sample code or a tutorial, please feel free to email me and I&#039;ll be glad to create a follow-up post. reybango at gmail</description>
		<content:encoded><![CDATA[<p>@Anonymous: Thanks for the constructive feedback. This is the type of exchange that I would expect in these posts. If you have sample code or a tutorial, please feel free to email me and I&#8217;ll be glad to create a follow-up post. reybango at gmail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257294</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 17 Oct 2007 16:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257294</guid>
		<description>@Scott on it&#039;s own that particular solution is not enough to guarantee the DOM is ready (doesn&#039;t work consistently on all platforms, works fine on FF and IE though if I remember correctly). Also, hardcoded script tags are evil, if you decide to use a different method later on you&#039;ll have to edit all your html pages.</description>
		<content:encoded><![CDATA[<p>@Scott on it&#8217;s own that particular solution is not enough to guarantee the DOM is ready (doesn&#8217;t work consistently on all platforms, works fine on FF and IE though if I remember correctly). Also, hardcoded script tags are evil, if you decide to use a different method later on you&#8217;ll have to edit all your html pages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Schiller</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257292</link>
		<dc:creator>Scott Schiller</dc:creator>
		<pubDate>Wed, 17 Oct 2007 15:32:21 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257292</guid>
		<description>Maybe I&#039;m missing something, but I&#039;ve just always put a small script block at the end of my content just before /body, and used that to call my &quot;domReady&quot; functions. Has always worked for me. To keep things clean, just the function call is there eg. init(), and the positioning of the script block just ensures the timing is accurate (eg., the DOM should be fully-parsed by that time.)</description>
		<content:encoded><![CDATA[<p>Maybe I&#8217;m missing something, but I&#8217;ve just always put a small script block at the end of my content just before /body, and used that to call my &#8220;domReady&#8221; functions. Has always worked for me. To keep things clean, just the function call is there eg. init(), and the positioning of the script block just ensures the timing is accurate (eg., the DOM should be fully-parsed by that time.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257281</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 17 Oct 2007 10:44:51 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257281</guid>
		<description>It&#039;s not about courage. If you&#039;re writing ajax/js you&#039;ve almost certainly faced this problem, and probably found the current solution for it by yourself already. This tutorial does not improve upon that solution, its only purpose is to explain to newcomers how it works.

I&#039;ve got a completely different solution atm that guarantees an onDOMReady event for all platforms (that is to say IE,FF,Op,Saf) and also guarantees the CSS to have been fully initialized in all browsers but Opera (trying to fix that without a browser detect, but it&#039;s proving to be quite difficult).</description>
		<content:encoded><![CDATA[<p>It&#8217;s not about courage. If you&#8217;re writing ajax/js you&#8217;ve almost certainly faced this problem, and probably found the current solution for it by yourself already. This tutorial does not improve upon that solution, its only purpose is to explain to newcomers how it works.</p>
<p>I&#8217;ve got a completely different solution atm that guarantees an onDOMReady event for all platforms (that is to say IE,FF,Op,Saf) and also guarantees the CSS to have been fully initialized in all browsers but Opera (trying to fix that without a browser detect, but it&#8217;s proving to be quite difficult).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morgan Roderick</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257273</link>
		<dc:creator>Morgan Roderick</dc:creator>
		<pubDate>Wed, 17 Oct 2007 08:07:19 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257273</guid>
		<description>I don&#039;t really see what all the fuzz about sIFR is ... the solutions currently offered, are for when the DOM is ready. WHEN THE DOM IS READY. If you require something for when the entire document is ready, use the onload event, that guarantees that the entire document is ready.

As for the code above, it reminded me of Simon Willisons addLoadEvent, which I personally used for quite awhile, customized to my own needs, and learned from. Nice to see that despite all the flaming, some people still have the courage to write tutorials.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t really see what all the fuzz about sIFR is &#8230; the solutions currently offered, are for when the DOM is ready. WHEN THE DOM IS READY. If you require something for when the entire document is ready, use the onload event, that guarantees that the entire document is ready.</p>
<p>As for the code above, it reminded me of Simon Willisons addLoadEvent, which I personally used for quite awhile, customized to my own needs, and learned from. Nice to see that despite all the flaming, some people still have the courage to write tutorials.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Wubben</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257271</link>
		<dc:creator>Mark Wubben</dc:creator>
		<pubDate>Wed, 17 Oct 2007 06:40:06 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257271</guid>
		<description>@Anonymous, RE: sIFR: that&#039;s only true for Safari and Opera ;-)</description>
		<content:encoded><![CDATA[<p>@Anonymous, RE: sIFR: that&#8217;s only true for Safari and Opera ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Clay</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257265</link>
		<dc:creator>Steve Clay</dc:creator>
		<pubDate>Wed, 17 Oct 2007 02:45:23 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257265</guid>
		<description>jQuery&#039;s SVN code seems to have the latest magic in this area and it looks beautifully simple. Haven&#039;t tested it personally though.</description>
		<content:encoded><![CDATA[<p>jQuery&#8217;s SVN code seems to have the latest magic in this area and it looks beautifully simple. Haven&#8217;t tested it personally though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rey Bango</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257257</link>
		<dc:creator>Rey Bango</dc:creator>
		<pubDate>Wed, 17 Oct 2007 00:20:36 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257257</guid>
		<description>@Dustin, Andrea, &amp; Daniel: Instead of only presenting the negatives and/or sarcasm, it sure would be helpful if you offered alternatives and positive advice. The point of the tutorial series is to provide users, especially new ones, with helpful tips that will get them up to speed. If you know of better solutions, please feel free to post links, advice, etc. Better yet, write a tutorial and I&#039;ll be happy to post it.</description>
		<content:encoded><![CDATA[<p>@Dustin, Andrea, &amp; Daniel: Instead of only presenting the negatives and/or sarcasm, it sure would be helpful if you offered alternatives and positive advice. The point of the tutorial series is to provide users, especially new ones, with helpful tips that will get them up to speed. If you know of better solutions, please feel free to post links, advice, etc. Better yet, write a tutorial and I&#8217;ll be happy to post it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel PihlstrÃ¶m</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257248</link>
		<dc:creator>Daniel PihlstrÃ¶m</dc:creator>
		<pubDate>Tue, 16 Oct 2007 22:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257248</guid>
		<description>Yeah I have to say, this particular solution seems a bit dated.. Plus you have to make sure you know what you can and can&#039;t access on elements before all the rest has been loaded (runtime styles was mentioned).

But of course it&#039;s always good to mention that the alternatives are out there, for the people still stuck in the archaic age of window onload. :)</description>
		<content:encoded><![CDATA[<p>Yeah I have to say, this particular solution seems a bit dated.. Plus you have to make sure you know what you can and can&#8217;t access on elements before all the rest has been loaded (runtime styles was mentioned).</p>
<p>But of course it&#8217;s always good to mention that the alternatives are out there, for the people still stuck in the archaic age of window onload. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Giammarchi</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257247</link>
		<dc:creator>Andrea Giammarchi</dc:creator>
		<pubDate>Tue, 16 Oct 2007 21:50:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257247</guid>
		<description>&lt;blockquote&gt;how to register events so they donâ€™t conflict with other libraries or code snippets down the road&lt;/blockquote&gt;
... ehr, with 4 global variables and an old (not perfect) approach to DOMContentLoaded problem ? ... uhm, interesting! ... more than my last two emails to Ajaxian I suppose :P</description>
		<content:encoded><![CDATA[<blockquote><p>how to register events so they donâ€™t conflict with other libraries or code snippets down the road</p></blockquote>
<p>&#8230; ehr, with 4 global variables and an old (not perfect) approach to DOMContentLoaded problem ? &#8230; uhm, interesting! &#8230; more than my last two emails to Ajaxian I suppose :P</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin Diaz</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257241</link>
		<dc:creator>Dustin Diaz</dc:creator>
		<pubDate>Tue, 16 Oct 2007 19:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257241</guid>
		<description>Wait a minute, you mean this whole time it was that easy? Like, whoa.</description>
		<content:encoded><![CDATA[<p>Wait a minute, you mean this whole time it was that easy? Like, whoa.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257239</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 16 Oct 2007 18:55:54 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257239</guid>
		<description>Been there done that. This still isn&#039;t an all round solution, even sifr still relies on good old onload because the current onDOMReady solutions aren&#039;t reliable enough (in sifrs case because the runtime styles haven&#039;t been initialised yet). Still needs a lot of work, I think I&#039;m on to something though, might post something up later.</description>
		<content:encoded><![CDATA[<p>Been there done that. This still isn&#8217;t an all round solution, even sifr still relies on good old onload because the current onDOMReady solutions aren&#8217;t reliable enough (in sifrs case because the runtime styles haven&#8217;t been initialised yet). Still needs a lot of work, I think I&#8217;m on to something though, might post something up later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Hartmann</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257238</link>
		<dc:creator>Jon Hartmann</dc:creator>
		<pubDate>Tue, 16 Oct 2007 18:46:41 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257238</guid>
		<description>Awesome, thank you Rey!

I know that these tutorials are introductions to a concept, but when I look at stuff like this I begin to reflexively enclose the code and create lazy initializations and such... I do really like this topic though: detecting when the DOM is ready seems to be a hot issue, and methods to create detectors are tricky indeed.</description>
		<content:encoded><![CDATA[<p>Awesome, thank you Rey!</p>
<p>I know that these tutorials are introductions to a concept, but when I look at stuff like this I begin to reflexively enclose the code and create lazy initializations and such&#8230; I do really like this topic though: detecting when the DOM is ready seems to be a hot issue, and methods to create detectors are tricky indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Wubben</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257237</link>
		<dc:creator>Mark Wubben</dc:creator>
		<pubDate>Tue, 16 Oct 2007 18:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257237</guid>
		<description>The technique used for detecting DOM content loaded in IE is broken (hence the recent flurry of alternatives). It&#039;s possible that a DOM modifications causes the deferred script to execute before DOM load anyway.</description>
		<content:encoded><![CDATA[<p>The technique used for detecting DOM content loaded in IE is broken (hence the recent flurry of alternatives). It&#8217;s possible that a DOM modifications causes the deferred script to execute before DOM load anyway.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rey Bango</title>
		<link>http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready/comment-page-1#comment-257235</link>
		<dc:creator>Rey Bango</dc:creator>
		<pubDate>Tue, 16 Oct 2007 17:33:27 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2895#comment-257235</guid>
		<description>@Walter &amp; Jon: Better?</description>
		<content:encoded><![CDATA[<p>@Walter &amp; Jon: Better?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

