<?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: Notes of Even Faster Web Sites</title>
	<atom:link href="http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/feed/" rel="self" type="application/rss+xml" />
	<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/</link>
	<description>47% users on this site use *nix</description>
	<lastBuildDate>Thu, 02 Feb 2012 02:14:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Sunng</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-216</link>
		<dc:creator>Sunng</dc:creator>
		<pubDate>Wed, 05 Aug 2009 11:47:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-216</guid>
		<description>@axel 嗯，你应该写一篇然后trackback过来～</description>
		<content:encoded><![CDATA[<p>@axel 嗯，你应该写一篇然后trackback过来～</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-215</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Mon, 03 Aug 2009 01:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-215</guid>
		<description>我现在觉得特性的简单性非常重要，如果一个特性可以节省10行代码，但是需要多研究10个小时，或者增加10%的出错概率，那还是不使用这样的特性为好</description>
		<content:encoded><![CDATA[<p>我现在觉得特性的简单性非常重要，如果一个特性可以节省10行代码，但是需要多研究10个小时，或者增加10%的出错概率，那还是不使用这样的特性为好</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-214</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Mon, 03 Aug 2009 00:22:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-214</guid>
		<description>用户操纵的如果只是控件级别的api，而不是各种各样的层，那么以后html5普及了，在库的内部替换为html5原生控件就可以了，否则就用flash组件来实现，这样的效率必然是最高的。
层还是用来做它最擅长的事-布局吧</description>
		<content:encoded><![CDATA[<p>用户操纵的如果只是控件级别的api，而不是各种各样的层，那么以后html5普及了，在库的内部替换为html5原生控件就可以了，否则就用flash组件来实现，这样的效率必然是最高的。<br />
层还是用来做它最擅长的事-布局吧</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-213</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Mon, 03 Aug 2009 00:19:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-213</guid>
		<description>我最新的想法是简化主义，尽可能避免任何hack，像ext那样深dom结构模拟web control或者jquery那样模拟的css selector都不是future promise的。我现在觉得理想的js封装方式是这样的：
1 在onreadystatechange中加载一个bootstrap.js。
2 在这个自启动脚本中判断浏览器类型，根据不同浏览器类型下载具体的代码。在编写js时，可以考虑用语言机制来自动生成，比如gwt那种，然后flash develop里支持的一个语言也可以按照要求编译成js，我现在记不清了
3 尽可能不要hack，不要模拟任何东西，客户端看到的应该是input type=&quot;button&quot;这样的封装好的控件，具体的控件实现可以考虑用flash实现，但调用时看到的只有js的接口
4 异步机制的确很重要，我觉得最好有个全局控制点，不然很难维护
5 dojo那种动态加载方式其实得不偿失，js的模块化不需要那么动态，最好事先分解好，然后压缩，具体的应用还是一次性下载完比较好</description>
		<content:encoded><![CDATA[<p>我最新的想法是简化主义，尽可能避免任何hack，像ext那样深dom结构模拟web control或者jquery那样模拟的css selector都不是future promise的。我现在觉得理想的js封装方式是这样的：<br />
1 在onreadystatechange中加载一个bootstrap.js。<br />
2 在这个自启动脚本中判断浏览器类型，根据不同浏览器类型下载具体的代码。在编写js时，可以考虑用语言机制来自动生成，比如gwt那种，然后flash develop里支持的一个语言也可以按照要求编译成js，我现在记不清了<br />
3 尽可能不要hack，不要模拟任何东西，客户端看到的应该是input type=&#8221;button&#8221;这样的封装好的控件，具体的控件实现可以考虑用flash实现，但调用时看到的只有js的接口<br />
4 异步机制的确很重要，我觉得最好有个全局控制点，不然很难维护<br />
5 dojo那种动态加载方式其实得不偿失，js的模块化不需要那么动态，最好事先分解好，然后压缩，具体的应用还是一次性下载完比较好</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunng</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-212</link>
		<dc:creator>Sunng</dc:creator>
		<pubDate>Sun, 02 Aug 2009 10:32:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-212</guid>
		<description>@小马 哦，对所有tag都一样～</description>
		<content:encoded><![CDATA[<p>@小马 哦，对所有tag都一样～</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 小马</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-211</link>
		<dc:creator>小马</dc:creator>
		<pubDate>Sun, 02 Aug 2009 10:26:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-211</guid>
		<description>是仅指 divi 这个标签？其它的呢，比如 h2.sele 如何</description>
		<content:encoded><![CDATA[<p>是仅指 divi 这个标签？其它的呢，比如 h2.sele 如何</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sunng</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-210</link>
		<dc:creator>Sunng</dc:creator>
		<pubDate>Sun, 02 Aug 2009 10:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-210</guid>
		<description>@小马 对，直接写就可以，尤其是id的那种情况，避免浏览器去找相应类型的元素</description>
		<content:encoded><![CDATA[<p>@小马 对，直接写就可以，尤其是id的那种情况，避免浏览器去找相应类型的元素</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 小马</title>
		<link>http://sunng.info/blog/2009/08/notes-of-even-faster-web-sites/#comment-209</link>
		<dc:creator>小马</dc:creator>
		<pubDate>Sun, 02 Aug 2009 10:16:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.classicning.com/blog/?p=137#comment-209</guid>
		<description>避免div#sele，避免div.sele
----------------
这句不明白是什么意思，避免这样写，难道写成 #sele &#124; .sele 之类的？</description>
		<content:encoded><![CDATA[<p>避免div#sele，避免div.sele<br />
&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
这句不明白是什么意思，避免这样写，难道写成 #sele | .sele 之类的？</p>
]]></content:encoded>
	</item>
</channel>
</rss>

