<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>梦想的港湾</title>
	<atom:link href="http://blog.mxgw.info/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.mxgw.info</link>
	<description>海洋的对岸~是梦想的港湾~或许~难免失败~偶尔孤单~相信~总能追赶</description>
	<lastBuildDate>Fri, 18 May 2012 11:53:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>纸上谈兵之高性能Web开发</title>
		<link>http://blog.mxgw.info/1494.html</link>
		<comments>http://blog.mxgw.info/1494.html#comments</comments>
		<pubDate>Fri, 18 May 2012 11:48:23 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Diary』我的随笔]]></category>
		<category><![CDATA[优化]]></category>
		<category><![CDATA[高性能]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1494</guid>
		<description><![CDATA[今天一连两次被问到简历中提到的高性能Web开发方面的事，看来这种大标题很有诱惑力。 据我所知，国内关于高性能网站的书籍就3本，两本动物园出品，主要针对前端优化，内容也是根据雅虎军规展开来讨论。另一本是国内一作者写的，前后兼顾。 这里特地从淘宝前端技术系列课程中的PPT中截取一张图片，用来大概划分一下前后端的概念。 前端后端其实都是相对应的，不过也可以大概把看得见的部分列入前端，看不见的部分列入后端。 为什么动物园对于前端优化的就有两本，而后端优化的只有国内一本呢？ 这个主要是从优化的投入产出来考虑。 有统计表明，对现有网站进行优化，后端方面只能提高20%的性能，而前端方面能提高80%的性能。 其实我认为，更深层次的原因是后端开发相对于前端开发而言，难度更大。同时整个后端的体系已经相对完善，整个发展处于一个平缓期（这里我是以这些书出版的时候算，现在各种新技术应用在分布式集群上，大大拓展单机运算能力，后端性能有了一个新的提升）。而前端方面，由于历史原因，旧的那套开发方式几乎推倒重做，所有页面都需要重新设计制作，这为前端领域带来一个前所未有的发展机会，各种对应的优化手段不断推出，一浪接一浪。 高性能实践军规 要烹饪一份美食，选材很重要，Web开发同样如此。 后端方面，使用Apache/Nginx等轻量级引擎处理替换IIS，使用Memcached对热数据进行缓存，同时使用MongoDB等NoSQL技术对传统关系型数据库做辅助横向拓展。对Apache等引擎层集群、MySQL等数据库层集群、文件集群等进行请求均衡处理、或者按权重进行负载均衡。 当然，上面的这种多层横向多站的形式，仅适用于集群，单机这么做只会白白增加各层次通讯响应延迟以及单机公共件的负担。 单机优化，同样使用轻量级程序，但是要减少整个架构的复杂性，减少层次规模。 前端方面，优化手段就多了去了。 雅虎XXX条军规（为啥XXX，因为这玩意不断在增加）。 减少、合并请求（典型应用：雪碧。使用雪碧需适量，过度容易消化不良） 使用CDN，对请求进行就近响应（典型应用：有备案的直接上国内CDN或者用SAE等、没备案的对静态文件使用又拍云CDN，效果同样不错。面对国外用户的话，选择多了去了） 进行浏览器缓存，对缓存文件添加Expires头部（比CDN更加强悍，直接把静态文件放到用户的浏览器上，直接加载。对于SNS等粘度较高网站效果显著，对于偶尔上上的网站，效果一般，毕竟第一次请求仍需全部文件加载，所以前端开发中，对文件体积的控制必须时刻保持） 开启Gzip等压缩功能（在服务器开启后，会对请求文件进行压缩后再发送，是拿CPU时间换网络流量的做法，对于现阶段CPU，无论服务器还是客户端，处理Gzip问题都不大） CSS放头部、JS放尾部（CSS小于JS，CSS放头部能快速加载、防止JS阻塞请求，同时先处理样式，再处理交互方面的动作） 避免CSS表达式（逻辑上的事情，还是交给服务器来做吧，不过这事未来也难说，谁知道哪天改成富客户端、廋服务器呢） 外部JS和CSS（额，这个不用说吧。请求数换页面提交） 减少DNS查询（解析DNS是要费时间的） 使用Ajax异步加载技术（图片延迟加载，把宝贵的带宽留给第一眼看到的东西） 上面我是参考书上写的，前端优化技巧繁多，但其要点有以下几个： 从制作上面控制文件体积：通过各种压缩手段，对图片和代码进行体积压缩。 多用缓存技术：CDN、浏览器缓存等。 再怎么压缩，再怎么缓存，需要请求的东西依旧这么多，总的流量依旧那么大，好吧，还有异步加载：把最最最重要的东西先进行响应，其他的慢慢来，好商量。 手机上网增加，相对服务器而言，手机还是相对很瘦的，所以别让手机处理那么多逻辑上的事。复杂的JS/CSS3等特效，在手机上能省则省吧。 结语：优化不是银弹，不可滥用。但明显不适合的处理手段，则必须要改 文中多次提到“相对”一次，要知道，优化是有前提的，没有那服药能治百病，乱开处方更会病入膏肓。 这里我还想啰嗦一下，为什么前端优化比后端优化要热闹呢？因为前端优化容易实践，实践出真理。一个WordPress，有优化和没优化立竿见影。而后端呢？谁有这样的财力物力组建自己的集群？ 我经常在纠结，我的VPS是月付5刀左右，那如果我改成买5台月付1刀的组集群，把服务都分开，会怎样？？o(∩_∩)o 哈哈 再送一句话“过早优化是万恶之源”。 有时候也别想那么多，东西能做出来就是好事，有很多人用更是好事，至于多到跑不动了，到时自然有解决的方法，是不过会很痛苦。辩证的思考问题就是这么麻烦~~<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F826.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">实战Nginx_取代Apache的高性能Web服务器</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1431.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于NoSQL优势的一点想法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1381.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Android上的Web应用开发工具</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1034.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">今晚画了一个简单的布局</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fblog-grow-note-1_598.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">从各方面优化了一下博客 (@netsh)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fluo-yufeng-micro-bo-said-the-wenzhou-accident-was-cited-anger-optimization-of-the-population-worthy-death_322.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">凤姐罗玉凤微博称温州事故是优化人口死得其所引愤怒 (@netsh)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2012%2F03%2Fasync-and-await-in-web-application%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">async 与 await 在 Web 下的应用 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fblog-grow-note-2_669.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">又优化了一下博客及外观 (@netsh)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今天一连两次被问到简历中提到的高性能Web开发方面的事，看来这种大标题很有诱惑力。</p>
<p>据我所知，国内关于高性能网站的书籍就3本，两本动物园出品，主要针对前端优化，内容也是根据雅虎军规展开来讨论。另一本是国内一作者写的，前后兼顾。</p>
<p><img class="alignnone" style="width: 200px;" title="高性能网站建设指南-前端工程师技能精粹" src="http://img3.douban.com/lpic/s5914296.jpg" alt="" width="315" height="423" /></p>
<p><img class="alignnone" style="width: 200px;" title="高性能网站建设进阶指南-Web开发者性能优化最佳实践" src="http://img5.douban.com/lpic/s4231089.jpg" alt="" width="336" height="393" /></p>
<p><img class="alignnone" style="width: 200px;" title="构建高性能Web站点-改善性能和扩展规模的具体做法" src="http://img1.douban.com/lpic/s3935862.jpg" alt="" width="324" height="408" /></p>
<p>这里特地从淘宝前端技术系列课程中的PPT中截取一张图片，用来大概划分一下前后端的概念。</p>
<p><a href="http://blog.mxgw.info/wp-content/uploads/2012/05/QQ截图20120518172634.png"><img class="alignnone  wp-image-1495" title="QQ截图20120518172634" src="http://blog.mxgw.info/wp-content/uploads/2012/05/QQ截图20120518172634.png" alt="" width="467" height="225" /></a></p>
<p>前端后端其实都是相对应的，不过也可以大概把看得见的部分列入前端，看不见的部分列入后端。</p>
<h2>为什么动物园对于前端优化的就有两本，而后端优化的只有国内一本呢？</h2>
<p>这个主要是从优化的投入产出来考虑。</p>
<p>有统计表明，对现有网站进行优化，后端方面只能提高20%的性能，而前端方面能提高80%的性能。</p>
<p>其实我认为，更深层次的原因是后端开发相对于前端开发而言，难度更大。同时整个后端的体系已经相对完善，整个发展处于一个平缓期（这里我是以这些书出版的时候算，现在各种新技术应用在分布式集群上，大大拓展单机运算能力，后端性能有了一个新的提升）。而前端方面，由于历史原因，旧的那套开发方式几乎推倒重做，所有页面都需要重新设计制作，这为前端领域带来一个前所未有的发展机会，各种对应的优化手段不断推出，一浪接一浪。</p>
<h2>高性能实践军规</h2>
<p>要烹饪一份美食，选材很重要，Web开发同样如此。</p>
<p><strong>后端方面</strong>，使用Apache/Nginx等轻量级引擎处理替换IIS，使用Memcached对热数据进行缓存，同时使用MongoDB等NoSQL技术对传统关系型数据库做辅助横向拓展。对Apache等引擎层集群、MySQL等数据库层集群、文件集群等进行请求均衡处理、或者按权重进行负载均衡。</p>
<p>当然，上面的这种多层横向多站的形式，仅适用于集群，单机这么做只会白白增加各层次通讯响应延迟以及单机公共件的负担。</p>
<p>单机优化，同样使用轻量级程序，但是要减少整个架构的复杂性，减少层次规模。</p>
<p><strong>前端方面</strong>，优化手段就多了去了。</p>
<p>雅虎XXX条军规（为啥XXX，因为这玩意不断在增加）。</p>
<ul>
<li>减少、合并请求（典型应用：雪碧。使用雪碧需适量，过度容易消化不良）</li>
<li>使用CDN，对请求进行就近响应（典型应用：有备案的直接上国内CDN或者用SAE等、没备案的对静态文件使用又拍云CDN，效果同样不错。面对国外用户的话，选择多了去了）</li>
<li>进行浏览器缓存，对缓存文件添加Expires头部（比CDN更加强悍，直接把静态文件放到用户的浏览器上，直接加载。对于SNS等粘度较高网站效果显著，对于偶尔上上的网站，效果一般，毕竟第一次请求仍需全部文件加载，所以前端开发中，对文件体积的控制必须时刻保持）</li>
<li>开启Gzip等压缩功能（在服务器开启后，会对请求文件进行压缩后再发送，是拿CPU时间换网络流量的做法，对于现阶段CPU，无论服务器还是客户端，处理Gzip问题都不大）</li>
<li>CSS放头部、JS放尾部（CSS小于JS，CSS放头部能快速加载、防止JS阻塞请求，同时先处理样式，再处理交互方面的动作）</li>
<li>避免CSS表达式（逻辑上的事情，还是交给服务器来做吧，不过这事未来也难说，谁知道哪天改成富客户端、廋服务器呢）</li>
<li>外部JS和CSS（额，这个不用说吧。请求数换页面提交）</li>
<li>减少DNS查询（解析DNS是要费时间的）</li>
<li>使用Ajax异步加载技术（图片延迟加载，把宝贵的带宽留给第一眼看到的东西）</li>
</ul>
<p>上面我是参考书上写的，前端优化技巧繁多，但其要点有以下几个：</p>
<p>从制作上面控制文件体积：通过各种压缩手段，对图片和代码进行体积压缩。</p>
<p>多用缓存技术：CDN、浏览器缓存等。</p>
<p>再怎么压缩，再怎么缓存，需要请求的东西依旧这么多，总的流量依旧那么大，好吧，还有异步加载：把最最最重要的东西先进行响应，其他的慢慢来，好商量。</p>
<p>手机上网增加，相对服务器而言，手机还是相对很瘦的，所以别让手机处理那么多逻辑上的事。复杂的JS/CSS3等特效，在手机上能省则省吧。</p>
<h2>结语：优化不是银弹，不可滥用。但明显不适合的处理手段，则必须要改</h2>
<p>文中多次提到“相对”一次，要知道，优化是有前提的，没有那服药能治百病，乱开处方更会病入膏肓。</p>
<p>这里我还想啰嗦一下，为什么前端优化比后端优化要热闹呢？因为前端优化容易实践，实践出真理。一个WordPress，有优化和没优化立竿见影。而后端呢？谁有这样的财力物力组建自己的集群？</p>
<p>我经常在纠结，我的VPS是月付5刀左右，那如果我改成买5台月付1刀的组集群，把服务都分开，会怎样？？o(∩_∩)o 哈哈</p>
<p>再送一句话“过早优化是万恶之源”。</p>
<p>有时候也别想那么多，东西能做出来就是好事，有很多人用更是好事，至于多到跑不动了，到时自然有解决的方法，是不过会很痛苦。辩证的思考问题就是这么麻烦~~</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F826.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">实战Nginx_取代Apache的高性能Web服务器</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1431.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于NoSQL优势的一点想法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1381.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Android上的Web应用开发工具</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1034.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">今晚画了一个简单的布局</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fblog-grow-note-1_598.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">从各方面优化了一下博客 (@netsh)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fluo-yufeng-micro-bo-said-the-wenzhou-accident-was-cited-anger-optimization-of-the-population-worthy-death_322.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">凤姐罗玉凤微博称温州事故是优化人口死得其所引愤怒 (@netsh)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2012%2F03%2Fasync-and-await-in-web-application%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">async 与 await 在 Web 下的应用 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fblog-grow-note-2_669.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1494.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">又优化了一下博客及外观 (@netsh)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1494.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>数据库课程设计第一天</title>
		<link>http://blog.mxgw.info/1490.html</link>
		<comments>http://blog.mxgw.info/1490.html#comments</comments>
		<pubDate>Mon, 14 May 2012 01:35:47 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Diary』我的随笔]]></category>
		<category><![CDATA[库存系统]]></category>
		<category><![CDATA[数据库]]></category>
		<category><![CDATA[课程设计]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1490</guid>
		<description><![CDATA[昨晚同学草草地找了一份需求分析，然后整理一下，然后我们就开始做这份~ 题目是库存管理系统。 目标： 实现库存管理的动态化。 强大的统计分析功能。 方便的查询功能。 功能要求： 系统初始化。 物料出入库管理。 库存物料定期盘点。 数据查询。 预警报告。 月底结存。 系统安全管理。 环境，PHP+SQL Server（数据库老师不允许使用MySQL，狂晕~~） 对题目里面的统计分析功能、定期盘点以及月底结存的概念好抽象，一时不知道是什么东西~ 好吧，开始部署环境，今天开工。 SQL Server部署，只要不是在干净的系统，总是有可能遇到各种麻烦事，还是虚拟机解决较好，要是能用MySQL就没这么多麻烦事了。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1034.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">今晚画了一个简单的布局</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F813.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">（转载）在photoshop中创建一个充满色彩的网页效果图(下)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F791.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">创建简约而干净的psd网页布局</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1152.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">LG GW620/KH5200 官方详细设计文档</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2077.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">华丽的腕表设计 —地中海伊甸园 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F462.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">极具设计感的室内&quot;烟囱&quot; (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F752.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一个水滴--太阳能概念车设计 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F09%2F1472.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">1939年设计的茶几 (@xjeek)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>昨晚同学草草地找了一份需求分析，然后整理一下，然后我们就开始做这份~</p>
<p>题目是库存管理系统。</p>
<p>目标：</p>
<ul>
<li>实现库存管理的动态化。</li>
<li>强大的统计分析功能。</li>
<li>方便的查询功能。</li>
</ul>
<p>功能要求：</p>
<ul>
<li>系统初始化。</li>
<li>物料出入库管理。</li>
<li>库存物料定期盘点。</li>
<li>数据查询。</li>
<li>预警报告。</li>
<li>月底结存。</li>
<li>系统安全管理。</li>
</ul>
<p>环境，PHP+SQL Server（数据库老师不允许使用MySQL，狂晕~~）</p>
<p>对题目里面的统计分析功能、定期盘点以及月底结存的概念好抽象，一时不知道是什么东西~</p>
<p>好吧，开始部署环境，今天开工。</p>
<p>SQL Server部署，只要不是在干净的系统，总是有可能遇到各种麻烦事，还是虚拟机解决较好，要是能用MySQL就没这么多麻烦事了。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1034.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">今晚画了一个简单的布局</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F813.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">（转载）在photoshop中创建一个充满色彩的网页效果图(下)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F791.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">创建简约而干净的psd网页布局</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1152.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">LG GW620/KH5200 官方详细设计文档</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2077.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">华丽的腕表设计 —地中海伊甸园 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F462.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">极具设计感的室内&quot;烟囱&quot; (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F752.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一个水滴--太阳能概念车设计 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F09%2F1472.html&from=http%3A%2F%2Fblog.mxgw.info%2F1490.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">1939年设计的茶几 (@xjeek)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1490.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WP External Links是个好插件</title>
		<link>http://blog.mxgw.info/1488.html</link>
		<comments>http://blog.mxgw.info/1488.html#comments</comments>
		<pubDate>Mon, 07 May 2012 05:31:02 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『History』博客手札]]></category>
		<category><![CDATA[WP External Links]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1488</guid>
		<description><![CDATA[效果如下： 我的新浪微博 当然，下次做主题的时候，把这个功能集成到里面去更好~ PS:这个插件还带一些rel的处理，好像对SEO有帮助吧，没研究过这玩意<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F%3Fp%3D66&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WP无觅插件For SAE</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F820.html&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">推荐几个好用的WP插件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1249.html&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">艰难的上坡</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F252.html&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">VMware 三种网络模式根本区别</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>效果如下：</p>
<p><a title="新浪微博" href="http://weibo.com/libo1106" target="_blank">我的新浪微博</a></p>
<p>当然，下次做主题的时候，把这个功能集成到里面去更好~</p>
<p>PS:这个插件还带一些rel的处理，好像对SEO有帮助吧，没研究过这玩意</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F%3Fp%3D66&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WP无觅插件For SAE</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F820.html&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">推荐几个好用的WP插件</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F561.html&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Nvidia Optimus Review</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1009.html&from=http%3A%2F%2Fblog.mxgw.info%2F1488.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">不知不觉，又折腾了一晚上</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1488.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>知呼前端工程师面试题目</title>
		<link>http://blog.mxgw.info/1470.html</link>
		<comments>http://blog.mxgw.info/1470.html#comments</comments>
		<pubDate>Sat, 21 Apr 2012 06:47:31 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Coding』捣鼓代码]]></category>
		<category><![CDATA[三栏布局]]></category>
		<category><![CDATA[前端开发]]></category>
		<category><![CDATA[题目]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1470</guid>
		<description><![CDATA[题目 第一题的答案（完全自己做出来了，但是超时了） 第二题的答案（不知道为什么加个括号就能用） 第三题的答案（我的答案有点问题，等弄好了再上传 要想完美，先出主体，通过负margin+双容器） update: 3、我之前就纳闷了，怎么上面的链接，我用Chrome可以打开，其他浏览器就打不开。刚想起，Dropbox要翻墙，我的Chrome长期是自动列表走SSH隧道的。So，想看的，要挂一下VPN或者SSH咯~~ 2、三栏布局问题，假如顺序如下，貌似就没有完美的方案了。 这里有三种三栏布局的方案： 第一种绝对定位的方式，不适合这里，因为这里的section上面还有其他东西，出了文档流，后面的布局都麻烦。绝对定位适用于在最外圈的布局，内部的东西不适合，除非真的是要这个东西离开文档流。 第二种负margin的方法，我感觉挺好的，但是按照这个的DOM的顺序，也无法实现。不过平时做东西，肯定是要主体部分在前，侧栏在后的，所以比较好。那些各种负数感觉bug bug地，这个算是一个技巧吧。 第三种自浮动的方式，把主体扔最后了，我个人是不喜欢，同样也不符合我这里给限制的顺序。 1、第三题的答案还是有点问题，第二个方法很作弊，B列两端的内容被挡住了。 PS:托管在Dropbox的速度一般般啊，大家将就一下吧，Github还不会弄~<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1494.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">纸上谈兵之高性能Web开发</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F526.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">联想一键恢复7.0工程师版</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F791.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">创建简约而干净的psd网页布局</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1317.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">又是一年PC操作系统三国鼎立的时刻~</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F10%2Fhow-to-improve-your-own%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">技术人如何提升自己 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F%25E4%25B8%2580%25E9%2594%2585%25E7%2584%25AF%25E4%25B8%2589%25E4%25B8%25AA%25E8%258F%259C.html%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一锅焯三个菜 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F%3Fp%3D1446&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">天涯狂人搜集的千奇百怪的创意玩意三 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F420.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">三胞胎凳子 (@xjeek)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><a title="知呼前端开发工程师面试题" href="http://dl.dropbox.com/u/68233991/project/%E7%9F%A5%E5%91%BC%E5%89%8D%E7%AB%AF%E9%A2%98%E7%9B%AE/question.html" target="_blank">题目</a></p>
<p><a title="JS答案" href="http://dl.dropbox.com/u/68233991/project/%E7%9F%A5%E5%91%BC%E5%89%8D%E7%AB%AF%E9%A2%98%E7%9B%AE/answer-test1.html" target="_blank">第一题的答案</a>（完全自己做出来了，但是超时了）</p>
<p><a title="第二题答案" href="http://dl.dropbox.com/u/68233991/project/%E7%9F%A5%E5%91%BC%E5%89%8D%E7%AB%AF%E9%A2%98%E7%9B%AE/test2.html" target="_blank">第二题的答案</a>（不知道为什么加个括号就能用）</p>
<p><a title="第三题答案" href="http://dl.dropbox.com/u/68233991/project/%E7%9F%A5%E5%91%BC%E5%89%8D%E7%AB%AF%E9%A2%98%E7%9B%AE/test3.html" target="_blank">第三题的答案</a>（<del>我的答案有点问题，等弄好了再上传</del> 要想完美，先出主体，通过负margin+双容器）</p>
<p>update:</p>
<p><span style="color: #3366ff;">3、我之前就纳闷了，怎么上面的链接，我用Chrome可以打开，其他浏览器就打不开。刚想起，Dropbox要翻墙，我的Chrome长期是自动列表走SSH隧道的。So，想看的，要挂一下VPN或者SSH咯~~</span></p>
<p>2、三栏布局问题，假如顺序如下，貌似就没有完美的方案了。</p>
<p><img class="alignnone" title="三栏布局，中栏自适应" src="http://ww3.sinaimg.cn/large/6be469dcjw1ds7bt4c9a1j.jpg" alt="" width="469" height="196" /></p>
<p><a title="三栏布局" href="http://www.zhangxinxu.com/wordpress/2009/11/%E6%88%91%E7%86%9F%E7%9F%A5%E7%9A%84%E4%B8%89%E7%A7%8D%E4%B8%89%E6%A0%8F%E7%BD%91%E9%A1%B5%E5%AE%BD%E5%BA%A6%E8%87%AA%E9%80%82%E5%BA%94%E5%B8%83%E5%B1%80%E6%96%B9%E6%B3%95/" target="_blank">这里</a>有三种三栏布局的方案：</p>
<blockquote><p>第一种<strong>绝对定位</strong>的方式，不适合这里，因为这里的section上面还有其他东西，出了文档流，后面的布局都麻烦。绝对定位适用于在最外圈的布局，内部的东西不适合，除非真的是要这个东西离开文档流。</p>
<p>第二种<strong>负margin</strong>的方法，我感觉挺好的，但是按照这个的DOM的顺序，也无法实现。不过平时做东西，肯定是要主体部分在前，侧栏在后的，所以比较好。那些各种负数感觉bug bug地，这个算是一个技巧吧。</p>
<p>第三种<strong>自浮动</strong>的方式，把主体扔最后了，我个人是不喜欢，同样也不符合我这里给限制的顺序。</p></blockquote>
<p>1、第三题的答案还是有点问题，第二个方法很作弊，B列两端的内容被挡住了。</p>
<p>PS:托管在Dropbox的速度一般般啊，大家将就一下吧，Github还不会弄~</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1494.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">纸上谈兵之高性能Web开发</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F526.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">联想一键恢复7.0工程师版</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F791.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">创建简约而干净的psd网页布局</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1317.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">又是一年PC操作系统三国鼎立的时刻~</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F10%2Fhow-to-improve-your-own%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">技术人如何提升自己 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F%25E4%25B8%2580%25E9%2594%2585%25E7%2584%25AF%25E4%25B8%2589%25E4%25B8%25AA%25E8%258F%259C.html%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一锅焯三个菜 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F%3Fp%3D1446&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">天涯狂人搜集的千奇百怪的创意玩意三 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F08%2F420.html&from=http%3A%2F%2Fblog.mxgw.info%2F1470.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">三胞胎凳子 (@xjeek)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1470.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>关键时候又给重置连接了？</title>
		<link>http://blog.mxgw.info/1468.html</link>
		<comments>http://blog.mxgw.info/1468.html#comments</comments>
		<pubDate>Fri, 13 Apr 2012 02:14:02 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『History』博客手札]]></category>
		<category><![CDATA[CDN]]></category>
		<category><![CDATA[抽风]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1468</guid>
		<description><![CDATA[今早打开博客，上不去，SSH也连接不上~ 第一时间登录VPS后台，发现VPS运行一切正常，问题来自网络部分~ SSH改备用IP登录，备用IP没问题~ ping 域名，一切正常，和上次一样，ping得通但是无法访问~ 不管那么多，先启用CDN再说，这样就饶开了基于IP的封锁~ 抽风的网络~<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F97.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">监控宝最新使用教程</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1450.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">最近做的几件事</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1193.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">RedlnJn.COM内测~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F83.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">看来已经很多人用SAE勒</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>今早打开博客，上不去，SSH也连接不上~</p>
<p>第一时间登录VPS后台，发现VPS运行一切正常，问题来自网络部分~</p>
<p>SSH改备用IP登录，备用IP没问题~</p>
<p>ping 域名，一切正常，和上次一样，ping得通但是无法访问~</p>
<p>不管那么多，先启用CDN再说，这样就饶开了基于IP的封锁~</p>
<p>抽风的网络~</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F875.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">宿舍惊遇RP帝，一人连中2个罗技M305</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F469.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Adobe CS4通用破解方法(图文)(附官方下载地址)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1193.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">RedlnJn.COM内测~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1082.html&from=http%3A%2F%2Fblog.mxgw.info%2F1468.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">名词解析 – 反向代理</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1468.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>我心中的页面重构</title>
		<link>http://blog.mxgw.info/1463.html</link>
		<comments>http://blog.mxgw.info/1463.html#comments</comments>
		<pubDate>Thu, 12 Apr 2012 14:19:03 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Diary』我的随笔]]></category>
		<category><![CDATA[职业规划]]></category>
		<category><![CDATA[页面重构]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1463</guid>
		<description><![CDATA[前言： 今天第一次堵门口，霸面了一把，不是什么光荣的事。面试临走的时候，面试官要我今晚把作品以及简历发给他看看，并强调只要重构相关的。 直到今晚，我纠结半天，才发现我的很多作品，都是半吊子，都不能很好的展示我的重构技术。 正文： 页面重构是什么？ 从字面上，页面重构就是要把曾经因为种种原因，开发出来的，但是对已经不适应现代社会发展的页面进行重写。7前年的表单布局，各种IE6的bug，再到后来的DIV泛滥。 而今，我认为页面重构被赋予了新的使命。 这里引用彪叔的一句话 “别在纠结IE6了，别在纠结各种hack” IE6的各种bug已经都很完美的解决方案，最好的办法是直接给IE6上一套单独的样式，或者直接选择不兼容。 重构应该往前看，不再是传统的页面仔，不再是PSD -&#62; HTML这么苦逼的活。 Html5、jQueryMobile等技术的出现，让我们可以快速地将现有产品转向移动互联网方面，占用手机平台。 响应式设计，让页面能够快速匹配多钟分辨率屏幕。 渐进增强的设计模式，抛弃了各浏览器必须表现一直的做法，取而代之的是充分发挥个浏览器的私有特性，为用户展示更加美妙的效果。 &#160; 看完上面，有人可能会觉得我有点激进。产品的后续维护依然要有人进行，虽然有CMS，但是还是需要重构人员来完成部分特色页面的工作。苦逼工作总得有人做，我也很乐意做，只是我的思维不会止步于此。 今晚师姐、同学、以及面试官都有问到我，为什么我要报重构，而不是开发类的，我是真心想在重构上面做下去吗？ 我是从页面重构，走进的互联网、走进外行人中的“专家”、走进Coding。 但对于真正的编程开发，我清楚自己有几斤几两，不是这方面的料。 我喜欢重构，喜欢重构中的思想。做开发是不得已，做开发也仅仅是我一个业余乐趣，像工匠般，自己动手，丰衣足食。 所以，我选择重构，希望重构这个岗位，是我步入互联网公司的敲门砖。 &#160; 结语： 今天面试官问到，页面重构的核心思想是什么？我还是第一次听到这样的问法，就把我心里面的感觉说出来吧。 分离、复用、持续维护 分离是指行为、样式、结构分离，最简单的例子就是HTML文档、JS、CSS分开文件。 复用是在分离的层面上，把可以重复使用的东西，放在一起，一次定义，多次使用。比如CSS里面设置一个.fl专门用来放置浮动的，需要的时候只需要给该HTML标签添加class=”fl”即可。 持续维护，这里有两层含义： 重构对象通常是已经在提供服务的页面，任何重构的操作，都必须保证页面的可用性，防止因为重构的失误导致服务终止。 代码可读，罗马城不是一日建成的，页面也不是一个人月能够完成的，总是会有合作，总是会有迭代，必须保证代码的可读性。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1350.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">迟到的WebRebuild年会手札~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1197.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ROG玩家国度5周年志~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1317.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">又是一年PC操作系统三国鼎立的时刻~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1246.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">住的地方</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p><strong>前言：</strong></p>
<p>今天第一次堵门口，霸面了一把，不是什么光荣的事。面试临走的时候，面试官要我今晚把作品以及简历发给他看看，并强调只要重构相关的。</p>
<p>直到今晚，我纠结半天，才发现我的很多作品，都是半吊子，都不能很好的展示我的重构技术。</p>
<p><strong>正文：</strong></p>
<p>页面重构是什么？</p>
<p>从字面上，页面重构就是要把曾经因为种种原因，开发出来的，但是对已经不适应现代社会发展的页面进行重写。7前年的表单布局，各种IE6的bug，再到后来的DIV泛滥。</p>
<p>而今，我认为页面重构被赋予了新的使命。</p>
<p>这里引用彪叔的一句话</p>
<blockquote><p>“别在纠结IE6了，别在纠结各种hack”</p></blockquote>
<p>IE6的各种bug已经都很完美的解决方案，最好的办法是直接给IE6上一套单独的样式，或者直接选择不兼容。</p>
<p>重构应该往前看，不再是传统的页面仔，不再是PSD -&gt; HTML这么苦逼的活。</p>
<p>Html5、jQueryMobile等技术的出现，让我们可以快速地将现有产品转向移动互联网方面，占用手机平台。</p>
<p>响应式设计，让页面能够快速匹配多钟分辨率屏幕。</p>
<p>渐进增强的设计模式，抛弃了各浏览器必须表现一直的做法，取而代之的是充分发挥个浏览器的私有特性，为用户展示更加美妙的效果。</p>
<p>&nbsp;</p>
<p>看完上面，有人可能会觉得我有点激进。产品的后续维护依然要有人进行，虽然有CMS，但是还是需要重构人员来完成部分特色页面的工作。苦逼工作总得有人做，我也很乐意做，只是我的思维不会止步于此。</p>
<p>今晚师姐、同学、以及面试官都有问到我，为什么我要报重构，而不是开发类的，我是真心想在重构上面做下去吗？</p>
<blockquote><p>我是从页面重构，走进的互联网、走进外行人中的“专家”、走进Coding。</p>
<p>但对于真正的编程开发，我清楚自己有几斤几两，不是这方面的料。</p>
<p>我喜欢重构，喜欢重构中的思想。做开发是不得已，做开发也仅仅是我一个业余乐趣，像工匠般，自己动手，丰衣足食。</p>
<p>所以，我选择重构，希望重构这个岗位，是我步入互联网公司的敲门砖。</p></blockquote>
<p>&nbsp;</p>
<p><strong>结语：</strong></p>
<p>今天面试官问到，页面重构的核心思想是什么？我还是第一次听到这样的问法，就把我心里面的感觉说出来吧。</p>
<blockquote><p>分离、复用、持续维护</p></blockquote>
<p><strong>分离</strong>是指行为、样式、结构分离，最简单的例子就是HTML文档、JS、CSS分开文件。</p>
<p><strong>复用</strong>是在分离的层面上，把可以重复使用的东西，放在一起，一次定义，多次使用。比如CSS里面设置一个.fl专门用来放置浮动的，需要的时候只需要给该HTML标签添加class=”fl”即可。</p>
<p><strong>持续维护</strong>，这里有两层含义：</p>
<ol>
<li>重构对象通常是已经在提供服务的页面，任何重构的操作，都必须保证页面的可用性，防止因为重构的失误导致服务终止。</li>
<li>代码可读，罗马城不是一日建成的，页面也不是一个人月能够完成的，总是会有合作，总是会有迭代，必须保证代码的可读性。</li>
</ol>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1350.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">迟到的WebRebuild年会手札~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1246.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">住的地方</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1197.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ROG玩家国度5周年志~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1069.html&from=http%3A%2F%2Fblog.mxgw.info%2F1463.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress or Discuz!</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1463.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>平时我几乎不用的CSS相关内容</title>
		<link>http://blog.mxgw.info/1458.html</link>
		<comments>http://blog.mxgw.info/1458.html#comments</comments>
		<pubDate>Sat, 07 Apr 2012 14:45:09 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Diary』我的随笔]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1458</guid>
		<description><![CDATA[布局 Layout visibility 设置或检索是否显示对象。与display属性不同，此属性为隐藏的对象保留其占据的物理空间 如果希望对象为可视，其父对象也必须是可视的。 =*=*=*=*= 背景 Background background-size 检索或设置对象的背景图像的尺寸大小。 该属性提供2个参数值(特性值cover和contain除外)。 如果提供两个，第一个用于定义背景图像的宽度，第二个用于定义背景图像的高度。 如果只提供一个，该值将用于定义背景图像的宽度，第2个值默认为auto，即高度为auto，此时背景图以提供的宽度作为参照来进行等比缩放。 =*=*=*=*= 字体 Font font-variant 设置或检索对象中的文本是否为小型的大写字母。 =*=*=*=*= 选择器 兄弟选择器 (E~F) 属性选择器 Attribute Selectors 权重与Class一样，为10 =*=*=*=*= 属性Hack _：选择IE6及以下。 &#160; 老实说，这次的卷子，和上次的很不一样，虽然用的时间一样，但是感觉很不同~ 平时几乎不怎么使用这样的东西，偶尔用到，也就是上网查一下就出来了，这次真被考惨咯~<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F998.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Opera的字体替换真是奇怪</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F547.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">CSS学习笔记-基础知识</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F80.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">第一双AIR FORCE</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1423.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">使用监控宝监控DirectAdmin中Apache的status模块信息</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>布局 Layout</p>
<p><strong>visibility</strong></p>
<p>设置或检索是否显示对象。与display属性不同，此属性为隐藏的对象保留其占据的物理空间<br />
如果希望对象为可视，其父对象也必须是可视的。</p>
<p>=*=*=*=*=</p>
<p>背景 Background</p>
<p><strong><strong>background-size</strong></strong></p>
<p>检索或设置对象的背景图像的尺寸大小。<br />
该属性提供2个参数值(特性值cover和contain除外)。<br />
如果提供两个，第一个用于定义背景图像的宽度，第二个用于定义背景图像的高度。<br />
如果只提供一个，该值将用于定义背景图像的宽度，第2个值默认为auto，即高度为auto，此时背景图以提供的宽度作为参照来进行等比缩放。</p>
<p>=*=*=*=*=</p>
<p>字体 Font</p>
<p><strong>font-variant</strong></p>
<p>设置或检索对象中的文本是否为小型的大写字母。</p>
<p>=*=*=*=*=</p>
<p>选择器</p>
<p><strong>兄弟选择器 (E~F)</strong></p>
<p><strong>属性选择器 Attribute Selectors</strong> 权重与Class一样，为10</p>
<p>=*=*=*=*=</p>
<p>属性Hack</p>
<p><code>_：</code>选择IE6及以下。</p>
<p>&nbsp;</p>
<p>老实说，这次的卷子，和上次的很不一样，虽然用的时间一样，但是感觉很不同~</p>
<p>平时几乎不怎么使用这样的东西，偶尔用到，也就是上网查一下就出来了，这次真被考惨咯~</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F998.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Opera的字体替换真是奇怪</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F547.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">CSS学习笔记-基础知识</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1034.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">今晚画了一个简单的布局</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F285.html&from=http%3A%2F%2Fblog.mxgw.info%2F1458.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">7条显卡插槽，华硕这个变态</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1458.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>最近做的几件事</title>
		<link>http://blog.mxgw.info/1450.html</link>
		<comments>http://blog.mxgw.info/1450.html#comments</comments>
		<pubDate>Wed, 28 Mar 2012 02:38:16 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Coding』捣鼓代码]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[Timeline]]></category>
		<category><![CDATA[WordPress主题]]></category>
		<category><![CDATA[连接查询]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1450</guid>
		<description><![CDATA[学生会成员管理系统 WordPress主题 成员管理系统 基于CI框架做的，第一次用框架做东西，感触很多。 MVC模型，把前、后以及中间控制器分离了，3样东西，分开写，Coding的时候，专注于某一个细节即可，最后再联动调试。 其实这东西也不能完全算个系统，只是个半成品，后台管理功能缺乏，只能添加信息，删除信息需要在数据库中进行。 当初做这个东西，卡了我好久的问题有两个： 1、SQL的连接查询：以前从来没有连接查询这么个概念，所以到现在，虽然目的实现了，但是仅仅是通过WHERE来操作的，相信性能上会有隐患。 2、二级下拉菜单联动：从网上搜索出的一种解决方案，但是该方案仅仅是界面上的实现，功能上并未实现，加之JS的DOM操作一开始还不熟练，这里又卡我两天。 其他细节，看着CI的说明文档，基本能解决。 WordPress主题 一次偶然机会发现了Facebook的Timeline，真心喜欢。 决定自己做一个新的主题，自家用。依旧是三栏布局，左侧个人信息，右侧两栏Timeline。 现在明白为什么Facebook把Timeline每个内容的宽度设置为411px，1000px的总宽度，3栏来分，还真不够分，尤其是文章内容如果有图片或者代码啥的，窄了就不好看了。 刚开始动手写Timeline的时候，走了很多弯路，后来发现居然有jQuery Masonry plugin这么一个插件，好吧，我投降。 Timeline效果的教程：http://demos.9lessons.info/timeline/index.html 感觉还是会遇到两个问题，如下图： 其实是我偷懒了，图片代码啥的都是网上找，可是要完美实现这样的效果，图片和代码都要精确到每一个PX，开PS来修修吧。 结语 写完上面这东东，我突然觉得，这篇文章稍微润色下，可以拿去当简历材料的一部分耶。 我做东西，从前到后，涉及到jQuery\css\html\php\sql\MVC模型，求暑假实习，招我吧 ╰(￣▽￣)╮ &#160; 感触一下， CI很强大，但也很庞大了，前后端的类都有，对我而已，我只想用后端的类来简化我的工作，前端部分的，还是自己写比较放心。 路由控制是个很爽的东西，但最近才体会到，REST更爽。前后端的联系，就通过URI即可，不过还不会写REST的控制器，找空用LazyPHP+Ajax做点东西试试。 前端真悲惨，要兼容现代这么多的浏览器，最近又来一个“响应式页面设计”，虽然也是有插件的解决形式，Twitter的bootstrap也有对应的解决方案，但是对于em的不敏感，尝试几次都失败，下次再试试吧。我的作品，最小能兼容1024的宽度就好了，至于手机，给个手机模式吧。 新购入一个域名，专门备案，然后放国内，然后尝试各种CDN，可惜，备案依旧是各种麻烦，点点、SAE等都开始使用一种比较绕的方式进行域名绑定，但其实和我之前提到的伪绑定差不多，都是重定向，绕一个弯，SAE自带的CDN给废了，还有啥意思，不如自己的VPS来得爽，遇到这种能力外的事，就是纠结<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1362.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress主题修改之Html5语义化</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1069.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress or Discuz!</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F980.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">间隔5分钟，一日检测结果</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1229.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">D2主题修改系列-添加Twitter更新</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2010%2F04%2Fmvc-summing-up%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">MVC 小技巧总结 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Fwebform-take-example-by-mvc-mvc%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">那些 WebForm 可以从 MVC 借鉴的东西 —— MVC (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Fnavigation-highlight-in-mvc%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">MVC 下导航高亮的完美解决方案 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Fwebform-take-example-by-mvc-routin%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">那些 WebForm 可以从 MVC 借鉴的东西 —— Routing (@dozer)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<ul>
<li>学生会成员管理系统</li>
<li>WordPress主题</li>
</ul>
<h3>成员管理系统</h3>
<p>基于CI框架做的，第一次用框架做东西，感触很多。</p>
<p>MVC模型，把前、后以及中间控制器分离了，3样东西，分开写，Coding的时候，专注于某一个细节即可，最后再联动调试。</p>
<div class="wp-caption alignnone" style="width: 220px"><img title="CI的MVC模型" src="http://8.imgbed.com/176/201203/13872.jpg" alt="" width="210" height="512" /><p class="wp-caption-text">里面可以看到，通过CI，自己写的东西就那么几个文件</p></div>
<p>其实这东西也不能完全算个系统，只是个半成品，后台管理功能缺乏，只能添加信息，删除信息需要在数据库中进行。</p>
<p>当初做这个东西，卡了我好久的问题有两个：</p>
<p>1、SQL的连接查询：以前从来没有连接查询这么个概念，所以到现在，虽然目的实现了，但是仅仅是通过<code>WHERE来操作的，相信性能上会有隐患。</code></p>
<p>2、二级下拉菜单联动：从网上搜索出的一种解决方案，但是该方案仅仅是界面上的实现，功能上并未实现，加之JS的DOM操作一开始还不熟练，这里又卡我两天。</p>
<p>其他细节，看着CI的说明文档，基本能解决。</p>
<h3>WordPress主题</h3>
<p>一次偶然机会发现了Facebook的Timeline，真心喜欢。</p>
<p>决定自己做一个新的主题，自家用。依旧是三栏布局，左侧个人信息，右侧两栏Timeline。</p>
<p>现在明白为什么Facebook把Timeline每个内容的宽度设置为411px，1000px的总宽度，3栏来分，还真不够分，尤其是文章内容如果有图片或者代码啥的，窄了就不好看了。</p>
<p>刚开始动手写Timeline的时候，走了很多弯路，后来发现居然有<a href="http://masonry.desandro.com/" target="_blank">jQuery Masonry plugin</a>这么一个插件，好吧，我投降。</p>
<p>Timeline效果的教程：<a title="Facebook Timeline Design " href="http://demos.9lessons.info/timeline/index.html" target="_blank">http://demos.9lessons.info/timeline/index.html</a></p>
<p>感觉还是会遇到两个问题，如下图：</p>
<div class="wp-caption alignnone" style="width: 173px"><img src="http://9.imgbed.com/176/201203/13870.jpg" alt="" width="163" height="153" /><p class="wp-caption-text">多漂亮的交错</p></div>
<div class="wp-caption alignnone" style="width: 111px"><img style="border-style: initial; border-color: initial;" src="http://10.imgbed.com/176/201203/13871.jpg" alt="" width="101" height="89" /><p class="wp-caption-text">这个杯具，叠在一起了</p></div>
<div class="wp-caption alignnone" style="width: 176px"><img src="http://7.imgbed.com/176/201203/13873.jpg" alt="" width="166" height="266" /><p class="wp-caption-text">作者的DEMO多漂亮</p></div>
<p>其实是我偷懒了，图片代码啥的都是网上找，可是要完美实现这样的效果，图片和代码都要精确到每一个PX，开PS来修修吧。</p>
<h3>结语</h3>
<p>写完上面这东东，我突然觉得，这篇文章稍微润色下，可以拿去当简历材料的一部分耶。</p>
<p>我做东西，从前到后，涉及到jQuery\css\html\php\sql\MVC模型，求暑假实习，招我吧 ╰(￣▽￣)╮</p>
<p>&nbsp;</p>
<p>感触一下， CI很强大，但也很庞大了，前后端的类都有，对我而已，我只想用后端的类来简化我的工作，前端部分的，还是自己写比较放心。</p>
<p>路由控制是个很爽的东西，但最近才体会到，REST更爽。前后端的联系，就通过URI即可，不过还不会写REST的控制器，找空用<a href="https://github.com/easychen/LazyPHP" target="_blank">LazyPHP</a>+Ajax做点东西试试。</p>
<p>前端真悲惨，要兼容现代这么多的浏览器，最近又来一个“响应式页面设计”，虽然也是有插件的解决形式，Twitter的bootstrap也有对应的解决方案，但是对于em的不敏感，尝试几次都失败，下次再试试吧。我的作品，最小能兼容1024的宽度就好了，至于手机，给个手机模式吧。</p>
<p>新购入一个域名，专门备案，然后放国内，然后尝试各种CDN，可惜，备案依旧是各种麻烦，点点、SAE等都开始使用一种比较绕的方式进行域名绑定，但其实和我之前提到的伪绑定差不多，都是重定向，绕一个弯，SAE自带的CDN给废了，还有啥意思，不如自己的VPS来得爽，遇到这种能力外的事，就是纠结</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1362.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress主题修改之Html5语义化</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1069.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WordPress or Discuz!</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F980.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">间隔5分钟，一日检测结果</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1229.html&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">D2主题修改系列-添加Twitter更新</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2010%2F04%2Fmvc-summing-up%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">MVC 小技巧总结 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Fwebform-take-example-by-mvc-mvc%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">那些 WebForm 可以从 MVC 借鉴的东西 —— MVC (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Fnavigation-highlight-in-mvc%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">MVC 下导航高亮的完美解决方案 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Fwebform-take-example-by-mvc-routin%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1450.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">那些 WebForm 可以从 MVC 借鉴的东西 —— Routing (@dozer)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1450.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>jQuery Select菜单二级联动</title>
		<link>http://blog.mxgw.info/1443.html</link>
		<comments>http://blog.mxgw.info/1443.html#comments</comments>
		<pubDate>Sun, 11 Mar 2012 17:33:05 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Coding』捣鼓代码]]></category>
		<category><![CDATA[『Solution』解决方案]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[select二级联动]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1443</guid>
		<description><![CDATA[应用： 参考地址： http://wlog.cn/javascript/jquery-select.html 但文中代码只是在UI上实现了要求，在功能上，还会遇到问题。 假如这是一个表单，那么，在提交的时候，POST里面，会有多组city所对应的值。 解决方法： 1、给city所在的select去掉name标签，使其无法提交到POST 2、给选中的city的select添加name标签，使其该选中的city的值可以通过POST等方法进行传递 代码重现： &#60;script type=&#34;text/javascript&#34;&#62; $(document).ready(function(){ $(&#34;#province&#34;).change(function(){ $(&#34;#province option&#34;).each(function(i,o){ if($(this).attr(&#34;selected&#34;)) { //隐藏未选中校区的相关信息 $(&#34;.city&#34;).hide(); $(&#039;.city&#039;).attr(&#039;name&#039;,&#039;&#039;); //显示选中校区的相关信息 $(&#34;.city&#34;).eq(i).show(); $(&#039;.city&#039;).eq(i).attr(&#039;name&#039;,&#039;city&#039;); } }); }); $(&#34;#province&#34;).change(); }); &#60;/script&#62; 通过该方法，POST中就会得到city的唯一值<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F857.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WebReBuild.ORG 2010第四届年会 广州站</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F813.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">（转载）在photoshop中创建一个充满色彩的网页效果图(下)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F565.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">超强电脑桌改装</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1264.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">2011年暑期实习记</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F04%2Ftranslate-jquery-ui-css-framework-docs%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery UI CSS Framework 文档 翻译 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Ftranslate-jquery-ui-css-framework-part1-intro-and-how-to-style-a-button%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[翻译] jQuery UI CSS Framework – Part1:Intro and How To Style a Button (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fjquery-scroll_690.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery Scroll (jQuery平滑滚动) 插件 (@netsh)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fjquery-background-position-animate-plugin_629.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery Background Position Animate (jQuery背景位置变换) 插件 (@netsh)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>应用：</p>
<p><img class="size-full wp-image-1444 alignnone" title="select二级联动" src="http://blog.mxgw.info/wp-content/uploads/2012/03/20120312012045.jpg" alt="" width="276" height="48" /></p>
<p>参考地址：</p>
<p>http://wlog.cn/javascript/jquery-select.html</p>
<p>但文中代码只是在UI上实现了要求，在功能上，还会遇到问题。</p>
<p>假如这是一个表单，那么，在提交的时候，POST里面，会有多组city所对应的值。</p>
<p>解决方法：</p>
<p>1、给city所在的select去掉name标签，使其无法提交到POST<br />
2、给选中的city的select添加name标签，使其该选中的city的值可以通过POST等方法进行传递</p>
<p>代码重现：</p>
<pre class="brush: javascript; gutter: true">&lt;script type=&quot;text/javascript&quot;&gt;
  $(document).ready(function(){
  $(&quot;#province&quot;).change(function(){
    $(&quot;#province option&quot;).each(function(i,o){
      if($(this).attr(&quot;selected&quot;))
      {
        //隐藏未选中校区的相关信息
        $(&quot;.city&quot;).hide();
        $(&#039;.city&#039;).attr(&#039;name&#039;,&#039;&#039;);

        //显示选中校区的相关信息
        $(&quot;.city&quot;).eq(i).show();
        $(&#039;.city&#039;).eq(i).attr(&#039;name&#039;,&#039;city&#039;);
      }
    });
  });
    $(&quot;#province&quot;).change();
  });
&lt;/script&gt;</pre>
<p>通过该方法，POST中就会得到city的唯一值</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1335.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">VPS临时维护，web服务暂停半小时~</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1082.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">名词解析 – 反向代理</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1401.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">大内存的机子的新玩具-FancyCache</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F1494.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">纸上谈兵之高性能Web开发</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F04%2Ftranslate-jquery-ui-css-framework-docs%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery UI CSS Framework 文档 翻译 (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fwww.dozer.cc%2F2011%2F03%2Ftranslate-jquery-ui-css-framework-part1-intro-and-how-to-style-a-button%2F&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">[翻译] jQuery UI CSS Framework – Part1:Intro and How To Style a Button (@dozer)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fjquery-scroll_690.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery Scroll (jQuery平滑滚动) 插件 (@netsh)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.netsh.org%2Fposts%2Fjquery-background-position-animate-plugin_629.netsh.html&from=http%3A%2F%2Fblog.mxgw.info%2F1443.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">jQuery Background Position Animate (jQuery背景位置变换) 插件 (@netsh)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1443.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu10.04下安装MongoDB</title>
		<link>http://blog.mxgw.info/1437.html</link>
		<comments>http://blog.mxgw.info/1437.html#comments</comments>
		<pubDate>Tue, 21 Feb 2012 09:40:59 +0000</pubDate>
		<dc:creator>独自流浪</dc:creator>
				<category><![CDATA[『Coding』捣鼓代码]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[MongoDB]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.mxgw.info/?p=1437</guid>
		<description><![CDATA[通过apt-get方式安装MongoDB到Ubuntu上面 因为需要使用第三方的源，所以除了在sources.list上添加对应的源外，还要有增加相应的公钥Key才能正确安装软件。 通过apt-key增加MongoDB的公钥Key到本地Key数据库 apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 编辑/etc/apt/sources.list,添加MongoDB软件源 deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen 老版本Ubuntu请改用下面这个源 deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen 添加好源之后，我们就可以直接通过apt-get安装MongoDB了 #更新本地软件包列表信息 apt-get update #安装MongoDB apt-get install mongodb-10gen 通过apt-get方式安装后，默认MongoDB是已经启动了的，可以通过下列方式查看 netstat -tlunp tcp 0 0 0.0.0.0:27017 0.0.0.0:* LISTEN 15048/mongod 有显示有端口被Mongodb监听了，就意味着MongoDB已经正常运行了 MongoDB的配置文件位于/etc/mongodb.conf 重启MongoDB /etc/init.d/mongodb restart<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F687.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu 10.04 LTS</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F71.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ubuntu学习手札——vmware中安装ubuntu</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F255.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ARM+Ubuntu，十分看好你们（草稿）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F508.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ubuntu之i386与amd64</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2300.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一滴水中的世界 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2320.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">别具一格的玻璃吊灯 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2307.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">玫瑰主题海报欣赏 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2444.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">嘿! 这雨衣太方便了 (@xjeek)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>通过apt-get方式安装MongoDB到Ubuntu上面</p>
<p>因为需要使用第三方的源，所以除了在sources.list上添加对应的源外，还要有增加相应的公钥Key才能正确安装软件。</p>
<p>通过apt-key增加MongoDB的公钥Key到本地Key数据库</p>
<pre class="brush: bash; gutter: true; first-line: 1; highlight: []; html-script: false">
apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
</pre>
<p>编辑/etc/apt/sources.list,添加MongoDB软件源</p>
<pre class="brush: bash; gutter: true; first-line: 1; highlight: []; html-script: false">
deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen
</pre>
<blockquote><p>老版本Ubuntu请改用下面这个源</p>
<pre class="brush: bash; gutter: true; first-line: 1; highlight: []; html-script: false">
deb http://downloads-distro.mongodb.org/repo/debian-sysvinit dist 10gen
</pre>
</blockquote>
<p>添加好源之后，我们就可以直接通过apt-get安装MongoDB了</p>
<pre class="brush: bash; gutter: true; first-line: 1; highlight: []; html-script: false">
#更新本地软件包列表信息
apt-get update
#安装MongoDB
apt-get install mongodb-10gen
</pre>
<p>通过apt-get方式安装后，默认MongoDB是已经启动了的，可以通过下列方式查看</p>
<pre class="brush: bash; gutter: true; first-line: 1; highlight: []; html-script: false">
netstat -tlunp
tcp        0      0 0.0.0.0:27017           0.0.0.0:*               LISTEN      15048/mongod
</pre>
<p>有显示有端口被Mongodb监听了，就意味着MongoDB已经正常运行了</p>
<p>MongoDB的配置文件位于<code>/etc/mongodb.conf</code></p>
<p>重启MongoDB</p>
<pre class="brush: bash; gutter: true; first-line: 1; highlight: []; html-script: false">
/etc/init.d/mongodb restart
</pre>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F687.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ubuntu 10.04 LTS</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F71.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ubuntu学习手札——vmware中安装ubuntu</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F255.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ARM+Ubuntu，十分看好你们（草稿）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fblog.mxgw.info%2F508.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ubuntu之i386与amd64</font>
                    </a>
                </td>
            </tr>
        <br/>
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">来自无觅网络的相关文章：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2300.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">一滴水中的世界 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2320.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">别具一格的玻璃吊灯 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2307.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">玫瑰主题海报欣赏 (@xjeek)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect?url=http%3A%2F%2Fxjeek.com%2F2011%2F10%2F2444.html&from=http%3A%2F%2Fblog.mxgw.info%2F1437.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">嘿! 这雨衣太方便了 (@xjeek)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.mxgw.info/1437.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

