Skip to content

PabloGarayOk/Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Blog with MVC Architecture

This project is a simple blog application developed in PHP using the MVC (Model-View-Controller) architecture. It allows creating and displaying blog posts with title, publication date, content, and an associated image.

The application provides:

  • A public blog view displaying published posts
  • A form to create new blog entries
  • Image upload support
  • Navigation between blog view and post creation form

This project demonstrates backend fundamentals such as form handling, file uploads, database interaction, and MVC structure.

Technologies & Concepts

  • PHP (OOP)
  • MVC architecture
  • MySQL
  • File uploads
  • HTML / CSS
  • Apache / Linux environment

Database setup

To run this project, create the database and table using the SQL script provided in create data base.sql, or execute the following query:

CREATE TABLE ddbb_blog.contenido (
  Id INT NOT NULL AUTO_INCREMENT,
  Titulo VARCHAR(30) NOT NULL,
  Fecha DATETIME NOT NULL,
  Comentario TEXT NOT NULL,
  Imagen VARCHAR(50) NOT NULL,
  PRIMARY KEY (Id)
) ENGINE = InnoDB;

Live demo

BLOG
View online demo

Author

Pablo Garay
Personal website

About

This project is a simple blog application developed in PHP using the MVC.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published