-
Notifications
You must be signed in to change notification settings - Fork 7
Day 3 Requirement analysis and Build your first view
You can download the source code of this tutorial from: https://github.com/pkufashuo400/yabe-lift/tree/yabe-day-3
The blog system that we are going to develop is a single blog system with multi-users. There will be three user-roles under this system: Super User, Normal User and Anonymouse User
- All users will be able to read posts and leave comments.
- Normal Users can login to create and edit posts for the blog system.
- Super Users can login to manage all posts, comments, tags and users.
Additional Requirements for this system include:
- The homepage of the system should display a list of the posts.
- The system should display a post together with its comments.
- The system should be able to list posts with a specified tag.
Vimeo video link: http://www.vimeo.com/27254807
Tudou video link: http://www.tudou.com/programs/view/B3H7MSHbWJk/
Because I am going to develop a blog system that has similar functions as playframework’s official yabe tutorial. So I won’t redesign the view. I will just use the design from http://www.playframework.org/documentation/1.2.2/guide3
.
我们将开发一个多用户共享的单一blog系统。 用户角色有三种:管理员,普通用户和匿名用户
- 所有用户都具有读文章和评论的权限。
- 普通用户可以创建和管理自己的文章。
- 管理员可以具体全部权限,包括管理文章、tag、评论和用户
本系统的其他要求包括:
- 首页列出所有文章的标题
- 查看文章时,下面会显示所有的评论
- 能根据tag列出相应的文章
因为我想要达到和playframework的教程中yabe相似的效果。所以我不再重设计网页的模板,而会参考http://www.playframework.org/documentation/1.2.2/guide3
.