<?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: Yahoo! 新版首页前端代码浅析</title>
	<atom:link href="http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/</link>
	<description>关注用户体验、前端开发，记录生活点滴、岁月足迹。</description>
	<lastBuildDate>Fri, 30 Jul 2010 02:05:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: ytzong</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-2974</link>
		<dc:creator>ytzong</dc:creator>
		<pubDate>Mon, 12 Oct 2009 01:41:53 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-2974</guid>
		<description>缺点的前两点也许是OOCSS的缘故吧
http://www.99css.com/search/label/oocss</description>
		<content:encoded><![CDATA[<p>缺点的前两点也许是OOCSS的缘故吧<br />
<a href="http://www.99css.com/search/label/oocss" rel="nofollow">http://www.99css.com/search/label/oocss</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Y.Jiajia</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-2103</link>
		<dc:creator>Y.Jiajia</dc:creator>
		<pubDate>Fri, 14 Aug 2009 06:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-2103</guid>
		<description>960仅仅是个参考，应当适当的变通才对。
国外的人以中文的复杂与细节之美所倾倒，中国的人则以英文韵律而羡慕。其实就是那句老话“老婆总是别人的好，孩子总是自己的好”。哈哈</description>
		<content:encoded><![CDATA[<p>960仅仅是个参考，应当适当的变通才对。<br />
国外的人以中文的复杂与细节之美所倾倒，中国的人则以英文韵律而羡慕。其实就是那句老话“老婆总是别人的好，孩子总是自己的好”。哈哈</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 1985</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-2040</link>
		<dc:creator>1985</dc:creator>
		<pubDate>Tue, 11 Aug 2009 04:26:10 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-2040</guid>
		<description>或许是因为我们中国人总是讲究对称美，所以体现在页面上，也是一样，讲究两边的对称性！</description>
		<content:encoded><![CDATA[<p>或许是因为我们中国人总是讲究对称美，所以体现在页面上，也是一样，讲究两边的对称性！</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: feng</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-2006</link>
		<dc:creator>feng</dc:creator>
		<pubDate>Sun, 09 Aug 2009 11:48:03 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-2006</guid>
		<description>中文就是垂直和水平都对齐的啊。不过很好奇，谁提出要求“水平对齐”？是那些不在第一线作战，高高在上的管理者？</description>
		<content:encoded><![CDATA[<p>中文就是垂直和水平都对齐的啊。不过很好奇，谁提出要求“水平对齐”？是那些不在第一线作战，高高在上的管理者？</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robben</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-1995</link>
		<dc:creator>robben</dc:creator>
		<pubDate>Sat, 08 Aug 2009 16:54:25 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-1995</guid>
		<description>@王鸿源:
“default-p_”字符串确实是又服务器端动态添加的,这种方式我曾经搞过,好处是当页面出现多个相同的模块,可以根据id添加不同样式及事件,模块都是一上来制定好的,功能及一些细节上的问题都是由模块管理工具来动态关联实现</description>
		<content:encoded><![CDATA[<p>@王鸿源:<br />
“default-p_”字符串确实是又服务器端动态添加的,这种方式我曾经搞过,好处是当页面出现多个相同的模块,可以根据id添加不同样式及事件,模块都是一上来制定好的,功能及一些细节上的问题都是由模块管理工具来动态关联实现</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 王鸿源</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-1965</link>
		<dc:creator>王鸿源</dc:creator>
		<pubDate>Thu, 06 Aug 2009 06:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-1965</guid>
		<description>@lifesinger ： 
我认为以“default-p_”字符串开头的id是从服务器端添加的。一是因为查看页面HTML源码的时候这些字符串是可见的，如果是js动态添加的源码上应该看不到，二是在id=&quot;y-subfooter&quot;的元素（这是版权模块）内，我觉得没有需要使用js的地方，但是出现了“default-p_*”，三，在页面上发现了一些以“yui_3_0_0b1”字符串开头的id，而且我觉得这些是js动态添加的，在源码上看不到。
同时，在id=&quot;y-pa&quot;这个元素内发现了以“default-u_”字符串开头的id。所以我觉得这些“乱七八糟的”id可能是和某种技术有关，用来增加网页的可访问性的。</description>
		<content:encoded><![CDATA[<p>@lifesinger ：<br />
我认为以“default-p_”字符串开头的id是从服务器端添加的。一是因为查看页面HTML源码的时候这些字符串是可见的，如果是js动态添加的源码上应该看不到，二是在id=&#8221;y-subfooter&#8221;的元素（这是版权模块）内，我觉得没有需要使用js的地方，但是出现了“default-p_*”，三，在页面上发现了一些以“yui_3_0_0b1”字符串开头的id，而且我觉得这些是js动态添加的，在源码上看不到。<br />
同时，在id=&#8221;y-pa&#8221;这个元素内发现了以“default-u_”字符串开头的id。所以我觉得这些“乱七八糟的”id可能是和某种技术有关，用来增加网页的可访问性的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lifesinger</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-1962</link>
		<dc:creator>lifesinger</dc:creator>
		<pubDate>Thu, 06 Aug 2009 04:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-1962</guid>
		<description>@王鸿源：分析得很仔细，赞。以“default-p_”字符串开头的id，我觉得是 js 的 hook, 通过 js 动态添加的。</description>
		<content:encoded><![CDATA[<p>@王鸿源：分析得很仔细，赞。以“default-p_”字符串开头的id，我觉得是 js 的 hook, 通过 js 动态添加的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 王鸿源</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-1961</link>
		<dc:creator>王鸿源</dc:creator>
		<pubDate>Thu, 06 Aug 2009 04:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-1961</guid>
		<description>补充1：补充下第一大点的第一小点。这一类选择器还用来布局。</description>
		<content:encoded><![CDATA[<p>补充1：补充下第一大点的第一小点。这一类选择器还用来布局。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 王鸿源</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-1959</link>
		<dc:creator>王鸿源</dc:creator>
		<pubDate>Thu, 06 Aug 2009 03:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-1959</guid>
		<description>2，不知道为什么yahoo！首页里每个具体的模块以及模块的bd(hd 、ft应该也会加，但是页面没看到过hd 、ft，为什么会看不到呢)都有一个从服务器端添加的以“default-p_”字符串打头的id。个人认为这是页面高度模块化的体现。可是，这个id有些什么作用呢？哪位可以来解答一下。
3，总结，单单从html和css代码来看，可维护性和可扩展性明显的比老版的增强的很多，明显地可以冲中感觉到Nicole Sullivan的Object Oriented CSS的思想。</description>
		<content:encoded><![CDATA[<p>2，不知道为什么yahoo！首页里每个具体的模块以及模块的bd(hd 、ft应该也会加，但是页面没看到过hd 、ft，为什么会看不到呢)都有一个从服务器端添加的以“default-p_”字符串打头的id。个人认为这是页面高度模块化的体现。可是，这个id有些什么作用呢？哪位可以来解答一下。<br />
3，总结，单单从html和css代码来看，可维护性和可扩展性明显的比老版的增强的很多，明显地可以冲中感觉到Nicole Sullivan的Object Oriented CSS的思想。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 王鸿源</title>
		<link>http://lifesinger.org/blog/2009/08/yahoo-fp-code-study/comment-page-1/#comment-1958</link>
		<dc:creator>王鸿源</dc:creator>
		<pubDate>Thu, 06 Aug 2009 03:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://lifesinger.org/blog/?p=2056#comment-1958</guid>
		<description>三，另外一种类选择器是和具体的模块相关的，象.mod、.view_default、.bd、 .type_masthead、 .type_masthead_default、.type_masthead_default .mh-wrap。其中view_default、type_masthead、 type_masthead_default这类class名称，我认为是一些钩子，它们上面并没有填加css规则，除了方便扩展模块没有别的意义。而.mod、.bd只是标识了模块的结构（应该还有象.hd、.ft这样的标识性的类名，页面中我还没发现），而.type_masthead_default .mh-wrap这类就是比较实在的了。模块的类名称都是以type开头的，而与模块相关的所有选择器都是以模块的类名开头的。</description>
		<content:encoded><![CDATA[<p>三，另外一种类选择器是和具体的模块相关的，象.mod、.view_default、.bd、 .type_masthead、 .type_masthead_default、.type_masthead_default .mh-wrap。其中view_default、type_masthead、 type_masthead_default这类class名称，我认为是一些钩子，它们上面并没有填加css规则，除了方便扩展模块没有别的意义。而.mod、.bd只是标识了模块的结构（应该还有象.hd、.ft这样的标识性的类名，页面中我还没发现），而.type_masthead_default .mh-wrap这类就是比较实在的了。模块的类名称都是以type开头的，而与模块相关的所有选择器都是以模块的类名开头的。</p>
]]></content:encoded>
	</item>
</channel>
</rss>
