Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

Introducing MVC Frameworks in PHP Course (How To)

via Treehouse

Overview

In this course we will build upon what we have learned about Object-Oriented Programming to build a basic website. By using the Slim Microframework, we will explore common MVC concepts without the framework hiding too much functionality out of the box.

What you'll learn

  • Understand the Separation of concerns and why we use it
  • Understand Middleware (Request-Response loop)
  • Configure POST and GET Routing
  • Define Model-View-Controller (MVC) Frameworks

Syllabus

Model View Controller

"Design patterns" describe solution to common programming problems in general terms which can be used in any language. One of the most common design patterns is the Model-View-Controller (MVC) pattern. The model represents the data in your application, the view is the visual component that presents the interface for users to interact with that data, such as clickable links, form fields, and buttons., The controller is the coordinator.

Chevron 6 steps
  • Introduction to the Project

    1:42

  • MVC Design Pattern

    2:49

  • Framing our Application

    3:14

  • MVC Frameworks

    5 questions

  • Slim MVP

    5:59

  • MVP

    5 questions

Building an MVC Project

Building an MVC Project

Chevron 10 steps
  • Project Skeleton

    4:02

  • Structuring our Site

    4:50

  • Dependencies

    6:01

  • Basic Structure

    6 questions

  • Routes

    5:27

  • Map, Redirect and Named Routes

    4:28

  • Routing

    5 questions

  • Middleware

    6:32

  • Framing the Future

    1:18

  • Framework Review

    10 questions

Reviews

Start your review of Introducing MVC Frameworks in PHP Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.