This project is a simple Blog Management System developed using Object-Oriented Programming (OOP) in PHP. It was created as part of an internship interview task to demonstrate understanding of OOP concepts, MVC-style structure, and PHP web development.
The system allows users to create, update, and manage blog posts with a simple and clean structure.
- 🔐 User authentication (Login system)
- ✍️ Create blog posts
- ✏️ Update blog posts
- 📄 View blog posts
- 🗂 Organized project structure using OOP principles
- 🎨 Simple frontend with CSS
- PHP (Object-Oriented Programming)
- HTML
- CSS
- OOP (Classes & Objects)
- MVC-style structure
- Authentication handling
- CRUD operations
Blog_OOP_PHP
│
├── auth/ # Authentication logic
├── components/ # Reusable components
├── config/ # Database configuration
├── controllers/ # Application controllers
│
├── css/ # Stylesheets
├── images/ # Blog images
│
├── login/ # Login pages
├── user/ # User management
│
├── admin.php # Admin dashboard
├── create.php # Create blog post
├── update.php # Update blog post
├── message.php # Messages
├── index.php # Main blog page
│
├── .htaccess # Apache configuration
└── README.md
git clone https://github.com/sahangeesara/Blog_OOP_PHP.gitPlace the project folder inside:
xampp/htdocs/
or
wamp/www/
Edit database settings inside:
config/database.php
Example:
$host = "localhost";
$user = "root";
$password = "";
$database = "blog_db";Open your browser:
http://localhost/Blog_OOP_PHP/
This project was created to demonstrate:
- Understanding of Object-Oriented Programming in PHP
- Ability to structure a small MVC-style web application
- Implementation of CRUD operations
- Basic authentication system
Sahan Geesara
- PHP Developer
- Full Stack Developer
📍 Sri Lanka