Guidelines for good schema design

Comparing #2 with #3

Revision #3 was created by 张 迪 张 迪 on Nov 9, 2011, 6:18:28 AM.

add chinese translation

Content

[...]
$model->post
$model->comments
$model->author
$model->members

If you have to look it up, it makes the code much more difficult to read and maintain.

 
 
[Chinese translation](http://www.yiiwiki.com/wiki/view/id/10/title/%E8%89%AF%E5%A5%BD%E7%9A%84%E6%9E%B6%E6%9E%84%28schema%29%E8%AE%BE%E8%AE%A1%E6%8C%87%E5%8D%97 "中文翻译")