PHP Front To Back [Part 20] - OOP

preview_player
Показать описание
In this video I will introduce object oriented programming in PHP using classes, properties and methods

CODE: Code for this video

EDUONIX COURSES: Please use affiliate links from website below

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

Nice to see the man behind the voice :) Keep up the good work !!!

thebrasilparadise
Автор

Absolutely good work Brad! I'm a spanish-speaker and generally don't understand to english speaker but your English is really clear! And of course, I'm going to support you in the near future as you do with us!

LuisHernandez
Автор

Thanks for the great video! One of the BEST explanations of Classes and Inheritance I have ever seen.

A few comments:
1. The video of you in the corner is a little distracting, and really doesn't add any value other than ownership.
2. Instead of the word "arrow" for the object operator, may I suggest "dart". Smoother, cleaner, and never confused with the greater than sign.
3. You should NEVER put markup directly in your Object Methods. You can never anticipate what else the property might be used for.
4. It's always a good idea to wrap your concatenation operators with a single space. It reads cleaner, and is less likely to be overlooked.

Note: For anyone watching this after 2019 using PHP 7.4+, "Getters and Setters" have been replaced by Typed Properties.

Thanks again and keep up the great work!

PwrSrg
Автор

Good idea. I feel it’s easier to understand concepts when looking at people while there are explaining them. You could also do this when you are discussing general topics (not actually coding).

AlphaScorpii
Автор

There's nothing ugly about a man who would go so far to bring quality content for free to anyone who seeks it. Remember that buddy.

baberaham
Автор

nice to see your face! your videos are really helping.

jamiluhassan
Автор

wow!! for the first time i see who is the man behind all this great stuff!!! nice to see you bro!

mrbrush
Автор

We just love this man...much LOVE from Ghana --- west Africa University of Ghana Computer Science students....

littlegenius
Автор

Thank you for this wonderful video.
I am just wondering the Customers class has parent::__construct($name, $email, $balance);
Should $balance be there? Parent class doesn't have balance and just wondering why we should put that in there.

mikekang
Автор

Hi. Thanks for the greate tutorials!
One thing:
parent::__construct($name, $email, $balance);
This is like a super() in Python or Java etc.
You don't need $balance here, cuz it is not extending from Person.

Spinorez
Автор

This is the first of your PHP videos that has me scratching my head. Maybe the whole concept of OOP just isn't sinking in. Awesome series BTW.

MrBrandonh
Автор

very good tutorial for basic OOP. Will you touch more "advanced" topic later on? And hell yeah that facetime or whatever
you called is awesome! :)

attilakatona
Автор

This was yet another very Challenging Tutorial. I wrote my first bit of Object Oriented Programming with this, and understood it for the first time. I think I'm going to do your Crash Course on PHP OOP before moving on to the next lesson. Fantastic job! It all made sense in the end. I'm amazed at how you manage to fit all the stuff in. I've also been taking copious notes of the things you point out during the instruction. Thanks a bunch!

busyrand
Автор

Face behind your voice is great. Makes the learning procedure more dynamic!

mdasifullah
Автор

yeah this is very best way to interact.

rajmagar
Автор

Thanks Brad! You've moved me from a novice to a starter. Really appreciate your good works. Keep it up man.
btw, the facetime thing is cool

EmmanuelEgomson
Автор

Thanks Brad! these 2017 videos seem a day breaker especially looking at OOP.

benjaminboateng
Автор

I've been at this since last night and I have no words to describe the appreciation. Thank you for taking time and effort to help other programmers and those who want to get involved in this. Looking for more.

AK-urme
Автор

maybe video series about php security?

iyydha
Автор

Yes, the avatar is needed to discourage stealing and redistribution. Also... I've heard of people putting sticky notes or photos on top of their avatar on their monitor -- because looking at yourself while you talk can be distracting and unsettling. But I guess if you did it a lot, you'd probably get used to it.

Bookshelfstorage