PHP OOP: Object Oriented Programming for beginners + Project

PHP OOP: Object Oriented Programming for beginners + Project

English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 18.5 Hours | 2.34 GB

PHP OOP: Learn OOP PHP and Take your skills to another level. Make serious money by building awesome applications.

This course will guaranteed you success if you apply yourself, and take the time to learn everything included.

PHP has allowed me to make a really great income, so much that It gives me time to teach others about it. You too can become a professional in the field, and create the life you always dreamed of.

PHP is one of the best web programming languages in the world, and all the big important websites, like Google, Apple, Facebook, Yahoo, Wikipedia and many more, use it for their web applications.

What you’ll learn

  • Learn New OOP techniques
  • Build PHP OOP applications
Table of Contents

Getting Started
1 Section Overview
2 Edwin from the future
3 Code Editors I recommend (Optional Lecture)
4 Web Development Software Installation (XAMPP)
5 Course Exercise files
6 Displaying errors in PHP

OOP Fundamentals
7 Section Overview
8 Referencing Parent Class with Static
9 Constructors and Destructors
10 Defining a class
11 Defining methods
12 Instantiating a Class
13 Defining properties
14 Class Inheritance
15 Access Control Modifiers
16 Static Modifier
17 Getters and Setters

OOP Project – Building a Photo Gallery System
18 Overview of this project
19 Project Directories & Assets
20 Editing and Modifying Files
21 Gallery System Links
22 Creating Pages
23 Creating Database and User Table

Database Class
24 Section Overview
25 Testing Query Method
26 Improving our Connection to be more OOP
27 Setting Up the Database Connection
28 Initializing all Includes in one file
29 Init file inclusion reminder (Edwin from the future)
30 Creating the Database Class
31 Future Update for database class
32 Automatic DB Connection Setup
33 The Query Method
34 Database Class Helper Methods

The User Class
35 Section Overview
36 Short Way Auto Instantiation
37 Creating The Attribute Finder Method
38 Adding our Instantiation Method
39 Using our Instantiation Method to find all users
40 Using our Instantiation Method to find 1 User
41 Undeclared Object Backup Function
42 Updating the Autoload Function (Edwin from the future)
43 So what is going on
44 Creating our User Class
45 Testing our find all method
46 Static Method Usage and Challenge
47 Creating a Find user id method and Solution
48 Create This Query Method
49 Assigning Array Values to Object Properties
50 Auto Instantiation Method
51 Testing the Instantiation Method

The Session Class
52 Section Overview
53 Duplicate return = Important watch the whole lecture – Edwin from the future
54 Login page position – (Edwin from the future)
55 Login Form Creation Download
56 Creating our Login out Feature
57 Creating message method
58 Outputting Feedback for User
59 Starting Sessions
60 The Checking login Method
61 The Login Method
62 The Logout Method
63 Controlling Access to Admin
64 Creating The Login Page
65 Creating the Verify Method Part 1
66 Creating the Verify Method part 2

Files Basics
67 Section Overview
68 Understanding File Permissions
69 Magic Constants

Uploading Files
70 Section Overview
71 Configuring PHP for File Uploads
72 Sending Files
73 Analyzing Uploaded File Structure
74 File Error Code Explained
75 Moving Uploaded Files

CRUD Create Method
76 Section Overview
77 Create Method Query Part1
78 Create Method Query Part 2
79 Inserting Last ID Method (Challenge)
80 Testing our Method (Solution)

CRUD Update Method
81 Update Method Query
82 Testing our Update Method

CRUD Delete Method
83 Delete Method
84 Testing the Delete Method

Abstracting and Improving
85 Section Overview
86 Testing the Abstracted Update Method
87 Escaping Values From our Abstracted Methods
88 Improving the Create Method
89 Abstracting Tables
90 Abstracting Properties
91 Abstracting the Create Method Part 1
92 Abstracting the Create Method Part 2
93 Modifying the properties method
94 Testing the Abstracted Create Method
95 Abstracting the Update Method

The Photo Class
96 Section Overview
97 Setting Up our Properties Array
98 Building Directory Paths
99 Set File Method
100 Save Method Part # 1
101 Save Method Part # 2
102 HTML Form Creation
103 Uploading and Testing
104 Coding The HTML for our Photos Table
105 Coding The PHP for a Photo Table
106 Dynamic Image Path
107 Creating the Database Table for our Photo Class
108 Abstracting the remaining methods
109 Create the Parent Class
110 Fixing lecture 90 Double Return
111 Late Static Binding
112 Coding The Photo Class
113 Adding Class Properties
114 Testing Inherited Methods

