- Django Project Blueprints
- Asad Jibran Ahmed
- 201字
- 2021-07-16 10:37:46
Requirements
For any complex application, it is always a good idea to know what features we need to work on before we jump into coding. Let's look at what we want to create in this chapter.
We want to have a Django-based link sharing and discussion site like Hacker News. The site should have user accounts, allow users to share links, have a page where these links are listed in some defined order, and allow users to vote and comment on those links.
Additionally, we'd like to have safeguards against spammers and malicious users who would degrade the content quality of our site if left unchecked.
In a list form, here are the features that we want our application to provide:
- User registration and authentication (already provided in the code pack)
- Link submission by users
- Voting on links submitted by other users
- Commenting on the submissions and replying to comments by other users
- An algorithm to rank the submitted links in some defined order that depends on a number of factors including the votes for that link, number of comments, and age of the submission
- A way to disallow spammers from creating scripts that can automatically flood our site with submissions
推薦閱讀
- Ansible權威指南
- Linux從零開始學(視頻教學版)
- 蘋果電腦玩全攻略 OS X 10.8 Mountain Lion
- 異質結原理與器件
- Linux就該這么學
- Moodle 3.x Teaching Techniques(Third Edition)
- 嵌入式實時操作系統μC/OS原理與實踐
- 嵌入式系統及其應用(第三版)
- Android物聯網開發細致入門與最佳實踐
- Dreamweaver CS5.5 Mobile and Web Development with HTML5,CSS3,and jQuery
- Linux服務器配置與管理
- Learning BeagleBone
- Advanced Infrastructure Penetration Testing
- CSS揭秘
- 辦公自動化教程(Windows7+Office2010)