推荐信都是比较牛的教授 会有问题吗?# Immigration - 落地生根
y*l
1 楼
原文在这里
http://www.1point3acres.com/bbs/forum.php?mod=viewthread&tid=13
实现function:
1. subscribe / unsubscribe feeds
2. mark 整个feed topic as read / unreader
table schema :
user table:.
id name ... join_date
Feed table:
id name created_date
Post table: ( 1 feed includ many posts)
id feedId created_date
Post_status table:. From 1point 3acres bbs
id userId, postId, status (read/unread) created_time
================================================
对于第二个 function, 除了用Post_status挨个mark postId, 我们 可以design 一个
table 如下:
Feed_status table:
id userId feedId status (read/unread) postTime postIdRange
如果 user mark 完了 , 还有新的post 进来 , 我们可以用Post Time 来标识,
或者我们可以用个postId range 来表示 在user mark all as read/unread 时候的所
有 postId, 我们认为 新的 postId 总是更大。
还有更好的办法么? 不知道为啥被挂了
http://www.1point3acres.com/bbs/forum.php?mod=viewthread&tid=13
实现function:
1. subscribe / unsubscribe feeds
2. mark 整个feed topic as read / unreader
table schema :
user table:.
id name ... join_date
Feed table:
id name created_date
Post table: ( 1 feed includ many posts)
id feedId created_date
Post_status table:. From 1point 3acres bbs
id userId, postId, status (read/unread) created_time
================================================
对于第二个 function, 除了用Post_status挨个mark postId, 我们 可以design 一个
table 如下:
Feed_status table:
id userId feedId status (read/unread) postTime postIdRange
如果 user mark 完了 , 还有新的post 进来 , 我们可以用Post Time 来标识,
或者我们可以用个postId range 来表示 在user mark all as read/unread 时候的所
有 postId, 我们认为 新的 postId 总是更大。
还有更好的办法么? 不知道为啥被挂了