<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>jwu (j1wu)</title>
    <link>https://ruby-china.org/jwu</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>请教简单 ‘请求批准’ 应用数据库的设计</title>
      <description>&lt;p&gt;我现在在通过自己从头写一个简单的‘请求批准’ - Request For Approval webapp 来练手 Rails，在数据库设计这块琢磨不出最佳方案特来诚求大家的指点。&lt;/p&gt;

&lt;p&gt;app 的业务逻辑不复杂：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;每位员工都有他/她的直属上级&lt;/li&gt;
&lt;li&gt;一个上级有多个下级，每个下级只有一个直线上级&lt;/li&gt;
&lt;li&gt;每位员工都能够发起请求，由他/她的主管对其进行批准或拒绝&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;我草拟了两套方案：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;方案一将员工分成了 User 和 Superuser&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;这个方案比较直接，但貌似有重叠情况（A 君即是 Superuer 管理数位 User，但同时也是 User，有一位他的上级）
&lt;img src="//l.ruby-china.com/photo/2013/074573cf4120c39e247b48986d8aa04c.png" title="" alt=""&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;方案二将员工都视为 User，但有不同的 role&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;避免了重叠，但没有体现出 superuser has_many users, user belongs_to superuser 的关系
&lt;img src="//l.ruby-china.com/photo/2013/7ebc3a19afed16a9e88b130cee4d1649.png" title="" alt=""&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description>
      <author>jwu</author>
      <pubDate>Thu, 14 Nov 2013 00:01:58 +0800</pubDate>
      <link>https://ruby-china.org/topics/15524</link>
      <guid>https://ruby-china.org/topics/15524</guid>
    </item>
    <item>
      <title>The Best Full Stack Web Development Training Out There - From Novice To Employable, and It's FREE!</title>
      <description>&lt;p&gt;&lt;a href="http://howtocode.io/index.html" rel="nofollow" target="_blank"&gt;http://howtocode.io/index.html&lt;/a&gt; will teach you high quality web development, for free. Our aim is to take you from Novice To Employable.&lt;/p&gt;

&lt;p&gt;Watch the introduction video to learn more, discover the full course content or even watch a sample video.&lt;/p&gt;

&lt;p&gt;​Read, watch, learn and most importantly &lt;strong&gt;please share, as the full course will be built as soon as enough people have signed up. It’s you who can make it happen.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Course Content&lt;/p&gt;

&lt;p&gt;From basic HTML to advanced Ruby on Rails techniques&lt;/p&gt;

&lt;p&gt;The whole course is divided into 16 blocks which are split into topics. Instead of working on a set of small examples, you will work on a single web application, The Red Ruby Restaurant, using what you learn in each block to enhance it. At the beginning of each block, you can download an up-to-date version of the sample app if you chose not to start the course at the first block.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Block 1: Introduction&lt;/li&gt;
&lt;li&gt;Block 2: Structure with HTML&lt;/li&gt;
&lt;li&gt;Block 3: Styling with CSS&lt;/li&gt;
&lt;li&gt;Block 4: Keeping track with Git&lt;/li&gt;
&lt;li&gt;Block 5: Programming basics&lt;/li&gt;
&lt;li&gt;Block 6: Interaction with JavaScript&lt;/li&gt;
&lt;li&gt;Block 7: JQuery&lt;/li&gt;
&lt;li&gt;Block 8: The Ruby language&lt;/li&gt;
&lt;li&gt;Block 9: Object-Oriented Programming&lt;/li&gt;
&lt;li&gt;Block 10: Ruby on the web with Rails&lt;/li&gt;
&lt;li&gt;Block 11: BDD with RSpec&lt;/li&gt;
&lt;li&gt;Block 12: User interaction with Rails&lt;/li&gt;
&lt;li&gt;Block 13: Advanced Rails techniques&lt;/li&gt;
&lt;li&gt;Block 14: Deployment&lt;/li&gt;
&lt;li&gt;Block 15: Sell yourself&lt;/li&gt;
&lt;li&gt;Block 16: Workshop&lt;/li&gt;
&lt;/ul&gt;</description>
      <author>jwu</author>
      <pubDate>Mon, 21 Oct 2013 16:01:32 +0800</pubDate>
      <link>https://ruby-china.org/topics/14913</link>
      <guid>https://ruby-china.org/topics/14913</guid>
    </item>
    <item>
      <title>『调研』 面向个人开发者、小工作室的第三方支持服务</title>
      <description>&lt;p&gt;各位个人开发者、小工作室，请问你们对于第三方支持服务有兴趣吗？&lt;/p&gt;

&lt;p&gt;作为服务提供商，简单来说，我们想做的是让你们能够专注于产品，而我们为你们做好售后的支持。&lt;/p&gt;

&lt;p&gt;服务包括：&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;前期，与你们一道整理出产品 Wiki 知识库&lt;/li&gt;
&lt;li&gt;中期，专业客服基于 Wiki 知识库提供一线多渠道 (电话、电邮、在线等) 支持&lt;/li&gt;
&lt;li&gt;后期，为你们提供后期的数据分析，帮助你们更好的改善产品&lt;/li&gt;
&lt;/ul&gt;</description>
      <author>jwu</author>
      <pubDate>Wed, 09 Oct 2013 11:16:44 +0800</pubDate>
      <link>https://ruby-china.org/topics/14608</link>
      <guid>https://ruby-china.org/topics/14608</guid>
    </item>
  </channel>
</rss>
