ibrahimBanat / mvc-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CRUD BLOG

DATABASE

  1. see what tables and columns we need.
  2. Add dummy database.
  • CREATE

    1. user need to be logged in
    2. check if data is text
    3. check for empty fields
    4. if checks are met, do a request and create post.
  • READ

    1. Read data from the database
  • UPDATE

    1. Same as create, but wee need the values in the post.
    2. only edit his own posts.
    3. check if values are not the same or empty.
  • Delete

    1. Delete button that does a database request.
    2. check if the user id is equal to the user id of post creeation.

About


Languages

Language:PHP 99.3%Language:Hack 0.7%