Build an MVC framework from scratch

May 04, 2016

Write PHP like a pro: build an MVC framework from scratch

I'm thrilled to announce the launch of "Write PHP like a pro: build an MVC framework from scratch", my latest online Udemy course.

Learning how to use an MVC framework puts a very powerful tool at your fingertips. Most commercial websites and web applications written in PHP use some sort of framework, and the MVC pattern is the most popular type of framework in use.

The gap between knowing PHP and using a framework can be huge. This course bridges that gap. By writing your own framework from scratch, you'll gain an understanding of just how each component works. Frameworks like Laravel, Symfony and CodeIgniter all use the MVC pattern, so understanding how an MVC framework is put together will give you a strong background to more easily learn frameworks such as these.

The course includes:

  • Model-view-controller (MVC) pattern concepts
  • Build an MVC framework in PHP from scratch, including all source code
  • Separate application code from presentation code
  • Use namespaces and an autoloader to load classes automatically

I designed this course to be easily understood by programmers who know PHP but don't know how to use a framework. Are you putting database code and HTML in the same PHP script? Want to know why this is a bad idea? Want to know how to do it better?

So please take the course, tell your friends and send me some feedback, because I will be adding more material based on your feedback.

Dave Hollingworth IT Trainer