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.
- PHP (OOP)
- MVC architecture
- MySQL
- File uploads
- HTML / CSS
- Apache / Linux environment
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;BLOG
View online demo
Pablo Garay
Personal website