做分层数据表时用了一下感觉不错,使用了一个增强插件Better nested set,acts_as_nested_set,把下面文档里的数据分层都用上了。

managing-hierarchical-data-in-mysql有详细的介绍。

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

   
© 2011 刘敏的Blog Suffusion theme by Sayontan Sinha