PHP代写 | INET 2005 WEB APPLICATION DEVELOPMENT I

本次PHP代写是完成一个简单的发帖网站

INET 2005 WEB APPLICATION DEVELOPMENT I

Phase 2 Requirements – Site Front-End/Feed Area

REQ-001 DISPLAY OF PUBLIC FEED PAGE (HOMEPAGE)
End-users navigating to the website in a web browser will be presented with a main feed page listing all of the current posts submitted by the various users registered on the site.
• The posts in the feed should be listed in descending chronological order based on the date and time of posting. (ie, most recent listed first)
• In addition to the desired content to be displayed, each post in the feed should also display the date and time that the post was created. The date format can take one of many forms. The choice is yours.
• A ‘Create New Post’ button should be presented somewhere on the page when the end-user is logged in but should not be visible when an anonymous user visits the page.
• If the user is currently logged in to the feed, each post in the feed should also display an ‘Edit’ button, but only for those posts that were created by the logged-in user.
• If the user is currently logged in to the feed, each post in the feed should also display a ‘Delete’ button, but only under the following conditions:
o The authenticated user owns the post, or the authenticated user is a Moderator. (Moderators can delete any post)

REQ-002 CREATION OF CREATE POST AND EDIT POST PAGES, SOFT DELETION OF POST
As mentioned in REQ-001, users who are authenticated should be presented with buttons on the main feed page to create, edit, and delete certain posts belonging to the user.
Create Post Page
When the authenticated user clicks on the ‘Create New Post’ button, they should be presented with a form that will enable them to create a new post.
• The page should present all fields to create the new post
• The fields should present appropriate validation.
Edit Post Page
When the authenticated user clicks on the ‘Edit’ button for a specific post, they should be presented with a form that will enable them to edit the post.
• The page should present all fields to create the new post
• The fields should present appropriate validation.

Post Soft Deletion
• When the authenticated user clicks on the ‘Delete’ button for a specific post, the post should be soft deleted.

REQ-003 ADD NECESSARY MIDDLEWARE TO PREVENT UNAUTHORIZED ACCESS TO USER ADMINISTRATION PAGES
Create and implement a Laravel Middleware which checks whether or not the currently authenticated user has been assigned the User Administrator role. (Note: there is already an existing Middleware which checks where the user is authenticated)
If the user is deemed not to have the required role, then the user should be redirected back to the previous page from where they came, and a Session Flash message should be displayed informing the user that they do not have access to the requested page.


程序代写代做C/C++/JAVA/安卓/PYTHON/留学生/PHP/APP开发/MATLAB


本网站支持淘宝 支付宝 微信支付  paypal等等交易。如果不放心可以用淘宝交易!

E-mail: [email protected]  微信:itcsdx


如果您使用手机请先保存二维码,微信识别。如果用电脑,直接掏出手机果断扫描。

blank

发表评论