Autoplay
Autocomplete
Previous Lesson
Complete and Continue
PHP OOP: Object Oriented Programming for beginners + Project
Getting Started
Section Overview (1:48)
Edwin from the future (2:27)
Code Editors I recommend (Optional Lecture) (3:38)
Web Development Software Installation (XAMPP) (5:18)
Course Exercise files (4:54)
Displaying errors in PHP (5:58)
OOP Fundamentals
Section Overview (1:04)
Defining a class (6:34)
Defining methods (5:23)
Instantiating a Class (6:04)
Defining properties (8:46)
Class Inheratance (5:06)
Access Control Modifiers (6:17)
Static Modifier (7:27)
Getters and Setters (5:30)
Referencing Parent Class with Static (6:55)
Constructors and Destructors (7:07)
OOP Project - Building a Photo Gallery System
Overview of this project (1:40)
Project Directories & Assets (4:27)
Editing and Modifying Files (8:10)
Gallery System Links (2:40)
Creating Pages (6:53)
Creating Database and User Table (3:22)
Database Class
Section Overview (1:45)
Setting Up the Database Connection (5:16)
Initializing all Includes in one file (3:27)
Init file inclusion reminder (Edwin from the future) (1:18)
Creating the Database Class (7:08)
Future Update for database class (1:10)
Automatic DB Connection Setup (3:12)
The Query Method (2:51)
Database Class Helper Methods (3:35)
Testing Query Method (6:48)
Improving our Connection to be more OOP (8:01)
The User Class
Section Overview (1:24)
Creating our User Class (3:52)
Testing our find_all method (5:23)
Static Method Usage and Challenge (2:59)
Creating a Find user id method and Solution (5:08)
Create This Query Method (5:59)
Assigning Array Values to Object Properties (4:17)
Auto Instantiation Method (4:05)
Testing the Instantiation Method (3:36)
Short Way Auto Instantiation (5:27)
Creating The Attribute Finder Method (4:52)
Adding our Instantiation Method (6:54)
Using our Instantiation Method to find all users (5:07)
Using our Instantiation Method to find 1 User (11:46)
Undeclared Object Backup Function (9:11)
Updating the Autoload Function (Edwin from the future) (5:54)
So what is going on?
The Session Class
Section Overview (1:38)
Starting Sessions (5:58)
The Checking login Method (4:16)
The Login Method (6:58)
The Logout Method (3:24)
Controlling Access to Admin (7:14)
Creating The Login Page (8:55)
Creating the Verify Method Part 1 (5:42)
Creating the Verify Method Part 1 (7:01)
Duplicate return = Important watch the whole lecture - Edwin from the future (1:09)
Login Form Creation / Download (8:06)
Creating our Login out Feature (8:39)
Creating message method (2:36)
Outputting Feedback for User (5:25)
Files Basics
Section Overview (1:33)
Understanding File Permsissions (10:08)
Magic Contants (9:21)
Uploading Files
Section Overview (1:01)
Configuring PHP for File Uploads (9:24)
Sending Files (5:24)
Analyzing Uploaded File Structure (6:33)
File Error Code Explained (9:39)
Moving Uploaded Files (9:04)
CRUD: Create Method
Section Overview (1:18)
Create Method Query Part1 (5:29)
Create Method Query Part 2 (4:05)
Inserting Last ID Method (Challenge) (3:50)
Testing our Method (Solution) (6:11)
CRUD: Update Method
Update Method Query (6:02)
Testing our Update Method (4:06)
CRUD: Delete Method
Delete Method (4:56)
Testing the Delete Method (7:54)
Abstracting and Improving
Section Overview (1:41)
Improving the Create Method (6:00)
Abstracting Tables (5:14)
Abstracting Properties (3:17)
Abstracting the Create Method Part 1 (4:59)
Abstracting the Create Method Part 2 (3:28)
Modifying the properties method (5:44)
Testing the Abstracted Create Method (3:26)
Abstracting the Update Method (4:36)
Testing the Abstracted Update Method (2:52)
Escaping Values From our Abstracted Methods (6:17)
The Photo Class
Section Overview (1:05)
Creating the Database Table for our Photo Class (3:20)
Abstracting the remaining methods (2:11)
Create the Parent Class (3:59)
Fixing lecture 90 Double Return (1:09)
Late Static Binding (7:41)
Coding The Photo Class (7:48)
Adding Class Properties (3:39)
Testing Inherited Methods (6:46)
Setting Up our Properties Array (3:35)
Building Directory Paths (9:10)
Set File Method (5:53)
Save Method Part # 1 (6:09)
Save Method Part # 2 (6:21)
HTML Form Creation (7:30)
Uploading and Testing (8:02)
Coding The HTML for our Photos Table (6:31)
Coding The PHP for a Photo Table (5:21)
Dynamic Image Path (4:52)
ADMIN PHOTOS: Deletion Section
Section Overview (1:54)
DELETE PAGE and Links Part # 1 (6:04)
DELETE Page Part # 1 (4:42)
Making our Application More Generic (11:03)
Creating The Delete Method (8:10)
Setting Up The Right Redirect Paths for Delete (3:36)
ADMIN PHOTOS: Edit Photo Section
Section Overview (1:00)
Creating The Edit Page (7:33)
Creating The Edit Page Part #2 (6:18)
Writing our PHP Code Part # 1 (7:29)
Writing our PHP Code Part # 2 (4:30)
Displaying Data (6:34)
Updating Data (2:38)
Picture and Sidebar Styling (6:12)
Installing The Text Editor (4:36)
Setting Size for Photos Page Thumbnail (3:46)
ADMIN USERS :
Section Overview (1:29)
Displaying User Page (4:58)
Working with User Image (8:33)
Creating User Image Column in DB Table (4:23)
Deleting Users (2:35)
Creating Add User Page Part # 1 (6:40)
Creating Add User Page Part # 2 : Testing (3:17)
Assigning POST values to Object Properties (4:27)
Setting Up Image Upload for User (7:31)
Creating The User Edit Page (5:08)
Updating User (7:13)
Empty Password Field Fix (2:38)
Updating User Modification (4:43)
Delete within Edit User Page (4:16)
Fixing Duplicate Record Creation Bug (1:59)
ADMIN: COMMENTS
Section Overview (1:34)
Creating the Comments Table in the Database (4:16)
Creating the Comment Class (3:27)
Self Instantiation Comment Method (5:33)
Find Comments Method (6:02)
Testing our Comment Form (4:33)
Including Our Classes in Photo.php FRONT-END (4:38)
Pulling Data From Form Part # 1 (4:26)
Pulling Data From Form Part #2 (6:26)
Displaying & Making Comments - FRONT-END (4:59)
Displaying & Making Comments - BACK-END (5:20)
Deleting Comments (2:40)
Creating the Individual Comment Page Part # 1 (5:51)
Creating the Individual Comment Page Part # 2 (3:18)
Creating the Count Comment Code and CHALLENGE (3:01)
Comment Count Link & SOLUTION (3:08)
Deleting Specific Photo Comments Code (2:45)
ADMIN: Dashboard Setup
Section Overview (1:04)
Dynamic Menu to Photo.php (4:25)
Dashboard HTML Snippets Inclusion (3:17)
Adding Google API Charts (3:02)
Tracking Page Views Method (5:57)
Creating the Count All Method and Echoing Photo Count (4:48)
Setting Up Users and Comment Counts (2:31)
Modifying Chart Properties (6:25)
Dynamic Data in Chart Creation (7:25)
FRONT-END : Gallery System
Setting Up Index to Display Photos Part # 1 (6:56)
Setting Up Index to Display Photos Part # 2 (3:48)
Correcting Photos Alignment with CSS (5:18)
Coding the PHP in Photo.php FRON-END (5:58)
Home Page Link and Footer Modifications (3:10)
FRONT-END : PAGINATION
Section Overview (1:38)
Setting Up our Pagination Variables (5:02)
Creating the Paginate CLASS (3:49)
Creating our Construct Function to Initialize some Properties (2:47)
Building our Paginate Class Methods Part # 1 (5:11)
Building our Paginate Class Methods Part # 2 (6:18)
Instantiating and Testing Paginate (7:35)
Setting Up our Next Page Link (5:20)
Putting our Next Link to Work - CHALLENGE (2:39)
Creating Previous Link - SOLUTION (3:31)
Paginate Indication and Looping (7:42)
Pagination Indication CSS (5:34)
CLEANING UP (6:16)
EXTRA FEATURES
Extra Features Overview (2:00)
Creating the Modal + HTML Snippets Download (7:08)
Including Modal from somewhere else (3:58)
Setting up our Javascript/ jQuery Code (7:25)
Enable Selection Button on Click - jQuery (3:46)
Enabling the Selection Button with jQuery (4:10)
Pulling User Id with jQuery and Javascript (7:26)
Pulling Image Name with jQuery and Javascript (3:13)
Writing the AJAX - Setting User Image (6:08)
Testing our AJAX Code (3:43)
Creating the AJAX PHP Method (5:10)
Modifying / Improving Our AJAX PHP method (8:09)
Photo Library Sidebar Part #1 - CHALLENGE INCLUDED (5:30)
Photo Library Sidebar Part #2 - SOLUTION INCLUDED (2:29)
Photo Library Sidebar Part #3 - COMPLETED (3:50)
Creating Session Methods for Notifications in the Edit User Page Part # 1 (5:02)
Creating Session Methods for Notifications in the Edit User Page Part # 2 (7:43)
Updating User Methods (6:01)
Setting Up Notifications for CRUD Part #1 (5:57)
Setting Up Notifications for CRUD Part #2 (3:43)
Installing a Multiple Upload and Drop JS File Plugin Part #1 (5:23)
Installing a Multiple Upload and Drop JS File Plugin Part #2 (5:36)
Installing a Multiple Upload and Drop JS File Plugin Part #3 - COMPLETE (3:45)
Edit Photo Page Sidebar jQuery Dropdown (7:12)
Login Page CSS (2:16)
Confirm Delete with Javascript and jQuery (4:45)
Taking our application online
Hosting setup (5:24)
Displaying errors online (3:05)
Uploading files and database creation (7:08)
Importing database and setting up configurations : CHALLENGE (3:38)
Creating an online site root path : SOLUTION (6:00)
Testing photos deletion functionality (3:12)
Extra Lectures
Database refactoring (10:08)
Updating photos with user_id (2:20)
Testing the Abstracted Create Method
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock