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

Udemy

PHP From Scratch 2024 | Beginner To Advanced

via Udemy

Overview

Learn PHP fundamentals then build a job listing website from the ground up, using a Laravel-like infrastructure

What you'll learn:
  • Learn the fundamentals of PHP programming
  • Learning modules for data types, functions, loops, OOP, databases and more
  • Build a job listing website from the ground up without using any frameworks or libraries
  • Create a custom Laravel-like router that takes params & middleware
  • Learn to utilize namespaces and PSR-4 Autoloading
  • Build an authentication system using sessions
  • Great precursor if you plan on learning Laravel

This course is broken up into two parts. First, we have seven learning modules to learn the fundamentals of PHPprogramming, including:


  • Data Types & Variables

  • Arrays & Iteration

  • Control Structures & Conditionals

  • Functions & Scope

  • Object Oriented Programming

  • Superglobals ($_GET, $_POST, $_SESSION, $_COOKIES, etc)

  • Database Integration & PDO

After that, we go for a hands-on approach and build a job listing website. We build this from the ground up without any framework or libraries. These sections will teach you how to structure a vanilla PHP project and is a great precursor to learning Laravel or another framework.


Here is what we will do in the project videos:


  • We will create a custom Laravel-like router. We will refactor this a bunch of times to keep adding features like accepting HTTP methods, params and middleware.

  • We will structure our project into two main folders, which will be called Framework and App. Framework will be the core that includes classes like Router, Database, Validation, and Session. App will include our controllers and views.

  • We will create CRUD operations for job listings.

  • We will implement an authentication and authorization system as well as protect routes using custom middleware.

  • We will add a search feature to search/filter listings by keywords and/or location

  • We will learn to validate and sanitize data as well as use prepared statements with PDO to protect against SQL injection attacks.

If you are a beginner, I suggest taking the course from the beginning and go through all of the learning modules. If you are more experienced and know the fundamentals, you can jump right into the project.






Taught by

Brad Traversy

Reviews

4.7 rating at Udemy based on 1212 ratings

Start your review of PHP From Scratch 2024 | Beginner To Advanced

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.