Giter Site home page Giter Site logo

blog's Introduction

J3.L.P0020. Simple Blog_Filter 500

Blog Title: Simple Blog Background You want to build a simple blog. It is a place for member to post their articles, and interact between members through the comment function on each article. Program Specifications In this assignment, you are requested to build a simple blog. You must use Filter as Main Controller and follow MVC2 model. Features: This system contains the following functions:

  • Function 1: Registration – 50 points o Registration a new account: email, name, password, role, status (email as ID). o The default role of new account is member. o The default status of new account is New. o Password must be encrypted using SHA-256 before store in database.
  • Function 2: Login – 50 Points o The actor enters ID and password, the function checks if the ID with the password is in the available account list, then grant the access permission. If not, a message would appear no notify that account is not found. o Login function includes logout and welcome functions.
  • Function 3: Article Search – 50 Points o List the available article in the system and sort by date: tittle, shortDescription, author, date. o Each page has a maximum of 20 records displayed. Paging is required to use. o User inputs the text that they want to find and click the Search button or the Enter key. A list article which contain the search keyword (search by content). o Login is not required.
  • Function 4: Article Detail – 50 Points o List the available article in the system and sort by date. o Each page has a maximum of 20 records displayed. Paging is required to use. o When clicking on the title column in each record, the details of the article are displayed: title, short description, content, author, posting date and the list of corresponding comments. o Login is not required.
  • Function 5: Post the article – 50 points o In order to post the article to the blog an authentication is required. o If the user has not authenticated, the system redirect to the login page. o Members can post their articles on the blog and wait for the admin's approval. o The default status of the article is New. The status will be changed to Active if the admin accepts that post. o Only member can use this function.- Function 6: Post the comment – 50 points o In order to post the comment an authentication is required. o If the user has not authenticated, the system redirect to the login page. o Members can post their comment on the article. o Only member can use this function
  • Function 7: Blog process – 150 points o List first 20 articles in the system order by date. Paging is required to use. o Support search function: by article name, status (New, Delete, Active). o User inputs the text that they want to find and select article’s status after that click the Search button or the Enter key. A list article which contain the search keyword (search by content) o Delete or approval the selected article. o Update list article after delete or approval. o Delete action is update the status to Deleted. o Approval action is change the status to Active o Only admin account can use this function.
  • Function 8: Authentication available email – 50 points (extra) o Authentication available email when registering a user. o When registering a new account, the system will send a confirmation code to the email address. o After entering the verification code, the status of the account will change to Active. o Only member can use this function.
  • The above specifications are only basic information; you must build the application according to real requirements.
  • You have to build your own database.
  • The lecturer will explain the requirement only once on the first slot of this assignment.

blog's People

Contributors

toaitoai35 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.