<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[PuterJam's Blog - Note]]></title>
<link>http://www.pjhome.net/</link>
<description><![CDATA[关注互联网~ 关注前端技术~]]></description>
<language>zh-cn</language>
<copyright><![CDATA[Copyright 2005 PBlog3 v2.8]]></copyright>
<webMaster><![CDATA[puterjam@gmail.com(puterjam)]]></webMaster>
<generator>PBlog2 v2.4</generator> 
<image>
	<title>PuterJam&#39;s Blog</title>
	<url>http://www.pjhome.net/images/logos.gif</url>
	<link>http://www.pjhome.net/</link>
	<description>PuterJam&#39;s Blog</description>
</image>

			<item>
			<link>http://www.pjhome.net/article/Note/qzfl_wallpaper.htm</link>
			<title><![CDATA[自己做的一张壁纸]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Sat,13 Jun 2009 02:25:51 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=999</guid>
		<description><![CDATA[<p style="text-align: center;"><img src="http://www.pjhome.net/download.asp?id=25" alt="" /></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><img width="550" height="807" alt="" src="http://www.pjhome.net/attachments/month_0906/20090613022841.jpg" /></p>
<p>&nbsp;</p>
<p>QZFL是团队自己开发的一个框架库。 做一张壁纸练练手，不过fireworks在处理模糊和大面积渐变的时候还真的比较吃力，效果还不好。 也只能怪自己没好好学PS了。</p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/safari_4_welcome.htm</link>
			<title><![CDATA[safari 4.0 欢迎动画的秘密]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Wed,25 Feb 2009 10:23:24 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=965</guid>
		<description><![CDATA[<p><a href="http://www.apple.com/safari/welcome/" target="_blank">http://www.apple.com/safari/welcome/</a></p>
<p>这个safari 4.0的欢迎动画, 页面虽小但是确是一个包含了很多新技术的展示页面.</p>
<p>我们来看看都用了那些新元素.</p>
<p>&nbsp;</p>
<p><strong>1.html 5.0 的视频和音频支持</strong></p>
<p><img width="480" height="35" src="http://www.pjhome.net/attachments/month_0902/p2009225102317.jpg" alt="Web Inspector &mdash; topsites___.jpg" /></p>
<p><img width="480" height="36" src="http://www.pjhome.net/attachments/month_0902/m2009225102321.jpg" alt="Web Inspector &mdash; topsites___-1.jpg" /></p>
<p><strong>2. css动画, 动画的构造师</strong></p>
<p><img width="368" height="392" src="http://www.pjhome.net/attachments/month_0902/d2009225102320.jpg" alt="Web Inspector &mdash; topsites___-2.jpg" /></p>
<p><span style="font-family: 'Lucida Grande'; font-size: 11px;"><a href="http://images.apple.com/safari/welcome/styles/safari.css" target="_blank">http://images.apple.com/safari/welcome/styles/safari.css</a></span></p>
<p><span style="font-family: 'Lucida Grande'; font-size: 11px;">通过这些新技术,给我们带来一小段很震撼的动画效果演示,</span></p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/Internet-Explorer-8-User-Agent.htm</link>
			<title><![CDATA[Internet Explorer 8 User-Agent]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Sat,10 Jan 2009 11:24:07 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=944</guid>
		<description><![CDATA[<p><img alt="" align="right" style="display: inline; margin-left: 0px; margin-right: 0px" src="http://ieblog.members.winisp.net/images/IE8Blog2.png" />ie8 增加了兼容模型，当我们选择不同的兼容模型后，ie8的userAgent(下简称UA)就会发生变化，UA里的 MSIE 版本号会有直接的变化。为了可以让开发更加容易判断浏览器类型。ie8在UA里增加了 <strong>Trident</strong> 的标示.</p>
<p>&nbsp;</p>
<p>先扫扫盲，<a target="_blank" href="http://en.wikipedia.org/wiki/Trident_(layout_engine)">Trident</a> 是什么？</p>
<p>大家都知道TT，Maxthon用的是IE内核，但是IE的渲染引擎是什么呢？ 和firefox，safari一样，浏览器是有自己的渲染引擎的，Trident 就是IE的渲染引擎，他是在IE4.0开始成型的。不过 Trident 这个名字没有Gecko/Webkit那么响亮，这个有点可惜。</p>
<p>更多 Trident 的信息: <a title="http://en.wikipedia.org/wiki/Trident_(layout_engine)" href="http://en.wikipedia.org/wiki/Trident_(layout_engine">http://en.wikipedia.org/wiki/Trident_(layout_engine)</a></p>
<p>&nbsp;</p>
<p>以下内容来自IETeam: <a title="http://blogs.msdn.com/ie/archive/2009/01/09/the-internet-explorer-8-user-agent-string-updated-edition.aspx" href="http://blogs.msdn.com/ie/archive/2009/01/09/the-internet-explorer-8-user-agent-string-updated-edition.aspx">http://blogs.msdn.com/ie/archive/2009/01/09/the-internet-explorer-8-user-agent-string-updated-edition.aspx</a></p>
<p>&nbsp;</p>
<p><strong>IE8 on Windows Vista (Compatibility View)</strong></p>
<blockquote>
<p>Mozilla/4.0 (compatible; <b><font color="#008000">MSIE 7.0</font></b>; Windows NT 6.0; <b><font color="#0000ff">Trident/4.0</font></b>)</p>
</blockquote>
<h4>IE8 on Windows Vista</h4>
<blockquote>
<p>Mozilla/4.0 (compatible; <b><font color="#008000">MSIE 8.0</font></b>; Windows NT 6.0; <b><font color="#0000ff">Trident/4.0</font></b>)</p>
</blockquote>
<p><b>IE8 on Windows 7</b></p>
<blockquote>
<p>Mozilla/4.0 (compatible; MSIE 8.0; <b><font color="#008000">Windows NT 6.1</font></b>; <font color="#0000ff"><strong>Trident/4.0</strong></font>)</p>
</blockquote>
<p><b>64-bit IE on 64-bit Windows:</b></p>
<blockquote>
<p>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; <strong><font color="#008000">Win64; x64</font>; <font color="#0000ff">Trident/4.0</font></strong>)</p>
</blockquote>
<p><b>32-bit IE on 64-bit Windows: </b></p>
<blockquote>
<p>Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; <strong><font color="#008000">WOW64</font>; <font color="#0000ff">Trident/4.0</font></strong>)</p>
</blockquote>
<p>&nbsp;</p>
<p>不过判断ie8，舜子比较喜欢用 <strong>var ie8 = !!window.XDomainRequest</strong>; :P</p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/CS193H-High-Performance-Web-Sites.htm</link>
			<title><![CDATA[CS193H: High Performance Web Sites]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Thu,08 Jan 2009 11:40:24 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=943</guid>
		<description><![CDATA[<p><img width="133" height="33" style="float: right;" alt="CS193H_ High Performance Web Sites - Mozilla Firefox.jpg" src="http://www.pjhome.net/attachments/month_0901/a20091811405.jpg" />Steve Souders牛人的性能优化的演讲PPT</p>
<p><a target="_blank" title="CS193H: High Performance Web Sites " href="http://cs193h.stevesouders.com/">http://cs193h.stevesouders.com/</a></p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/safarixPathbug.htm</link>
			<title><![CDATA[safari xPath的Bug]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Tue,30 Dec 2008 17:26:08 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=939</guid>
		<description><![CDATA[<p>空间在safari里经常时好时坏的，追查了问题的根源，发现是safari对xPath解释的时候有Bug.</p>
<p><img height="43" width="406" alt="Gcommon.js.jpg" src="http://www.pjhome.net/attachments/month_0812/l2008123017265.jpg" /></p>
<p>这段代码里，safari使用XPathEvaluator经常没事返回一个underfined.</p>
<p>不过这个问题在 webkit 已经得到修正了。</p>
<p>为了解决这个问题，改用了querySelector来修正，而且接口的使用也简单很多了.</p>
<p><br />
<img height="43" width="452" alt="Gcommon.js-1.jpg" src="http://www.pjhome.net/attachments/month_0812/d2008123017262.jpg" /></p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/938.htm</link>
			<title><![CDATA[浏览器测试也疯狂 on Mac]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Tue,30 Dec 2008 14:57:48 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=938</guid>
		<description><![CDATA[<p>之前发过<a style="" href="http://www.pjhome.net/article/932.htm"><span style="text-decoration: none;">浏览器派对~~</span></a>的文章，主要分享了一下win下的浏览器。有朋友问到mac系统有没有类似的测试，其实我们是有关注mac系统的，同时mac系统做开发和web测试比windows的体验好太多了。（和mac有血缘关系的Linux desktop除外，至今觉得这个系统还不是给人用的）</p>
<p><br />
<img height="322" width="480" alt="Desktop.jpg" src="http://www.pjhome.net/attachments/month_0812/920081230145726.jpg" /></p>
<p>目前mac上浏览器测试用到的一些浏览器，严格来说不是所有工具都是浏览器。其实LittleSnapper是一个截图工具，只是里面内嵌入了一个webkit, OmniWeb是一个速度很快的浏览器，雷区Minefield是firefox的测试版，Fluid是一个把web转换成应用程序的工具，也是内嵌webkit。 底下3个都是虚拟机提供但是个真实环境的ie三个版本。</p>
<p>mac系统上webkit内核运用广泛。好比windows下的ie控件。</p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/937.htm</link>
			<title><![CDATA[[简译]web开发的责任]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Tue,30 Dec 2008 11:00:22 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=937</guid>
		<description><![CDATA[<p><strong><br />
<img width="164" height="166" style="float: right;" alt="200812301055.jpg" src="http://www.pjhome.net/attachments/month_0812/a200812301101.jpg" /> </strong><a href="http://ejohn.org/about/" target="_blank"><span style="font-weight: normal;">John Resig</span></a><strong><span style="font-weight: normal;"> 在他的新文章指出，给浏览器做一个好的bug报告者也是web开发的一种责任</span></strong></p>
<p><a target="_blank" href="http://ejohn.org/blog/a-web-developers-responsibility/">http://ejohn.org/blog/a-web-developers-responsibility/</a><br />
&nbsp;</p>
<p>做为Web开发，我们都能发现浏览器的很多Bug，但是我们有没有给他们反馈这些bug？还是我们默默忍受，用一些极端的方式解决呢？</p>
<p>浏览器改进了，其实对开发对用户都是一举两得的。</p>
<blockquote>
<p>The solution to helping browsers is two-fold:</p>
<p>1) Every time you find a browser bug, <b>file a bug report</b> to the respective browser.</p>
<p>2) Actively test your sites in the <b>latest builds</b> of the major browsers.</p>
</blockquote>
<p><br />
帮助浏览器解决问题是一个一举两得的事情：1）当你找到一个浏览器的Bug，我们需要给个别浏览器提出Bug报告，2）积极地跟进和测试每一个Latest Builds 版本浏览器。</p>
<p>&nbsp;</p>
<p><span style="font-size: 16px;"><strong>如何提交一份好的Bug报告？</strong></span></p>
<p>没个浏览器都有提交Bug报告的地方地址如下：</p>
<ul>
    <li><a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Core">Mozilla/Firefox</a></li>
    <li><a href="https://bugs.webkit.org/enter_bug.cgi?product=WebKit">WebKit/Safari</a></li>
    <li><a href="https://connect.microsoft.com/IE/Feedback">Internet Explorer 8</a></li>
    <li><a href="http://code.google.com/p/chromium/issues/entry">Google Chrome</a> / <a href="http://code.google.com/p/v8/issues/entry">V8 JavaScript Engine</a></li>
    <li><a href="https://bugs.opera.com/wizard/">Opera</a></li>
</ul>
<p>1.发现问题后，我们就不要闷不作声，问题解决后也给相应的浏览器提交一份Bug报告</p>
<p>2.提交的报告需要<strong>分类</strong>的，例如：要明确是Dom的问题，还是渲染引擎，脚本引擎的问题</p>
<p>3.同时，我们还需要提供<strong>简洁明了的测试用例</strong>，没有测试用例开发不能很快得从你的讲述中明白Bug的原因</p>
<p>4.定期检查你的Bug有没有被修复</p>
<p>&nbsp;</p>
<p><span style="font-size: 16px;"><strong>如果提交的Bug报告被拒绝怎么办？</strong></span></p>
<p>通常有两种情况会拒绝：1）这不是一个Bug，2）这个Bug无法重现</p>
<p>如果拒绝后，你还坚持这是浏览器的Bug，我们可以选择辩论（通常以评论的方式进行）来和开发讨论这个Bug的原因</p>
<p>这里有些辩论的例子</p>
<p><a href="https://bugs.webkit.org/show_bug.cgi?id=17954">Canvas arc() with radius of 0 throws exception</a></p>
<p><a href="https://bugs.webkit.org/show_bug.cgi?id=17047">Out of Memory Error with .split(&quot;&quot;) due to large number of live objects</a></p>
<p><a href="http://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=388477">querySelectorAll NodeList Exception</a></p>
<p><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=418183">Implement .children</a></p>
<p>&nbsp;</p>
<p><span style="font-size: 16px;"><strong>获得最新版本的浏览器（Latest Nightly）</strong></span></p>
<p>测试你的Bug是否真正解决</p>
<p><a href="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/">Firefox Nightly Release</a></p>
<p><a href="http://nightly.webkit.org/">WebKit/Safari Nightly Release</a></p>
<p><a href="http://www.microsoft.com/windows/Internet-explorer/beta/default.aspx">IE 8 Betas</a>, <a href="https://connect.microsoft.com/IE/Downloads">IE 8 Weekly Builds</a> （需要微软的邀请才能获得）</p>
<p><a href="http://build.chromium.org/buildbot/snapshots/chromium-rel-xp/">Google Chrome Nightly Builds</a></p>
<p><a href="http://my.opera.com/desktopteam/blog/">Opera Desktop Team Blog</a></p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/932.htm</link>
			<title><![CDATA[浏览器派对~~]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Sun,21 Dec 2008 17:21:37 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=932</guid>
		<description><![CDATA[<p>为了进行浏览器兼容，我们需要关注每一个浏览器，甚至每一个浏览器的版本之间的差别, 以及不同操作系统下不同浏览器的差别。</p>  <p><a href="http://www.pjhome.net/attachments/liveImages/ca747d3355c0_F335/image.png"><img title="image" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="321" alt="image" src="http://www.pjhome.net/attachments/liveImages/ca747d3355c0_F335/image_thumb.png" width="463" border="0" /></a> </p>  <p>俺windows下的所有浏览器…</p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/875.htm</link>
			<title><![CDATA[增加RSD支持]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Sat,12 Jul 2008 13:41:52 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=875</guid>
		<description><![CDATA[<p>给xml-prc增加RSD支持，测试</p>  <p><a href="http://www.pjhome.net/attachments/month_0807/52008712134147.png"><img height="321" alt="image" src="http://www.pjhome.net/attachments/month_0807/k2008712134151.png" width="369" border="0" /></a> </p>  <p>（嘿嘿，通过RSD，live write 识别出提供程序了）</p>  <p>什么是RSD? Really Simple Discovery 是一个提供给xml-rpc client提供自动发现的接口。通过这个接口大家在使用离线日志工具，例如live writer或ScribeFire的时候就不需要再填写类型了。客户端能自动发现应该用那种类型的接口进行日志处理。</p>  <p>同时即将发布的PJBlog3还对xml-rpc修正了一些bug和增加了mt.getPostCategories 支持。</p>]]></description>
		</item>
		
			<item>
			<link>http://www.pjhome.net/article/Note/868.htm</link>
			<title><![CDATA[手机发表日记]]></title>
			<author>puterjam@gmail.com(puterjam)</author>
			<category><![CDATA[Note]]></category>
			<pubDate>Sat,05 Jul 2008 19:12:30 +0800</pubDate>
			<guid>http://www.pjhome.net/default.asp?id=868</guid>
		<description><![CDATA[测试手机发表日记哈]]></description>
		</item>
		
</channel>
</rss>
