<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>leeluolee (Haibo Zheng)</title>
    <link>https://ruby-china.org/leeluolee</link>
    <description/>
    <language>en-us</language>
    <item>
      <title>Puer: 实现 “低碳” 的前后端分离开发</title>
      <description>&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/leeluolee/puer" rel="nofollow" target="_blank" title=""&gt;puer&lt;/a&gt;&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;简而言之，Puer 是一个可以实时编辑刷新的前端服务器。特性一览：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt; 提供一个当前或指定路径的静态服务器&lt;/li&gt;
&lt;li&gt; 所有浏览器的实时刷新：编辑 css 实时更新 (update) 页面样式，其它文件则重载 (reload) 页面&lt;/li&gt;
&lt;li&gt; 提供简单熟悉的 mock 请求的配置功能，并且配置也是自动更新。&lt;/li&gt;
&lt;li&gt; 可用作代理服务器，调试开发既有服务器的页面，可与 mock 功能配合使用&lt;/li&gt;
&lt;li&gt; 集成了 weinre，并提供二维码地址，方便移动端的调试&lt;/li&gt;
&lt;li&gt; 可以作为 connect 中间件使用 (前提是后端为 nodejs，否则请使用代理模式)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;使用&lt;/strong&gt;&lt;/p&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /path/to/workspace ↵
puer ↵
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;img src="http://leeluolee.github.io/attach/2014-10/puer-step-1.gif" title="" alt="!puer"&gt;&lt;/p&gt;

&lt;p&gt;其它&lt;a href="https://github.com/leeluolee/puer" rel="nofollow" target="_blank" title=""&gt;移步主页&lt;/a&gt;吧&lt;/p&gt;

&lt;p&gt;这里也有简单的&lt;a href="http://leeluolee.github.io/2014/10/24/use-puer-helpus-developer-frontend/" rel="nofollow" target="_blank" title=""&gt;中文介绍&lt;/a&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;这是个极简的工具 (实现和使用)，所以两年多来一直没进行推广，都是自己和周围同事的御用品。不过最近初次发布到 HN 很意外的上了首页，意外收获了一些关注，目前应该还可以在 github trending 里找到，相信可能对大家有一定的意义。查看了关注者的区域发现国人很少，所以决定来这里推广下。&lt;/p&gt;

&lt;p&gt;为什么不发 CNode 发 ruby 圈？因为在这里曾得到有营养的反馈，产生了一些好感，就这么简单。&lt;/p&gt;</description>
      <author>leeluolee</author>
      <pubDate>Wed, 29 Oct 2014 10:55:30 +0800</pubDate>
      <link>https://ruby-china.org/topics/22333</link>
      <guid>https://ruby-china.org/topics/22333</guid>
    </item>
  </channel>
</rss>
