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

YouTube

PHP for Absolute Beginners

Traversy Media via YouTube

Overview

This course is for absolute beginners and will give you a great kickstart to learning PHP. We'll first talk about what PHP is and why we should learn it, then we will setup a working environment and start coding.

This video covers all the basics:

- How to declare Variables
- How to work with strings, Arrays
- How to work with file System
- How to use cURL to fetch resources
- Object Oriented PHP
- Namespaces
- Composer
- Autoloading and much more...

At the end of this course we will create a CRUD (CREATE, READ, UPDATE, DELETE) application 3 times. First, we will create it as beginner and see what PHP code looks like without best practices, then we will refactor our application and make it more optimal. We will learn how to use composer, autoloading and we'll create a mini MVC framework with custom routing and then build the final version of our CRUD application using the framework

Syllabus

- Introduction.
- Course Overview.
- What is PHP and why you should learn it?.
- Setup working environment.
- PHP Syntax.
- Comments.
- Variables.
- Numbers.
- Strings.
- Arrays.
- Associative Arrays.
- Conditionals (If-else, switch).
- Loops.
- Functions.
- Dates.
- Including files.
- Working with File System.
- OOP.
- cURL.
- Start working on Products CRUD (bad version).
- Setup connection to database.
- Select & display products from MySql.
- Products CRUD: Creating Product functionality.
- $_GET & $_POST.
- Save data in MySql.
- Form Validation.
- Uploading Image.
- Delete Product.
- Update Product.
- Product Search.
- Improve Products CRUD: Code refactoring.
- Namespaces & Autoloading with composer.
- Install packages using composer.
- MVC Framework with Custom Routing.
- MVC Controllers.
- MVC Views.
- MVC Models.
- Setup Apache Virtual Hosts.
- Sessions.
- Cookies.

Taught by

Traversy Media

Reviews

Start your review of PHP for Absolute Beginners

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.