post2024-05-12

Post detail

Starting My Journey with MVC in Pure PHP

Before I even touched Laravel, I tried to build my own MVC structure in raw PHP — here's what I learned.

#PHP #MVC #Backend #Learning

Content

Article

Why I started with pure PHP

I wanted to understand how routing, controllers, and views actually fit together before relying on a framework.

What I learned

  • separating request handling from templates makes the code easier to change
  • simple conventions matter more than clever abstractions at the start
  • once the structure is clear, moving to Laravel feels much more intentional

The takeaway

Building a small MVC stack by hand gave me a much better mental model for the frameworks I use now.

Metadata

Publishing details

Type: post

Published: 2024-05-12

Slug: mvc-pure-php-journey

Rizki Akbar

Surabaya, Indonesia

© 2026