【发布时间】:2012-12-15 16:45:55
【问题描述】:
谁能推荐或创建一个关于如何制作类似于 Facebook 的新闻提要的教程,仅使用 Django、Tastypie(Django 的 Web 服务 API 框架)、Redis(键值存储)和 Gearman(任务队列)?
目前我有用户模型、帖子模型、收藏模型和评论模型。我已经使用这些模型创建了 Tastypie 资源,以允许收藏、喜欢、评论和发布。
我想知道如何生成直接应用于用户的提要操作。例如:
User1 commented on your post. (2 seconds ago)
User2 liked your post. (3 mins ago)
User2 & User1 favorited your post (5 mins ago)
我确实需要有关如何使用上述技术构建活动源的深入示例和教程。任何帮助将不胜感激。
【问题讨论】:
标签: django redis tastypie feed python-gearman