<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>lanwen</title>
    <link>https://ruby-china.org/lanwen</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>Ruby China RSS 为什么不全文了？</title>
      <description>&lt;p&gt;最近两周不要说全文了，连个摘要都没有了。&lt;/p&gt;

&lt;p&gt;单纯为了增加访问量吗？&lt;/p&gt;

&lt;p&gt;不明白  &lt;/p&gt;</description>
      <author>lanwen</author>
      <pubDate>Fri, 23 Mar 2012 10:32:11 +0800</pubDate>
      <link>https://ruby-china.org/topics/2075</link>
      <guid>https://ruby-china.org/topics/2075</guid>
    </item>
    <item>
      <title>用过 Django 的来吐槽一下吧</title>
      <description>&lt;p&gt;背景：学习 python 一个月，django 不到一个月，看公司已有的 django web 代码看郁闷了，吐槽一下&lt;/p&gt;

&lt;p&gt;django 的 orm 很令人崩溃，没有自动化的 migration（想想手工 migration，很令人崩溃吧），没有类似 before_save,after_save 的 callback，数据库 schema 写在 model 里面&lt;/p&gt;

&lt;p&gt;django 的 urlsconf（类比 rails url mapping）很初级，完全只能用正则，写起来很容易有很多的重复代码&lt;/p&gt;

&lt;p&gt;django 的 template 机制很郁闷，使用的不是原生的 python 语言，而是自定义的一套。要做成 rails layout 的效果，只能不断的使用 extends xxx，或者是 template blocking，累死&lt;/p&gt;

&lt;p&gt;django 的视图函数（类比 rails controller）的 filter 功能很初级，重用能力很低，不能和 rails controller 各种 filter 机制相比&lt;/p&gt;

&lt;p&gt;如果有 django 经验的同学，能否介绍一下这些东西是否有好的解决方案？  &lt;/p&gt;</description>
      <author>lanwen</author>
      <pubDate>Wed, 01 Feb 2012 16:23:07 +0800</pubDate>
      <link>https://ruby-china.org/topics/998</link>
      <guid>https://ruby-china.org/topics/998</guid>
    </item>
  </channel>
</rss>
