PHP OOP Full Course

preview_player
Показать описание
This is the complete 6 part PHP Object Oriented Programming course for beginners course from How To Code Well.

This course includes the following PHP tutorials:

PHP OOP Tutorial 1 Class Vs Objects (0:00)
PHP OOP Tutorial 2 Class Inheritance (15:37)
PHP OOP Tutorial 3 Visibility Scopes (27:59)
PHP OOP Tutorial 4 Property Overloading50:05)
PHP OOP Tutorial 5 Class Constants (01:06:06)
PHP OOP Tutorial 6 Static Keyword (01:09:19)

Learn how to code well with the below programming resources and discounts

Programming and web development courses

Recommended resources for web developers - Our Affiliates, Referral Programs, and Sponsors

Live coding
Tues, Wed, Thurs, Sunday

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This helps support the channel and allows me to continue to make web development videos like this. Thank you for the support!

#php #oop #learnToCode ## Become a channel member
Join the How to code well YouTube channel to get access to premium programming courses, tutorials and member perks
Рекомендации по теме
Комментарии
Автор

Man you have no idea how clearly i am able to understand you compared to anyone else man. 101/100. Thank you!

danielonibokun
Автор

Thank you! I've been reading/researching OOP and your video put it all together for me. I especially liked that you showed the related errors, just being familiar with those will make created solid code easier. Can't wait to check out your other videos.

ellbrant
Автор

Thank you for this. I am not a native English speaker yet I find this tutorial quite comprehensive. This video saves my day.

nicollado
Автор

Awesome video. I've been out of the PHP loop for a few years now and this was an excellent refresher and learning experience. Thank you!

winstonmcquoid
Автор

Many thanks for the video Peter. It's always good for me to watch courses like this as a kind of refresher. I'm the type of developer that tends to forget stuff I haven't had to use over a period of time.

SkyrimBeast
Автор

Very good tutorials, thanks !
As the people below are saying your talking very clear and even in 1.5 speed it's like a breez.

YPLabs
Автор

You are awesome dude!!
I am from India and my English is not too good but how was you teaching that was totally awesome !!
And the way of teaching is also too good !!
Thanks a lot

musiclovers
Автор

Thank you for this. This made correction to some of my false theory.

jaymillena
Автор

This is really a wonderful tutorial. Thank you much!

brwoodlands
Автор

10/10 tutorials Thank you sir *respects*

majedhk
Автор

Nice tutorial! it refreshes me a lot!.

mackynyxz
Автор

Have been coding php for several years but it's pure joy to revisit fundamentals especially demonstrated so well. Do you also have tots on singleton, abstract, final classes?

sharmashivanand
Автор

That last part was tricky, because it feels like it shoul of been parent not self, sense it was defined in the parent class, but then returned in the extended class.

kensleylewis
Автор

Thanks for the video. Coming from a c# background I needed a refresher on php’s take on oop. Just one point, static declarations are simply shared values between different instances of the class. So you could in your constructor reference the static property, (let’s say it’s called add with default value 0), with add++. Each time an instance of that class is created, it will remember the value. You can’t do this with normal properties as they always default to their original value. Maybe php is different, but I wouldn’t have thought so.

slapmyfunkybass
Автор

Thanks for this great video. I could understand every word as your style is smooth and simple. I just wanted to know what kind of code editor you use because I see it's great. Thanks in advance.

mostafahsv
Автор

Why in the __set and __get methods did you use the syntax $this->$name instead of $this->name, like in the other examples?

yorkshireplumbing
Автор

Is there such a thing as an association relationship in PHP? Such that a classB can contain an instance of classA as a property inside of classB?

What you would call containment in other OO languages such as Java or C#.
If not, how could you accomplish this is PHP?

Example:
class A{
// properties
public string $name = "";
}// end class A

class B{
// properties
public $obj = new A();
}// end class B

barefot
Автор

Hi, I am did not understood one part: 1:04:41. You have 2 classes, none of classes have static method.
When you want get smth Class usually we use echo $object->parameter of metchod, and this Employee:: calls static parameters or methods, is it right? I get lost here, why you use this syntax Emplyee::. is it because it is constant?

rimantasdanilevicius
Автор

Awesome tutorial. Can you please tell me the Color Theme you are using? Thank you.

andreiindries
Автор

Hello peter, thanks for the amazing tutorial, made my concepts clear however i have one question
you called return self::$bloodType? wouldnt it be parent::$bloodType?
i tested both and it outputs the same result. so whats the recommended option self or parent considering your example above

HarisPervaiz
join shbcf.ru