Skip to content

waking-eni/news-portal-mvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

news-portal-mvc

News portal

OOP PHP, HTML, CSS, JavaScript, jQuery, AJAX, Bootstrap, MySQL, WampServer

Back-end: OOP PHP and MySQL for the database
Front-end: HTML, CSS, Bootstrap, jQuery, JavaScript, AJAX
Design pattern: MVC, Singleton for Database class
Server: Apache (using WampServer)


Functionalities:

  • Displaying a list of news (with desired information and images), ordered by date descending, on home page
  • Listing all categories in sidebar, and being able to display all news that belong to chosen category
  • Separate log in for users and administrators
  • Sign up
  • Log out
  • Client side validation
  • Server side validation
  • SQL injection prevention
  • Session
  • Showing username of the person who logged in on each page
  • Showing sign in options only when there is no person logged in
  • If a person is logged in, show log out option
  • Pagination system
  • Displaying a chosen article (with images and their sources)
  • Users, administrators and anonymous people can add comments to articles
  • Users can delete their own comments
  • Administrators can delete any comment
  • Administrators can delete articles
  • Administrators can add a new article
  • Comment functionality with AJAX