<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[H31Home RSS]]></title>
<link>http://h31home.com/rss/</link>
<description><![CDATA[In 2008,H31Home Will Do The Best!   创造机会的人是勇者；等待机会的人是愚者]]></description>
<language>zh-cn</language>
<copyright>Copyright 2006-2008 H31Home.com</copyright>
<webMaster><![CDATA[H31H31@163.com(H31Home)]]></webMaster>
<generator>H31Home Rss v2.0</generator> 
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28963</link>
<title><![CDATA[巧用etag实现304提高blog静态页面侧边栏]]></title>
<author>puterjam</author>
<category><![CDATA[Note]]></category>
<pubDate>2008-7-5 3:59:29</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28963</guid>
<description><![CDATA[ <p><img align="right" alt="" src="http://bbs.pjhome.net/images/phpwind/logo.gif" />PJBlog3静态化以来受到大家的关注，同时也得到了大家的不少bug返回和建议。目前大部分明显的bug已经修正了，其中分享一下 静态化后 侧边栏慢的解决呵呵。经过试验，目前的侧边栏已经得到很大的改观了。</p>
<p>其实侧边栏的优化思路很简单，首先，静态页面里的侧边栏并不是全静态的，它能够实现一些简单的动态效果，例如登录框的表现，评论，访问数量等等。如果侧边栏每次都去访问服务器这样的速度肯定在，高速的静态页面下表现很慢。 最好的解决办法能够让浏览器知道如何才去获取到新的数据。</p>
<p>我们了解HTTP协议知道，304 是浏览器向服务器咨询内容是否有更新用的。朝这个方向去考虑，我打算让侧边栏实现304效果，只有服务器有更新才获取数据，没有更新让浏览器总是到本地的缓存去获取数据，以达到速度的提升。</p>
<p>看看我们的ASP是如何实现304的</p>
<div class="codeText">
<div class="codeHead">ASP/Visual Basic代码</div>
<ol class="dp-vb">
    <li class="alt"><span><span>&lt;% &nbsp;&nbsp;</span></span></li>
    <li><span>&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="keyword">Dim</span><span>&nbsp;id,&nbsp;tKey,&nbsp;clientEtag,&nbsp;serverEtag &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;id&nbsp;=&nbsp;0 &nbsp;&nbsp;</span></li>
    <li><span>&nbsp;&nbsp;&nbsp;&nbsp;serverEtag&nbsp;=&nbsp;getEtag &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;clientEtag&nbsp;=&nbsp;Request.ServerVariables(</span><span class="string">&quot;HTTP_IF_NONE_MATCH&quot;</span><span>) &nbsp;&nbsp;</span></li>
    <li><span>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;</span></li>
    <li><span>&nbsp;&nbsp;&nbsp;&nbsp;Response.AddHeader&nbsp;</span><span class="string">&quot;ETag&quot;</span><span>,&nbsp;getEtag &nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;Response.ContentType&nbsp;=&nbsp;</span><span class="string">&quot;application/x-javascript&quot;</span><span>&nbsp; &nbsp;&nbsp;</span></li>
    <li><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;serverEtag&nbsp;=&nbsp;clientEtag&nbsp;then &nbsp;&nbsp;</span></li>
    <li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Response.Status&nbsp;=&nbsp;</span><span class="string">&quot;304&nbsp;Not&nbsp;Modified&quot;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;else &nbsp;&nbsp;</span></li>
    <li><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Server.Transfer&nbsp;</span><span class="string">&quot;static_js_mod.asp&quot;</span><span>&nbsp;&nbsp;</span></li>
    <li class="alt"><span>&nbsp;&nbsp;&nbsp;&nbsp;end&nbsp;if &nbsp;&nbsp;</span></li>
    <li><span>%&gt;&nbsp;&nbsp;</span></li>
</ol>
</div>
<p>服务端获取到客户端的etag后，和服务器的etag进行对比。如果相等说明客户端有本地缓存，于是返回304给客户端，否则加载侧边栏的数据。当然这个判断的消耗是非常低的，我们甚至不用访问服务器，只要访问服务器里的一个缓存的etag即可</p> ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28948</link>
<title><![CDATA[【原创、开源】续与纠正：几个 JavaScript “类”(Calendar、Ajax、PPLive、Text、ToolTip、Xml 等)]]></title>
<author>陛下</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 20:01:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28948</guid>
<description><![CDATA[ 摘要:  上篇文章得到了几位兄台的鼓励，也得到不少朋友的关注；考虑到这些和程序员的“职业道德”，我便以最快的速度把源码中的重大错误在这里进行纠正，并向关心、下载了的朋友表达&nbsp;&nbsp;阅读全文<img src ="http://howard-queen.cnblogs.com/aggbug/1235920.html?type=1" width = "1" height = "1" /><br><br>[新闻]《福布斯》:暴雪的新一波完美风暴已经到来 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28949</link>
<title><![CDATA[ASP.NET中进行消息处理(MSMQ) 三]]></title>
<author>Bēniaǒ</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 19:43:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28949</guid>
<description><![CDATA[ 摘要: 在PetShop 4.0中，利用消息队列临时存放要插入的数据，来避免因为频繁访问数据库的操作。而队列中的消息，则等待系统的专用的应用程序来处理，最后将数据插入到数据库中。&nbsp;&nbsp;阅读全文<img src ="http://beniao.cnblogs.com/aggbug/1234352.html?type=1" width = "1" height = "1" /><br><br>[新闻]中国互联网公司在哪儿 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28950</link>
<title><![CDATA[Timus 1013. K-based numbers. Version 3]]></title>
<author>银河</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 19:22:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28950</guid>
<description><![CDATA[ 摘要: Timus 1013. K-based numbers. Version 3 要求计算出不包括相邻的零的 N 位 K-进制数共有多少个。&nbsp;&nbsp;阅读全文<img src ="http://skyivben.cnblogs.com/aggbug/1235062.html?type=1" width = "1" height = "1" /><br><br>[新闻]微软:Silverlight内容也可被搜索引擎检索 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28951</link>
<title><![CDATA[用Grid和GridSplitter布局和分割WPF窗口]]></title>
<author>He,YuanHui - khler</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 18:06:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28951</guid>
<description><![CDATA[ 摘要:     在C++/MFC中一般都有比较成熟的主窗口分割策略，但对于当前使用人数不多的新技术——WPF，很多技术还需要更多人加入其中，讨论一些比较实际的应用，主窗口分割就是其中比较常见的问题。本文将对此进行应用方面的探讨，并附带给出源码和截图，方便大家学习和研究。&nbsp;&nbsp;阅读全文<img src ="http://khler.cnblogs.com/aggbug/1235619.html?type=1" width = "1" height = "1" /><br><br>[新闻]内置AI技术 三星聪明微波炉还能上网 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28952</link>
<title><![CDATA[IE7的web标准之道——9：（修正）疯了的边框线]]></title>
<author>阿一</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 15:35:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28952</guid>
<description><![CDATA[ 摘要: <div style="float:right;text-align:center;font-size:9pt;color:teal;border:1px dotted teal;width:115px"><img src="/images/cnblogs_com/justinyoung/2008_1q/ie7road.png" /><br/>IE7的web标准之道</div>
<br><p>IE历来被web标准的拥护者所诟病，而当FireFox横空出世以后，更多的网页制作者开始关注web标准设计。看着FireFox的市场占有率不停的上升，微软终于推出了IE7。但IE7是否真的能够力挽狂澜，是否真的能够得到用户的信任，是否真的能够得到网页设计者的认可呢？</p><p>且看《IE7的web标准之道》系列文章，和你一起见证IE7的改变！</p>&nbsp;&nbsp;阅读全文<img src ="http://JustinYoung.cnblogs.com/aggbug/1235707.html?type=1" width = "1" height = "1" /><br><br>[新闻]史玉柱称花掉8亿美元不容易 坚持谨慎投资原则 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28953</link>
<title><![CDATA[OOAD和SOA的一些个人体会]]></title>
<author>在现实和理想之间行走</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 15:32:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28953</guid>
<description><![CDATA[ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SOA作为整合历史的系统，和现有的各个分立的系统有先天的优势，但SOA作为一个革命性的新软件开发方法论的面目出现，更深层次的原因在于它对于复杂性的处理方式有别于以前的方法论。<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我们可以简单的将开发的复杂性归结为对各个领域对象的状态的控制上，意思就是如果在任何时刻系统的领域对象的所有状态是明确可知的，那么就可以说这个系统是可控的。<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 可以推断出随着业务领域的复杂程度提高，领域对象会不断增长，这个问题还不是很大，线性增长，毕竟还是可控的，但是考察整个业务领域的状态来看，其复杂度是和领域对象个数成指数增加的。<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在简单的业务范围，领域对象少，那么用结构化的方式也可以应付的，通过自顶向下的方式，将系统分解为模块和函数来控制系统。这个方法的弊端我想大家都很清楚了，就不赘述了。到底领域对象增长到多少这种方法就无法应付呢。这个没有具体统计，只是看到用这个方法论来指导的开发在实践中不断的失败。<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这时候OOAD的方法论出来了，通过封装，继承，和多态的手段，各种设计模式如雨后春笋一样，可管理的领域对象数量得以大大增加，成功的案例不断增多，但是通过统计，我们还是不断的听到有一些大型的项目的投资失败了。<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 原因是什么呢，关键是对这个复杂性的处理，目前有两种手段，一个是加强对复杂性的管理水平，尽量穷尽各种手段来分解并管理复杂性。一种方法是减少复杂性。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OOAD方式是前一种，而SOA则是后一种。也许大家很奇怪，业务领域本来就是这么复杂，怎么减少他的复杂性呢？答案是分区，当你将业务领域分开为多个完全独立的区域的时候，复杂性就不是指数增加，而是变成线性增加的方式了，SOA通过提供软件自治概念，松耦合，无状态的Web服务，将各个部分变成完全独立的地址透明的服务，原来看来非常复杂的业务领域就突然变的不那么复杂了。至少复杂度不再指数增加了。<br />
<br />
也许大家可能说什么自治，松耦合，无状态这些概念在OOAD里面也有啊，我也会将系统水平和垂直划分为很多个子系统和层啊，这个我相信，好的架构师会做到的，但是就整体来看，子系统并没有脱离系统，和系统在逻辑上和硬件上的耦合还是很多。<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;说了这么多，大家都是对OOAD是不是很失落呢，毕竟大家都是从OOAD走过来的，是不是要放弃OO思想呢，这个我想不是的，在一个相对可控的领域，用OOAD的方式可以很好工作，范围大了后，可以考虑在这个系统上提供出Web服务来也是可以的。当然想完整实现SOA的话，必须用整套方法论，以前结构化编程的自顶向下的思想又重新回来了，所以说没有什么是绝对的，要考虑上下文环境。<br />
&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 时间仓促，写的很粗糙。 欢迎大家和我交流 dfchengcn@yahoo.com.cn.
<img src ="http://dfchengcn.cnblogs.com/aggbug/1235702.html?type=1" width = "1" height = "1" /><br><br>[新闻]微软七月安全公告预告:四个重要等级更新 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28954</link>
<title><![CDATA[Apache2.2下运行asp.net2.0(win32)]]></title>
<author>xin478</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 15:04:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28954</guid>
<description><![CDATA[ <img alt="" src="http://www.cnblogs.com/images/cnblogs_com/xin478/123121.gif" width="770" height="860" /><br />
<br />
得益于mod_aspdotnet.so，这个支持apache2.2的不好找，附上http://www.cnblogs.com/Files/xin478/mod_aspdotnet-2.2.0.2006-setup-r2.rar<br />
有个支持apache2.0的，到处上，可以上网找。<br />
安装后，打开httpd.conf,尾部添加<br />
LoadModule aspdotnet_module "modules/mod_aspdotnet.so"<br />
<br />
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo <br />
<br />
&lt;IfModule mod_aspdotnet.cpp&gt;<br />
&nbsp;&nbsp;&nbsp; # Mount the ASP.NET example application<br />
&nbsp;&nbsp;&nbsp; AspNetMount <span style="color: rgb(0, 16, 255);">/wwwroot</span> "<span style="color: red;">f:/wwwroot</span>"<br />
&nbsp;&nbsp;&nbsp; # Map all requests for /active to the application files<br />
&nbsp;&nbsp;&nbsp; Alias <span style="color: rgb(0, 16, 255);">/wwwroot</span> "<span style="color: red;">f:/wwwroot</span>"<br />
&nbsp;&nbsp;&nbsp; # Allow asp.net scripts to be executed in the active example<br />
&nbsp;&nbsp;&nbsp; &lt;Directory "<span style="color: red;">f:/wwwroot</span>"&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Options FollowSymlinks ExecCGI<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Order allow,deny<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Allow from all<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; DirectoryIndex index.aspx<br />
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br />
&nbsp;&nbsp;&nbsp; # For all virtual ASP.NET webs, we need the aspnet_client files<br />
&nbsp;&nbsp;&nbsp; # to serve the client-side helper scripts.<br />
&nbsp;&nbsp;&nbsp; AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) \"C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"<br />
&nbsp;&nbsp;&nbsp; &lt;Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles"&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Options FollowSymlinks<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Order allow,deny<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Allow from all<br />
&nbsp;&nbsp;&nbsp; &lt;/Directory&gt;<br />
&lt;/IfModule&gt;<br />
<br />
其中，<span style="color: red;">f:/wwwroot </span>是你机子上网站的根目录，<span style="color: rgb(0, 16, 255);">/wwwroot</span>是通过Apache来访问的路径。<br />
运行下测试，<br />
在IIS5.1下，<br />
2000万次整数运算性能&nbsp;&nbsp;&nbsp; &nbsp; 62.5 毫秒<br />
2000万次浮点运算性能&nbsp;&nbsp;&nbsp; &nbsp; 140.625 毫秒<br />
<br />
apache2.2下<br />
2000万次整数运算性能&nbsp;&nbsp;&nbsp; &nbsp; 62.5 毫秒<br />
2000万次浮点运算性能&nbsp;&nbsp;&nbsp; &nbsp; 140.625 毫秒<br />
<br />
时间一样，据解释是由于IIS和Apache下的ASP.NET都是运行在Common Language Runtime(CLR)的基础上，因此Apache环境下的ASP.NET程序的运行速度不会比在IIS下慢。<br />
<br />
<br />
<br />
<img src ="http://xin478.cnblogs.com/aggbug/1235676.html?type=1" width = "1" height = "1" /><br><br>[新闻]雅虎:一颗棋子的起落 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28947</link>
<title><![CDATA[聊聊云计算(1):什么是云计算]]></title>
<author>...</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 13:56:17</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28947</guid>
<description><![CDATA[ <p>IT界是一个特别适合“创新”的地方，尤其是各种各样的术语。各大厂商为了自己的利益，不断的推出一些新的术语，而媒体们也在不断的站队，跟着一些忽悠，搞得我们这些IT界的前线战士们一阵一阵得晕。刚刚有了B/S、C/S、SaaS、SOA、Mash Up以及S+S，现在又出来了云计算。</p>  <p>什么叫云计算？根据维基百科当中的定义（基于某种原因，可能无法访问维基百科）：<b>云计算</b>（<b>cloud computing</b>，分布式计算技术的一种，其最基本的概念，是透过网络将庞大的计算处理程序自动分拆成无数个较小的子程序，再交由多部服务器所组成的庞大系统经搜寻、计算分析之后将处理结果回传给用户。透过这项技术，网络服务提供者可以在数秒之内，达成处理数以千万计甚至亿计的信息，达到和“超级计算机”同样强大效能的网络服务。</p>  <p>很深奥的概念，相信很多朋友可能和开心一样，有些云里雾里，真的掉到云里面去了。而且在下面的云计算示例一节当中，又给出了两个简单的云计算案例，即搜索引擎以及网络邮箱。俺就有一些搞不明白了，按照这种示例，<strong>所谓的云计算，与B/S以及C/S架构到底有什么不同呢？</strong>如果再看看各大媒体举的例子，把一些在线文档编辑器也称之为云计算，那么云计算与SaaS又有什么区别呢？这不就是经典的新瓶装旧酒吗？</p>  <p>其实，云计算的先驱真的不是Google（谷歌）或者微软，而是亚马逊（Amazon）。让我们来看一下所谓的B/S以及C/S架构，如果从分层上来看，其实都是Client to Server的层次（只不过B/S中把C换成了Browser而已）。而无论在Client端还是Server端，都适用于经典的软件销售，在Client端，我们有Office、Windows Vista、Firefxo，而在Server端，则有SQL Server、Oracle、Apache。这些软件都适用于software license的销售模式（软件收费或者支持服务收费）。</p>  <p>而亚马逊的EC2则更改了Server端的software license模式，其最主要的含义是将软件的功能以服务的方式提供出来，然后根据类似于SLA（Service Level Agreement）的方式为其客户提供相应的服务。比如EC2当中的Simple DB，就是一个网络存储服务，类似于SQL Server/Oracle等等，你在开发的时候，不需要安装经典的数据库应用程序在服务器上，根本不用在意我的数据到底存在“哪块云里面”，而且开发的时候还可以使用原来的SQL语句进行CRUD（不知道CRUD是什么意思？赶快做一下功课去吧），任何时间，任何地点，任何设备都可以进行访问。听上去很美吧？</p>  <p>所以<strong>云计算其实就是C/S的一个扩展版本，简单可以描述为C to S to S (C/S/S)</strong>，<strong>实质就是一个更新版本的SaaS，服务器端的Software As A Service</strong>。大小S之间进行计算以及数据的传输，最终把结果输给C，让C来展示就可以了。而云计算指的其实就是S to S这一端，所以<strong>与最终用户根本无关</strong>，甚至最终用户根本感觉不到这种改动，所改动的其实就是开发商如何<strong><em>采购</em></strong>其服务而已（是购买软件还是租用服务）。所以俺开心个人认为，传统的搜索引擎以及网络邮箱，或者在线文档编辑器(Google Docs)还称不上什么云计算（当然，你硬说里面也有S to S之类的云端交流，俺也不没有什么理由来说服你）。</p>  <p>ASP(Application Service Provider)其实也是云计算的一个先驱，但它是把应用构建在云端，而不是把服务构建在云端，所以造成了其上的二次开发商非常稀少，而没有建立起完整的生态链系统，最终进入到失败。而云计算由于只是把服务器端的Software更改为Service方式应用（云上的API），所以可以召募很多的二次开发商，从而快速得构建起完整的生态链。相当于IT界的一次洗牌过程，抓住了云也就抓住了未来，对于传统软件厂商来说，其危害要比Open source有过之而无不及。整个生态链可以基本上划分为云间服务提供商（相当于原来的服务器端的软件厂商：微软、甲骨文、IBM等）、应用开发商（基于服务构建应用的厂商，SI或者ISV等）以及最终用户等。</p>  <p>但云计算也不会一帆风顺，肯定会有乌云时期，有兴趣的话，可以去了解一下Amazon的EC2的业绩。我们可以先抛开欧美日印市场，从国内的IT环境来看，无论是从政策、技术或者信用等来说，目前还极度不成熟。非死不可（Facebook）本周在国内的突然病亡会在很长一段时期让大家对于云计算充满怀疑（谁又能够预料哪一天App Engine突然发动不起来了？），现有的云计算的开发模式对于重视技术迁移成本的开发商也处于观望状态。</p>  <p>所以云计算虽然看上去很美，但实际上要走得路还是很长。</p>  <p>在接下来的话题当中，开心还想聊聊云端的梦（从最终用户角度会感觉到的优势）、吞云吐雾的幻术（从开发者角度选择最好的云计算平台）等话题，欢迎大家交流。</p><img src="http://blog.joycode.com/joy/aggbug/115163.aspx" width="1" height="1" /> ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28955</link>
<title><![CDATA[也实现一个首页图片幻灯效果]]></title>
<author>BAsil</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 13:16:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28955</guid>
<description><![CDATA[ 摘要: <p><img src="http://www.cnblogs.com/images/cnblogs_com/basilwang/k1.jpg" align="right"/>前几天，在园子里看了一个图片幻灯效果，很不错，不过今天想找却找不到了。这两天想把网站的图片幻灯效果给换了，原来的虽然做成了web控件，不过控件里硬编码了javascript和css，甚至还有document.write这样的输出，感觉很是不爽。偶然发现了一篇翻译文章如何使用 JavaScript 创建可维护的幻灯片效果，感觉原作者在构建可分离的javascript和css上颇有心得,不过这里和我想要的效果还有些差异，参照大部分国内网站的实现方式，应该能够实现定时的播放，同时在右下角还应该有一个序列号的指示，就像新浪网的首页那样，既然作者帮我们作了大部分的分离工作，剩下的这部分自己实现，也十分简单。</p>&nbsp;&nbsp;阅读全文<img src ="http://basilwang.cnblogs.com/aggbug/1235542.html?type=1" width = "1" height = "1" /><br><br>[新闻]Google音乐搜索即将上线 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28956</link>
<title><![CDATA[Windows Embedded Standard开发初体验（三）]]></title>
<author>马宁</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 11:23:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28956</guid>
<description><![CDATA[ &nbsp;
<h2><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Cambria; mso-hansi-font-family: Cambria; mso-fareast-theme-font: major-fareast; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">开始创建</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Cambria; mso-hansi-font-family: Cambria; mso-fareast-theme-font: major-fareast; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">的组件</span></h2>
<p class="MsoNormal" style="text-indent: 21pt"><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">在嵌入式领域发挥的作用绝对不仅仅只有增加</span><span lang="EN-US">Web</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的用户体验而已。很多嵌入式设备需要丰富多彩的用户交互界面，比如</span><span lang="EN-US">ATM</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">、自动售货机、自助查询终端、老虎机（喔）&#8230;&#8230;</span><span lang="EN-US">Windows Embedded Standard</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的主要应用领域恰好在这几个方面，所以</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">对于来说</span><span lang="EN-US">Windows Embedded Standard</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">来说是如虎添翼。可能有朋友也会说，我们使用其他技术也可以实现与</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">类似的界面，这个肯定是没错。但是考虑到与后台数据库或</span><span lang="EN-US">Web Service</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的交互、部署成本、维护成本等问题，我相信</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">肯定会成为开发者今后开发中的首选。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">好了，先不说那么多，我们下一步要做的是将</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">变成</span><span lang="EN-US">WES</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的主界面，</span><span lang="EN-US">WES</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">启动之后直接进入到</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的应用之中。我们知道</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">是</span><span lang="EN-US">Host</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">到</span><span lang="EN-US">IE</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">等浏览器中运行的，在</span><span lang="EN-US">WES</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">中也是这样，而</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的部署有两种方式：第一种是将</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">文件部署到</span><span lang="EN-US">WES</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的</span><span lang="EN-US">Image</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">中，随</span><span lang="EN-US">Image</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">一起发布；另一种是让浏览器启动后访问</span><span lang="EN-US">Internet</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">上的某个</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">站点。这两种方法有各自的应用场景，我们在这里不做过多分析。在这里，我们挑选比较难得一种：将</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">文件与</span><span lang="EN-US">WES</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的</span><span lang="EN-US">Image</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">一起发布。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">第一步，我们要创建一个组件：这个组件应该是一个</span><span lang="EN-US">Shell</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">组件，在系统启动后不进入我们传统意义上的&#8220;桌面&#8221;，而是直接启动这个组件中指定的应用程序。而且组件中还应该包括一些</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">相关的文件、一些注册表项，还有一些高级设置。稍后我们会看得到。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">我们还是先打开我们创建组件的工具：</span><span lang="EN-US">Component Designer</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">。</span><span lang="EN-US">Windows Embedded Standard</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">没有一个完整的</span><span lang="EN-US">IDE</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">环境，所以做什么事情的时候要分别打开不同的工具。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span lang="EN-US">Component Designer</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的界面如下，我们要先选择</span><span lang="EN-US">File-New</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">创建一个新的组件，然后保存这个组件，并为</span><span lang="EN-US">sld</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">文件设置一个文件名称。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">接下来，我们要创建一个</span><span lang="EN-US">Repositories</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，这个相当于给组件住的房子。组件是保存在数据库中的，而</span><span lang="EN-US">Repositories</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">在数据库中可以起到隔离组件的作用，而且也比较方便我们维护和升级组件。</span></p>
<span lang="EN-US" style="mso-no-proof: yes"><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype>
<p align="center"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/CreateComp1.jpg" border="0" /></p>
</span>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">我们右键点击上图中</span><span lang="EN-US">Repositories</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">节点，选择&#8220;</span><strong style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-family: Arial">Add Repository</span></strong><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">&#8221;来创建一个新的</span><span lang="EN-US">Repositories</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">。首先为</span><span lang="EN-US">Repositories</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">起个名字，写在右侧属性窗口的</span><span lang="EN-US">Name</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">中，然后还要点击</span><span lang="EN-US">Source Path</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">后边的</span><span lang="EN-US">Browse</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">按钮。</span><span lang="EN-US">Source Path</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">顾名思义，我们要为该</span><span lang="EN-US">Repositories</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的源文件找一个保存的位置，而我们一般也会把组件所需的文件都放到这个文件夹下。这个文件夹一般没有规定，但是最好放到</span><span lang="EN-US">C</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">盘下，自己创建个文件夹就可以了。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">接下来，我们就该添加组件了，在上图的</span><span lang="EN-US">Components</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">节点上右键单击，在右键菜单上选择&#8220;</span><strong style="mso-bidi-font-weight: normal"><span lang="EN-US">Add Component</span></strong><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">&#8221;。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">创建组件之后，第一件事是在右侧的属性窗口中修改名字。</span></p>
<span lang="EN-US" style="mso-no-proof: yes">
<p align="center"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/CreateComp7.jpg" border="0" /></p>
</span>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">因为我们创建的这个组件是一个</span><span lang="EN-US">Shell</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">组件，所以我们还要规定它在组件库中的原型组件，点击</span><span lang="EN-US">Prototype</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">后边的</span><span lang="EN-US">Browse</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">按钮。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">我们会看到下图的对话框，初始化可能会花费一些时间。选择</span><span lang="EN-US">Software | System | User Interface | Shells</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">下的</span><span lang="EN-US">Shell Prototype Component</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">组件，作为我们组件的原型组件。</span></p>
<p class="MsoNormal" style="text-indent: 21pt; text-align: center" align="center"><span lang="EN-US" style="mso-no-proof: yes"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/comp1.jpg" border="0" /></span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">接下来还需要点击</span><span lang="EN-US">Advanced</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">按钮，定义启动时的自定义动作：</span></p>
<p class="MsoNormal" style="text-align: center" align="center"><span lang="EN-US" style="mso-no-proof: yes"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/CreateComp2.jpg" border="0" /></span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">在上面的对话框中，点击</span><span lang="EN-US">Add</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">按钮添加一个叫做&#8220;</span><span lang="EN-US">cmiShellPath</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">&#8221;的扩展属性，类型为</span><span lang="EN-US">String</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，具体指为：</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span lang="EN-US">%16426%\Internet Explorer\iexplore.exe -k "C:\SilverlightApplication2\Default.html"</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">怎么样看着眼熟吧，没错就是启动一个</span><span lang="EN-US">IE</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">浏览器的实例，</span><span lang="EN-US">-k</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">表示全屏显示，而后边的文件路径不是一成不变的，要根据你将这个</span><span lang="EN-US">HTML</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">文件放到哪里而决定。如果是在线的网站其实更简单一些，直接写网址就好了。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">然后为组件指定</span><span lang="EN-US">Repositories</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，点击&#8220;</span><strong style="mso-bidi-font-weight: normal"><span lang="EN-US" style="mso-bidi-font-family: Arial">Repositories&#8230;</span></strong><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">&#8221;按钮，会弹出下面的对话框。好了，直接选择咱们前边创建的，就可以了。</span></p>
<p class="MsoNormal" style="text-indent: 21pt; text-align: center" align="center"><span lang="EN-US" style="mso-no-proof: yes"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/comp5.jpg" border="0" /></span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">然后到了非常重要的一步，添加文件。这个问题也曾经困扰了我很久，我们明天再说。<br />
<br />
&nbsp;&nbsp;&nbsp;&nbsp;更多关于Windows Embedded开发文件，请参考：<font face="Verdana"><font face="Verdana">http://we.cnblogs.com/</font><br />
</font></span></p>
<img src ="http://aawolf.cnblogs.com/aggbug/1235393.html?type=1" width = "1" height = "1" /><br><br>[新闻]哪一个 Linux 发行版最流行? ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28957</link>
<title><![CDATA[软件开发中，不要把重点放在“雕琢”上]]></title>
<author>alisx</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 10:41:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28957</guid>
<description><![CDATA[ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 软件设计者，尤其是软件界面的设计者往往缺乏一种全局观，在设计时往往将精力和时间放在一些细节上面，像雕刻艺术家一样对很细小的地方精雕细琢，而实际上，将软件拿给用户时，用户并不是每个细节都很关注，比如说看看界面上的按钮大小是不是一致，线条是不是排列整齐等等，他们只会大致的观察，他们看重的是软件的功能，表达的内容和可用性，而对那些细小的部分视而不见，如果将主要的精力和时间花在雕琢软件特别是界面上是不可取的，那样做往往是浪费时间，因为在软件的开发中还有更重要的事情等着要做。我并不是说软件界面不重要，相反软件界面是用户体验的重头戏，我说的是没有必要特别的去雕刻软件，要有一种全局观，只要界面的细节部分不影响界面的整体风格，不是那么碍眼，不是那么难看就可以，因为没有太多的时间让我们去做一件艺术品。&nbsp; <br />
&nbsp;&nbsp;&nbsp;&nbsp; 愚人拙见，希望您来评点，谢谢！ 
<img src ="http://alisx.cnblogs.com/aggbug/1235332.html?type=1" width = "1" height = "1" /><br><br>[新闻]Sandcastle项目全部开源 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28958</link>
<title><![CDATA[关于阿里巴巴的产品关键字竞价排名系统的探究]]></title>
<author>午夜香吻</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 9:13:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28958</guid>
<description><![CDATA[ 产品关键字竞价排名,是阿里巴巴主要的收入来源之一,我们在做投标(反竞价)系统,产品,公司排名等系统中,都可以拿来一用.废话少说,直切正题:<br />
首先来分析需求:<br />
直接看这里<br />
<font face="Verdana">http://athena.china.alibaba.com/keyword/bidding_page.htm?Bidding=daohang<br />
</font>分析数据库设计<br />
<br />
1.首先要有一个竞价的<span style="color: red">公司表</span>,设计如下<br />
companyid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; companyname<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 深圳九九归一公司<br />
2.其次要有一个<span style="color: red">关键词表</span>(关键词id,关键词名称,起拍价,竞价次数,目前最高价)<br />
<font face="Verdana">KeyID&nbsp;KeyName&nbsp;KeyPrice&nbsp;KeyCount&nbsp; MaxPrice<br />
<br />
3.最好有一个<span style="color: red">竞价时间表</span>(id,年,月,竞价开始时间,竞价结束时间)<br />
<font face="Verdana">TimeID &nbsp;NowYear &nbsp;NowMonth&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MinTime&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; MaxTime<br />
1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2008&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2008-7-1 10:10:00&nbsp;&nbsp;&nbsp; &nbsp;2008-7-11 17:10:00<br />
&nbsp;&nbsp;&nbsp;&nbsp;</font><br />
<br />
3.再就是有一个关键词-公司的映射表,也即是<span style="color: red">竞价详细表</span>(ID,公司ID,竞价期数,关键词id,是否有效,出价,用户ip,竞价时间,是否通过审核,投放产品的id)<br />
<font face="Verdana">CompeteID&nbsp;CompanyID&nbsp;TimeID&nbsp;KeyID&nbsp;IsOK&nbsp;Price&nbsp;UserIP&nbsp;AddTime&nbsp;IsAuditing&nbsp;ProductID<br />
&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp; 100&nbsp;&nbsp;&nbsp; ^^^^^^^^^^^^^^^^^^^^^<br />
<br />
竞价存储过程<br />
<br />
<p><font face="Verdana">------------------------------------<br />
--用途：增加一条竞价记录 <br />
--项目名称：<br />
--说明：<br />
--时间：2008-6-27 15:36:06<br />
------------------------------------<br />
CREATE PROCEDURE LB_Prod_Compete_ADD<br />
(<br />
@CompeteID int output,<br />
@CompanyID int,<br />
@TimeID int,<br />
@KeyID int,<br />
@Price int,<br />
@IsOK bit,<br />
@UserIP varchar(50),<br />
@AddTime datetime<br />
)</font></p>
<p><font face="Verdana">&nbsp;AS <br />
&nbsp;BEGIN TRAN<br />
&nbsp;DECLARE @CompanyOk int<br />
&nbsp;DECLARE @MINCompeteID int<br />
&nbsp;DECLARE @ISTOP5 int<br />
--检索本公司本期竞价的关键词是否有有效关键词<br />
&nbsp;&nbsp;SELECT @CompanyOk=COUNT(*) FROM LB_Prod_Compete WHERE KeyID=@KeyID AND&nbsp; CompanyID=@CompanyID AND TimeID=@TimeID&nbsp; AND IsOK=1<br />
--如果有先让该记录的ISOK置0 ,即设置为无效<br />
&nbsp;IF @CompanyOk&gt;0<br />
&nbsp;BEGIN<br />
&nbsp;&nbsp;UPDATE LB_Prod_Compete SET IsOK=0 WHERE KeyID=@KeyID AND CompanyID=@CompanyID AND TimeID=@TimeID AND&nbsp; IsOK=1<br />
&nbsp;END<br />
&nbsp;ELSE<br />
&nbsp;BEGIN<br />
--再查询一下有效竞价数量是否大于5<br />
&nbsp;&nbsp;SELECT @ISTOP5=COUNT(*) FROM LB_Prod_Compete WHERE KeyID=@KeyID AND TimeID=@TimeID&nbsp;&nbsp; AND IsOK=1<br />
&nbsp;&nbsp;IF @ISTOP5&gt;=5<br />
&nbsp;&nbsp;BEGIN<br />
--大于5的话,把有效的最低价格的那条记录置为无效<br />
&nbsp;&nbsp;&nbsp;SELECT @MINCompeteID=MIN(CompeteID) FROM LB_Prod_Compete WHERE&nbsp; KeyID=@KeyID AND TimeID=@TimeID AND IsOK=1<br />
&nbsp;&nbsp;&nbsp;UPDATE LB_Prod_Compete SET IsOK=0 WHERE&nbsp; CompeteID=@MINCompeteID<br />
&nbsp;&nbsp;END<br />
&nbsp;END<br />
--插入新记录,并设置为有效竞价,因为它价格最高嘛!呵呵<br />
&nbsp;INSERT INTO LB_Prod_Compete(<br />
&nbsp;[CompanyID],[TimeID],[KeyID],[Price],[IsOK],[UserIP],[AddTime],[IsAuditing]<br />
&nbsp;)VALUES(<br />
&nbsp;@CompanyID,@TimeID,@KeyID,@Price,@IsOK,@UserIP,@AddTime,0<br />
&nbsp;)<br />
&nbsp;SET @CompeteID = @@IDENTITY<br />
--最后更新一下关键词表的最大价,方便程序调用.<br />
&nbsp;UPDATE LB_KeyWord SET [MaxPrice]=@Price,[KeyCount]=[KeyCount]+1 WHERE&nbsp; [KeyID]=@KeyID<br />
&nbsp;COMMIT TRAN<br />
GO</font></p>
-------------------------------------------------------------------------------------------------------------------<br />
时间仓促,简单一些,欢迎各位同仁讨论!<br />
提醒:潜水员们上浮一下,下面有暗礁!<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><br />
&nbsp;&nbsp;&nbsp;&nbsp;</font>
<img src ="http://sweetkiss.cnblogs.com/aggbug/1235242.html?type=1" width = "1" height = "1" /><br><br>[新闻]“博客园开发者征途系列” 即将发布重磅级新书 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28959</link>
<title><![CDATA[div隐藏层登录框及使用ajax写入cookies心得]]></title>
<author>逍遥网外</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 9:11:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28959</guid>
<description><![CDATA[ 摘要:  最近刚做了一个时下比较流行的隐藏层录页面，登录过程使用了ajax，但是奇怪的是，程序运行到添加cookies时就无端终止了，郁闷..跟踪无果，网上查询亦无果，无奈下只有借用javascript的cookies，用户登录过程是ajax验证完成后，返回正确标记同时返回登录的用户名ID，这样就可以在javascript中实现这样的效果。这个登录框完全效仿baidu知道的登录模式，唯一的不同点是百度知道&nbsp;&nbsp;阅读全文<img src ="http://zyingbo.cnblogs.com/aggbug/1235241.html?type=1" width = "1" height = "1" /><br><br>[新闻]Google官方推出Google Talk苹果iPhone版 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28960</link>
<title><![CDATA[FileSystemWatcher事件多次触发的解决方法]]></title>
<author>sema</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 2:37:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28960</guid>
<description><![CDATA[ 摘要: 本文讨论了如何处理FileSystemWatcher针对同一文件变化的多次事件触发,代码借鉴了log4net的处理方法。&nbsp;&nbsp;阅读全文<img src ="http://dragon.cnblogs.com/aggbug/1235207.html?type=1" width = "1" height = "1" /><br><br>[新闻]研究称Windows使用份额将很快低于90％ ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28961</link>
<title><![CDATA[讨论：怎么样缓存频繁更新的数据?]]></title>
<author>Phantaci.com</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 1:55:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28961</guid>
<description><![CDATA[ 摘要:       最近接手一个公司的论坛。主题数量大概有100W，回复数有900W，在线人数3000左右。之前设计论坛的GG采用静态集合来缓存每个版块的主题列表。但论坛偶尔会冒出个缓存的bug，其中解决了些问题,但时不时又会有新的bug。ms有点“野火烧不尽春风吹又生”的感觉...
<br>所以我也想着手改善一下，想了想决定重写个原型出来，暂放cnblogs希望大虾们能指点一下迷津。&nbsp;&nbsp;阅读全文<img src ="http://phantaci.cnblogs.com/aggbug/1235203.html?type=1" width = "1" height = "1" /><br><br>[新闻]苹果App Store公布应用程序提交最后期限 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28962</link>
<title><![CDATA[【Web基础控件开发】-验证码控件发布-图片格式的]]></title>
<author>王孟军！</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-4 1:19:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28962</guid>
<description><![CDATA[ 摘要: <p><img src="http://www.cnblogs.com/images/cnblogs_com/wmj/124562/r_aspnetControl.jpg" align="right"/>任何验证码，不要输出到html标记中，最好以图片的格式输出，使破解软件无法轻易”抓“到code...</p>&nbsp;&nbsp;阅读全文<img src ="http://wmj.cnblogs.com/aggbug/1235196.html?type=1" width = "1" height = "1" /><br><br>[新闻]Intel欲打造千核运算 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28924</link>
<title><![CDATA[一个自己写的组件--异常报告(2):组件的重构和配置]]></title>
<author>thriving.country</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 20:40:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28924</guid>
<description><![CDATA[ 摘要: 在上一篇文章中我对异常报告组件MyDebuger做了一个一般性的介绍并用简单的C#对其进行了实现,发表之后网友们提出了一些建议,也提出了一些Bug。在这里，非常感谢来自你们的建议,我从中领略到了社区对于软件开发的重要性，社区的意见是宝贵的。其中有一位朋友说"虽然能看懂但是代码逻辑混乱，应该好好重构下",还有人说那个Debuger.Debug()方法中的obj为空的问题.自己仔细的考虑了一下,可能确实比较混乱,于是在这一篇文章中我将着力讲述我对MyDebuger组件是怎样进行重构的,并对上一节提到的配置问题进行了实现(实现的可能不太好,但是已经基本满足需求了).花了一整天时间,希望这次会好一点。&nbsp;&nbsp;阅读全文<img src ="http://Thriving-Country.cnblogs.com/aggbug/1235049.html?type=1" width = "1" height = "1" /><br><br>[新闻]“博客园开发者征途系列” 即将发布重磅级新书 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28925</link>
<title><![CDATA[【原创、开源】几个 JavaScript “类”(Calendar、Ajax、PPLive、Text、ToolTip、Xml 等)]]></title>
<author>陛下</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 20:22:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28925</guid>
<description><![CDATA[ 摘要:  某次工作需要，回顾了一下过去做的某个项目，突然发现自制的 javascrip Calendar(日历控件)，一时遐想无限，勾起不少有关当年(当月?)那些雄心壮志的&nbsp;&nbsp;阅读全文<img src ="http://howard-queen.cnblogs.com/aggbug/1235052.html?type=1" width = "1" height = "1" /><br><br>[新闻]Google官方推出Google Talk苹果iPhone版 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28926</link>
<title><![CDATA[[Quicky] block 和 inline 的区别是？]]></title>
<author>棕熊</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 19:55:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28926</guid>
<description><![CDATA[ 摘要: <p style="padding-right: 0pt; padding-left: 12px; float: right; padding-bottom: 12px; padding-top: 0pt"><img src="http://www.cnblogs.com/images/cnblogs_com/ruxpinsp1/132244/o_note.png" /></p><p>本文从HTML, CSS 原理等多个方面详细比较分析了 block 和 inline 的概念区别和表现区别。对前台开发感兴趣的可以看看哟。</p>&nbsp;&nbsp;阅读全文<img src ="http://ruxpinsp1.cnblogs.com/aggbug/1230657.html?type=1" width = "1" height = "1" /><br><br>[新闻]研究称Windows使用份额将很快低于90％ ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28927</link>
<title><![CDATA[给自定义控件（Web Control）添加事件的几种方法。前两种方法可以不实现IPostBackEventHandler]]></title>
<author>金色海洋（jyk）</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 19:34:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28927</guid>
<description><![CDATA[ 摘要: 自定义服务器控件的添加事件的方法。
<br>&nbsp;&nbsp;阅读全文<img src ="http://jyk.cnblogs.com/aggbug/1235029.html?type=1" width = "1" height = "1" /><br><br>[新闻]苹果App Store公布应用程序提交最后期限 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28944</link>
<title><![CDATA[[推荐]汽车志精彩文章推荐]]></title>
<author>icebin</author>
<category><![CDATA[图片-Photo]]></category>
<pubDate>2008-7-3 19:12:52</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28944</guid>
<description><![CDATA[ <div style="margin:10px 0 10px 0;text-align:center;"><img src="http://www.icebin.net/upload/autoblog-weekly-1.jpg" alt="Autoblog" title="Autoblog" width="400" height="515"/></div><br/>请相信我，瘾科技比任何门户的新闻来的更精彩，同样汽车志也比其它地方来得更有味道。 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28928</link>
<title><![CDATA[从老温的走红看博客园的发展]]></title>
<author>A.Z</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 16:19:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28928</guid>
<description><![CDATA[ 摘要: <p><img src="http://www.cnblogs.com/Images/adminlogo.gif" align="right"/>我们需要理性的看待博客园的发展</p>&nbsp;&nbsp;阅读全文<img src ="http://A-Z.cnblogs.com/aggbug/1234879.html?type=1" width = "1" height = "1" /><br><br>[新闻]Intel欲打造千核运算 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28929</link>
<title><![CDATA[《当C#遭遇老温》之网络通讯编程篇]]></title>
<author>老温博客</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 14:50:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28929</guid>
<description><![CDATA[ 摘要: 《当C#遭遇老温》之网络通讯编程篇老温评语：当我未对网络通讯编程拥有足够深的认识之前，总觉得它非常神秘莫测，觉得它遥之不可及，就像眼巴巴的望着一位美丽的少女而无法进行进一步的活动！呵呵~见笑了。之所以道论此篇是想和网络上的朋友进行一次通讯编程方面的交流，更重要的是是C#语言！我不会用那么所谓的&#8220;专假&#8221;那样呆板的语言进行描述，我会用最简明最容易理解的意思进行简述，同时也想给新&nbsp;&nbsp;阅读全文<img src ="http://wenweifeng.cnblogs.com/aggbug/1234783.html?type=1" width = "1" height = "1" /><br><br>[新闻]Vifir.com全国巡回Ext/Ajax技术学习与交流——成都站活动成功举办 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28930</link>
<title><![CDATA[[翻译] ASP.NET MVC Tip #1 - 使用扩展方法创建新的HTML Helper]]></title>
<author>Anders Liu</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 14:20:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28930</guid>
<description><![CDATA[ 摘要: 原文地址：http://weblogs.asp.net/stephenwalther/archive/2008/06/13/asp-net-mvc-tip-1-creating-new-html-helpers-with-extension-methods.aspx摘要：在这个Tip中，Stephen Walther创建了两个新的HTML Helper，你可以直接在ASP.NET MVC视图中使用&nbsp;&nbsp;阅读全文<img src ="http://AndersLiu.cnblogs.com/aggbug/1234749.html?type=1" width = "1" height = "1" /><br><br>[新闻]评论:Email前途堪忧 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28931</link>
<title><![CDATA[怎么这两天总能看到刺激我的好东西]]></title>
<author>代震军</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 13:48:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28931</guid>
<description><![CDATA[ 摘要:       前些天TerryLee做了一个调用Virtual Earth 的silverlight Demo, 写的很不错！今天居然在http://silverlight.idvsolutions.com/ 又看到了一个Virtual Earth 的
<br>SILVERLIGHT DEMO. 这个DEMO更面向于实际应用，使用它找到了我家的屋顶:)&nbsp;&nbsp;阅读全文<img src ="http://daizhj.cnblogs.com/aggbug/1234725.html?type=1" width = "1" height = "1" /><br><br>[新闻]Firefox2漏洞多 需紧急升级Firefox3 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28932</link>
<title><![CDATA[Windows Embedded Standard开发初体验(二)]]></title>
<author>马宁</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 12:13:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28932</guid>
<description><![CDATA[ &nbsp;
<h2><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Cambria; mso-hansi-font-family: Cambria; mso-fareast-theme-font: major-fareast; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">支持</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Cambria; mso-hansi-font-family: Cambria; mso-fareast-theme-font: major-fareast; mso-ascii-theme-font: major-latin; mso-hansi-theme-font: major-latin">的</span><span lang="EN-US">Windows Embedded Standard</span></h2>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">好了，完成安装之后，我们就可以来做</span><span lang="EN-US">Windows Embedded Standard</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的第一个操作系统镜像了。在开始菜单中找到&#8220;</span><span lang="EN-US">Microsoft Windows Embedded Studio</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">&#8221;，启动其中的</span><span lang="EN-US">Target Designer</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">。然后再</span><span lang="EN-US">Target Designer</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的</span><span lang="EN-US">File</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">菜单中选择</span><span lang="EN-US">New</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，创建一个新的</span><span lang="EN-US">Configuration</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">。</span></p>
<span lang="EN-US" style="mso-no-proof: yes"><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype>
<p align="center"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/demo1.jpg" border="0" /></p>
</span>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">输入名称后，点击</span><span lang="EN-US">OK</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，进入</span><span lang="EN-US">Target Designer</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的主界面。为了简单起见，我们选择</span><span lang="EN-US">Virtual PC</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">作为我们的目标设备，这样就可以省去获取硬件设备信息的步骤。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">首先，我们要在左侧的组件列表中找到我们要添加的组件。第一个自然是</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">组件了。</span><span lang="EN-US">Windows Embedded Standard</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">中包括的是</span><span lang="EN-US">Silverlight 1.0</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，目前</span><span lang="EN-US">Silverlight 2.0</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">还是</span><span lang="EN-US">beta</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">阶段，也许等</span><span lang="EN-US">WES</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">正式推出时就是</span><span lang="EN-US">Silverlight 2.0</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">了，即使不是，也肯定会有</span><span lang="EN-US">QFE</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的。</span></p>
<p class="MsoNormal" style="text-indent: 21pt; text-align: center" align="center"><span lang="EN-US" style="mso-no-proof: yes"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/demo2.jpg" border="0" /></span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">由于不确定</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">被放到哪里了，所以只好</span><span lang="EN-US">Search</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">了一把。结果是，在</span><span lang="EN-US">Software-System-System Services-Application Support</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">中包括了</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">组件。除了</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">之外，我们还需要添加几个组件：</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">首先，是</span><span lang="EN-US">Design Templates</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">下的</span><span lang="EN-US">Information Application</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">；然后是，</span><span lang="EN-US">Software</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">节点下的</span><span lang="EN-US">Test &amp; Development</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">下的</span><span lang="EN-US">Runtime Quick Start Helper Macro</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">和</span><span lang="EN-US">Virtual PC 2007 Helper Macro</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">两个组件。</span></p>
<span lang="EN-US" style="mso-no-proof: yes">
<p align="center"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/demo3.jpg" border="0" /></p>
</span>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">添加了这些组件之后，我们就可以进行依赖检查了，按</span><span lang="EN-US">F5</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，或者在</span><span lang="EN-US">Configuration</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">菜单下的</span><span lang="EN-US">Check Dependencies</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">项，就可以执行了。如下图：</span></p>
<span lang="EN-US" style="mso-no-proof: yes">
<p align="center"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/demo4.jpg" border="0" /></p>
</span>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">依赖检查之后，如果没有错误，我们可以直接进行编译，选择</span><span lang="EN-US">Configuration</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">下的</span><span lang="EN-US">Build Target Image</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">或者按</span><span lang="EN-US">F7</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，构建过程如下图：</span></p>
<span lang="EN-US" style="mso-no-proof: yes">
<p align="center"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/demo6.jpg" border="0" /></p>
</span>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">在编译完成之后，我们就可以在</span><span lang="EN-US">C</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">：</span><span lang="EN-US">\Windows Embedded Images</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">下找到已经编译好的文件。我们将其拷贝到准备好的虚拟硬盘中就可以了。如何构建</span><span lang="EN-US">VPC</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的开发环境，请参考我的</span><span lang="EN-US">Webcast </span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">《</span><span lang="EN-US">XP Embedded</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">开发初体验》中的介绍。</span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">在第一次启动时，系统会启动</span><span lang="EN-US">FBA(First boot agent)</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">来完成一些设置，我们需要耐心等待一些时间：</span></p>
<p class="MsoNormal" style="text-indent: 21pt; text-align: center" align="center"><span lang="EN-US" style="mso-no-proof: yes"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/FBA.jpg" border="0" /></span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">接下来，我们关闭</span><span lang="EN-US">WES</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">开发环境的</span><span lang="EN-US">VPC</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，记得一定要选择</span><span lang="EN-US">Shut down</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">。</span></p>
<p class="MsoNormal" style="text-indent: 21pt; text-align: center" align="center"><span lang="EN-US" style="mso-no-proof: yes"><img alt="" src="http://www.cnblogs.com/images/cnblogs_com/aawolf/web.jpg" border="0" /></span></p>
<p class="MsoNormal" style="text-indent: 21pt"><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">然后运行</span><span lang="EN-US">XPETraget</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的</span><span lang="EN-US">VPC</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，我们编译出来的</span><span lang="EN-US">Windows Embedded Standard Image</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">其实和</span><span lang="EN-US">XP Professional</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">非常类似，只是少了比较多的组件。不过我们仍然能够通过开始菜单来打开</span><span lang="EN-US">IE</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">浏览器，然后再里边输入</span><span lang="EN-US">URL: http://www.silverlight.net/ </span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">。对</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">比较熟悉的朋友一定会知道这个网站。而访问这个网站时，并没有提示我们需要安装</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">，这表明</span><span lang="EN-US">Silverlight</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">已经被加到了</span><span lang="EN-US">Windows Embedded Standard</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">的</span><span lang="EN-US">Image</span><span style="font-family: 宋体; mso-fareast-font-family: 宋体; mso-ascii-font-family: Calibri; mso-hansi-font-family: Calibri; mso-fareast-theme-font: minor-fareast; mso-ascii-theme-font: minor-latin; mso-hansi-theme-font: minor-latin">之中了。</span></p>
<img src ="http://aawolf.cnblogs.com/aggbug/1234667.html?type=1" width = "1" height = "1" /><br><br>[新闻]图解Internet Explorer 8的诸多安全特性 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28945</link>
<title><![CDATA[[搞笑]星际争霸虫族Q版]]></title>
<author>icebin</author>
<category><![CDATA[文字-Word]]></category>
<pubDate>2008-7-3 12:06:39</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28945</guid>
<description><![CDATA[ <div style="margin:10px 0 10px 0;text-align:center;"><object width="480" height="387"><param name="movie" value="http://www.wegame.com/static/flash/player2.swf?tag=8_Starcraft_Units_in_SPORE"></param><param name="wmode" value="transparent"></param><embed src="http://www.wegame.com/static/flash/player2.swf?tag=8_Starcraft_Units_in_SPORE" type="application/x-shockwave-flash" wmode="transparent" width="480" height="387""></embed></object><div>WeGame.com - StarCraft 2 Videos</div></div><br/>看了真是搞笑至极！ ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28933</link>
<title><![CDATA[WCF学习(三)-------数据契约1]]></title>
<author>Henllyee Cui</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 11:00:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28933</guid>
<description><![CDATA[ 摘要: WCF能够托管CLR类型，客户端能传递和处理CLR类型的数据（如：string和int），但是如果我们自己定义的类型（如：声明的Customer类）。其实WCF的传递CLR自己类型时，是因为已经把它序列化成了xml信息集，而我们自己定义的类型则需要自己去显示的声明序列化。序列化.net的序列化。.net是通过反射机制（反射机制参考文档）自动实现对象的序列化与反序列化。首先.net能够捕获对象每个字&nbsp;&nbsp;阅读全文<img src ="http://Henllyee.cnblogs.com/aggbug/1234584.html?type=1" width = "1" height = "1" /><br><br>[新闻]Google将提供网站漏洞侦测工具 可免费下载 ]]></description>
</item>
<item>
<link>http://h31home.com/rss/blogto.asp?ID=28934</link>
<title><![CDATA[What is the difference between SLC and MLC?]]></title>
<author>Star.wang</author>
<category><![CDATA[]]></category>
<pubDate>2008-7-3 9:40:00</pubDate>
<guid>http://h31home.com/rss/blogto.asp?ID=28934</guid>
<description><![CDATA[ <p>SLC and MLC are both NAND-based non-volatile memory technologies.&nbsp; Multi-Level Cell (MLC) NAND and Single-Level Cell (SLC) NAND offer capabilities that serve two very different types of applications &#8211; those requiring high performance at an attractive cost-per-bit and those seeking even higher performance over time, that are less cost-sensitive.</p>
<p>MLC NAND Flash allows each memory cell to store two bits of information, compared to the one bit-per-cell SLC NAND Flash allows.&nbsp; As a result, 90 nanometer (nm) MLC NAND offers a larger capacity (typically twice the density of SLC) and at a cost point appropriate for consumer products multi-function cell phones, digital cameras, USB drives and memory cards.&nbsp; Toshiba 90nm MLC NAND Flash is rated to last approximately 10,000 cycles, which is considered more than sufficient for the average consumer application.&nbsp; For example, a USB drive application that used the 10,000 write/erase cycles would enable the user to completely write and erase the entire contents once per day for 27 years, well beyond the life of the hardware.</p>
<p>Though SLC NAND offers a lower density, it also provides an enhanced level of performance in the form of faster write speeds.&nbsp; Because SLC stores only one bit per cell, the likelihood for error is reduced. At 90 nanometer process, it is recommended to implement a 1 to 2-bit ECC for SLC, whereas 4-bit ECC is recommended on the MLC architecture. SLC also allows for longer write/erase cycle endurance and has a life expectancy rated at approximately 100,000 cycles, making it a better fit for use in applications requiring higher reliability, increased endurance and viability in multi-year product life cycles. </p><img src ="http://frankjobs.cnblogs.com/aggbug/1234494.html?type=1" width = "1" height = "1" /><br><br>[新闻]Google搜索引擎开始索引Flash文件 ]]></description>
</item>
</channel>
</rss>
