PHP Object Oriented Programming (OOP): Inheritance (4/13)

preview_player
Показать описание

Official site

Twitter
Рекомендации по теме
Комментарии
Автор

I think he explains quite nicely while keeps the videos short and not 1-2 hours long like others do

IrakliKhakhviashvili
Автор

Your teaching is good and easy to understand. If only you had it all your videos in one video it would be easy to watch and move back and forth.

NigelFurtado
Автор

Hey thank you for the videos. I've just begun learning this awesome language after dabbling in JavaScript and thought i'd use these to accompany my reading and they do help clarify some things that weren't so clear in the writing. I don't suppose you would be able to offer a more in depth look at creating objects? Like what goes on behind the scenes kind of thing i'm trying to be really thorough in understanding the language as i'm really enjoying learning it and looking forward to creating some of my projects with it. 

nigeldorning
Автор

Hi. Thanks for the Nice Tutorials

I have a doubt regarding Inheritance explained in this video.

For Example. Bird is the base class and Pigeon, Penguin Should become the objects of the Class Bird and not extend the Bird Class.

My confusion is suppose there are 100 types of birds, does it mean there should be 100 classes which extend bird?

Or should it be like only the behaviors or properties which cannot be included in the bird class should be extended with the bird class.

piresashwin
Автор

thank you so much these videos and subtittles

hasanbolu
Автор

so you write it once and then use the term EXTENDS to use the code of the other page...

but what I don't understand is the boolean part. the TRUE determines that the $xxxx is a boolean instead of the other way around...

is a boleaan or so.. hmmm

tijnt
Автор

I'm thinking of a bird that has more or less than 2 legs. Do griffins count as birds?

strictlyunreal
Автор

find a bird with more than or less then 2 legs ;) great stuff man.

holthuizenoemoet
Автор

For some reason I'm not getting any output when I do echo $bird->getLegCount(); no errors just nothing shows on screen. If I do echo 'hello'; then it works

tayloraustin
Автор

did anyone else notice the bids tweeting in the background? must of been up late hahaha great video nevertheless :)

dannysanchez
Автор

you have confused everyone try to short the code in one file...don't use three files to include it is hard to learn..Btw nice video ;)

anuj
Автор

thanks for this great video's. like the guy beneath said, some take hours to explain what you did in minutes haha.

and it makes sence what you do. i allready know much more. i watched 1 hour videos to at the end it forgot everything.

maybe cause you also talk clear and normal. no often misstypes.

keep up this great work.

i also got a question. in a MVC structure they also use OOP? it does look the same.

thumbs up

iambalkan
Автор

In page which called Bird why did you writed getLegCount... why get?

ihabs
Автор

may i know what version of php you use above ?

ajjaberd
Автор

The thing is, these tutorials are very good but they do not explain why we should use this code... Why not just set variables and call them? that is all he is doing. John is 20 years old. What am i supposed to learn from that? How can i implement that with a web application? Show me what I can do with knowing this.

The code seems very long and unnecessary when there are easier ways to do what he is already doing.

NOT negative feedback just a simple opinion.

reecehussain
Автор

Fatal error: Call to undefined method Bird::getLegCount() in D:\xampp\htdocs\oop\index.php on line 7

TheEdendvatri
Автор

Yeah, followed this to the letter and it does not work for me.

themadmancox
Автор

How many birds have more than 2 legs?!
Nice vid though :)

maxprotongames
Автор

what is name of the editor that  you use it

mohameddawood
Автор

As a beginner in PHP I have to say that I appreciate the effort but it doesn't solve anything as a tutorial, there's no explanation at all about why you do what you do, just code and results on browser. The only thing I can get from it is copypaste but 0 learning.

I write this hoping you take it as what is it, a constructive review, as I just dropped the tutorials after the 4th video cause I was learning nothing at all.

Best regards.

gabrielmaldonado
welcome to shbcf.ru