v2.0.0 // AS02
PLATFORM
A modern content management system built with Laravel, demonstrating full-stack development capabilities and industry best practices.
Laravel 12
PHP 8.4
MySQL
Tailwind CSS
Blade
Git
MVC
Architecture Pattern
Model-View-Controller
8
Database Tables
With Relationships
20+
RESTful Routes
Resource Controllers
⚙️ Technology Stack
🎯
Backend Framework
Laravel 12 with Eloquent ORM
PHP 8.4 • Artisan CLI
💾
Database
MySQL with complex relationships
Foreign Keys • Migrations
🎨
Frontend
Tailwind CSS + Blade templating
Responsive • Brutalist Design
🔐
Authentication
Laravel Breeze with custom policies
Session-based • Middleware
📄 Content Management System
✓
CRUD Operations: Full create, read, update, delete functionality with validation
✓
Draft System: Schedule posts with future publication dates
✓
Featured Posts: Highlight important content on homepage
✓
Reading Time: Automatic calculation based on content length
// Eloquent Model with Accessors
public function getFormattedReadingTimeAttribute()
{ return "{$this->reading_time} min read"; }
🗂️ Category Architecture
✓
8 Categories: Multi-level content organization
✓
Slug-based Routing: SEO-friendly URLs (/category/technology)
✓
Post Counts: Live counts with eager loading
✓
Uncategorized Fallback: Prevents orphaned posts
General
Technology
Lifestyle
Travel
Food
Art & Design
Business
Entertainment
🖼️ Media Management System
✓
Laravel Storage Integration: Secure file handling with public/private access
✓
Polymorphic Relationships: Images attach to multiple models
✓
Automatic Cleanup: Orphaned images detection and removal
✓
Image Captions: Metadata support for accessibility
// Image Model Relationship
public function imageable()
{
return $this->morphTo();
}
// Usage: $post->images()->create([...])
📊 Database Schema Design
users
- id (PK)
- name
- password
- timestamps
posts
- id (PK)
- title
- content
- category_id (FK)
- user_id (FK)
- image
- published_at
categories
- id (PK)
- name
- slug (unique)
- timestamps
+ images table with polymorphic relationships
🔒 Security Implementation
- ✓ CSRF Protection
- ✓ XSS Prevention via Blade escaping
- ✓ SQL Injection Prevention (Eloquent)
- ✓ Authentication Middleware
- ✓ Admin-only Category Management
⚡ Performance Optimizations
- ✓ Eager Loading (N+1 Prevention)
- ✓ Database Indexing
- ✓ Pagination for Large Datasets
- ✓ Cached Route Loading
- ✓ Optimized Asset Delivery
👩💻
Nurul Azirah Syarizah
Full Stack Developer
This platform demonstrates proficiency in modern web development technologies and best practices. Built as part of the WY4205 Development Operations module, it showcases:
Laravel Eloquent
MVC Architecture
RESTful Design
Blade Templating
Database Design
Git Version Control
Student ID: 24FTT1101 •
Program: DADT03 •
Module: WY4205
Explore the platform to see these technologies in action.