ADMIN PHOTOS Deletion Section
115 Section Overview
116 DELETE PAGE and Links Part # 1
117 DELETE Page Part # 1
118 Making our Application More Generic
119 Creating The Delete Method
120 Setting Up The Right Redirect Paths for Delete

ADMIN PHOTOS Edit Photo Section
121 Section Overview
122 Setting Size for Photos Page Thumbnail
123 Creating The Edit Page
124 Creating The Edit Page Part #2
125 Writing our PHP Code Part # 1
126 Writing our PHP Code Part # 2
127 Displaying Data
128 Updating Data
129 Picture and Sidebar Styling
130 Installing The Text Editor

ADMIN USERS
131 Section Overview
132 Creating The User Edit Page
133 Updating User
134 Empty Password Field Fix
135 Updating User Modification
136 Delete within Edit User Page
137 Fixing Duplicate Record Creation Bug
138 Displaying User Page
139 Working with User Image
140 Creating User Image Column in DB Table
141 Deleting Users
142 Creating Add User Page Part # 1
143 Creating Add User Page Part # 2 Testing
144 Assigning POST values to Object Properties
145 Setting Up Image Upload for User

ADMIN COMMENTS
146 Section Overview
147 Displaying & Making Comments – FRONT-END
148 Displaying & Making Comments – BACK-END
149 Deleting Comments
150 Creating the Individual Comment Page Part # 1
151 Creating the Individual Comment Page Part # 2
152 Creating the Count Comment Code and CHALLENGE
153 Comment Count Link & SOLUTION
154 Deleting Specific Photo Comments Code
155 Creating the Comments Table in the Database
156 Creating the Comment Class
157 Self Instantiation Comment Method
158 Find Comments Method
159 Testing our Comment Form
160 Including Our Classes in Photo.php FRONT-END
161 Pulling Data From Form Part # 1
162 Pulling Data From Form Part #2

ADMIN Dashboard Setup
163 Section Overview
164 Dynamic Menu to Photo.php
165 Dashboard HTML Snippets Inclusion
166 Adding Google API Charts
167 Tracking Page Views Method
168 Creating the Count All Method and Echoing Photo Count
169 Setting Up Users and Comment Counts
170 Modifying Chart Properties
171 Dynamic Data in Chart Creation

FRONT-END Gallery System
172 Setting Up Index to Display Photos Part # 1
173 Setting Up Index to Display Photos Part # 2
174 Correcting Photos Alignment with CSS
175 Coding the PHP in Photo.php FRON-END
176 Home Page Link and Footer Modifications

FRONT-END PAGINATION
177 Section Overview
178 Creating Previous Link – SOLUTION
179 Paginate Indication and Looping
180 Pagination Indication CSS
181 CLEANING UP
182 Setting Up our Pagination Variables
183 Creating the Paginate CLASS
184 Creating our Construct Function to Initialize some Properties
185 Building our Paginate Class Methods Part # 1
186 Building our Paginate Class Methods Part # 2
187 Instantiating and Testing Paginate
188 Setting Up our Next Page Link
189 Putting our Next Link to Work – CHALLENGE

EXTRA FEATURES
190 Extra Features Overview
191 Testing our AJAX Code
192 Creating the AJAX PHP Method
193 Modifying Improving Our AJAX PHP method
194 Photo Library Sidebar Part #1 – CHALLENGE INCLUDED
195 Photo Library Sidebar Part #2 – SOLUTION INCLUDED
196 Photo Library Sidebar Part #3 – COMPLETED
197 Creating Session Methods for Notifications in the Edit User Page Part # 1
198 Creating Session Methods for Notifications in the Edit User Page Part # 2
199 Updating User Methods
200 Setting Up Notifications for CRUD Part #1
201 Creating the Modal + HTML Snippets Download
202 Setting Up Notifications for CRUD Part #2
203 Installing a Multiple Upload and Drop JS File Plugin Part #1
204 Installing a Multiple Upload and Drop JS File Plugin Part #2
205 Installing a Multiple Upload and Drop JS File Plugin Part #3 – COMPLETE
206 Edit Photo Page Sidebar jQuery Dropdown
207 Login Page CSS
208 Confirm Delete with Javascript and jQuery
209 Conclusion and BONUS
210 Including Modal from somewhere else
211 Pulling Pictures Into Gallery Modal
212 Enable Selection Button on Click – jQuery
213 Enabling the Selection Button with jQuery
214 Pulling User Id with jQuery and Javascript
215 Pulling Image Name with jQuery and Javascript
216 Writing the AJAX – Setting User Image

Taking our application online
217 Hosting setup
218 Displaying errors online
219 Uploading files and database creation
220 Importing database and setting up configurations CHALLENGE
221 Creating an online site root path SOLUTION
222 Testing photos deletion functionality

Extra Lectures
223 Database refactoring
224 Updating photos with user id