I love how I can always punch in _literally anything_ crash course and find a traversy media. this shit is straight up nectar. can't wait to watch this in a few hours.
Everything was on point except for the "static" part. Static properties or methods are ones we can access without having to instantiate an object of their class. It's not because their value is not going to change. There is "const" for that.
Got a lot out of this Tutorial. Did it after the Object Oriented Programming block in your PHP Front-To-Back series. This one was a great follow up in many places and explained some things further. A great addendum to the course and I can see how far your Teaching Style has grown. I laughed out loud when you "scorched the Earth" and cleared the screen of all the beautiful code around the 20:45 mark! Great lesson. I was able to take great notes, and you gave enough information for me to google more in-depth answers.
thanks for the upload Brad... love this series on PHP. Looking forward to part 2 of this. Also, would love it if you would do a PHP accessing a database query (pretty please)
One of the best "crash courses" I've seen so far. This could very well be an intro lecture to a full course where you explain why to use certain things and when to. Great stuff!
Excellent video. Didn’t brush off on the most important parts like most people teaching coding do. As someone learning my advice would be to avoid naming the variable the same as the class because it makes it hard for the student to follow $my_class = new Customer is far easier to understand for a beginner than $customer = new Customer. Even though in the real world we would definitely use your example. I think for a true beginner it would add value. “This is what you can name it, but this is what you would name it”. That way they don’t think that the name of the variable is imposed on them.
OOP like I needed to learn. Quick and simple. Thanks so much. I have a handy booklet I refer to, but you answered a few questions I just couldn't wrap my head around.
@Robert ketter I am using localhost/pdoexample/ as serve port number as he did. But the site can't be reached it is showing. Can any one help me with this
@@gabszyztyle Yes this video has very low audio compared with the others he made. I have laptop and can barely heard it. The others were loud PHP front to back and Ajax
How can you inherit properties that were defined as private? You called the parent's constructor on properties that were defined as 'private'. How come?
apart from the syntax, not much has actually changed. You will get a lot of principles on place by watching this course, even though it is few years old.
you could follow it up with his PDO crash course th-cam.com/video/kEW6f7Pilc4/w-d-xo.html and then watch how to build a php framework at laracasts.com/series/php-for-beginners and finally, pick up laravel at th-cam.com/video/EU7PRmCpx-0/w-d-xo.html
you can change localhost to some custom domain name, so that your pc responds to a website like "www.blablaba.com", and your pc would display the same as "localhost". It is common practice, searh for "php change localhost to custom domain name" it depends a bit on the system and server
if you put you lectures maxim 50$, 7 people at 10people will buy your lecture but 200$ is to much, i know, your work is harder but sell a lot of lecture with low money instead few lecture with high price.... i learn few things from youtube ;) thx for this course
Why do you have to type 1 for it to echo John Doe? I am sorry but this was not one of your good tutorials. It is like most of the things I learn in OOP was almost destroyed by this tutorial. You are a good teacher but you missed it in this video.
Malick Cisse The 1 doesn’t affect the actual echoing of ‘John Doe’, it’s just there because the function getCustomer() requires a parameter of $id in the parantheses, as he defined it. (He could have typed any number he wanted). The 1 is then placed in the $id parameter. Then the function passes it to the first public $id variable in the class. If he didn’t type the 1, it would return an error, because the function needs the $id parameter. If he removed the $id parameter, he wouldn’t have to type the 1 anymore.
Thank you very much for the explanation. You simply put it but I understand the reason now. "it’s just there because the function getCustomer() requires a parameter of $id in the parantheses, as he defined it"
@@successfulpeople and if he wanted, he could've written some function using that $id, like: if ($id == $this->id) { echo $this->email; } else { echo 'Mismatch.'; }
Open to anyone to answer: is the purpose of private properties, at least in php, to enclose values from being accessed by unwelcome parties since only methods (that can only be declared by anyone with server access) can access them? Does, my question even make sense?😂
I love you brad and respect your vast knowledge but many times your beginners videos are not clear at all. You have a tendency to gloss over many concepts. For example you never explain what the -> symbol does, you use words like instantiate but never explain that. I get it. In your mind this stuff is so second nature that you don’t think every little thing needs to explained but for beginners like myself it does. I just wish you would actually explain everything you type as opposed to just typing it and expecting the user to know what you just typed. I’ve seen this in a lot of your videos and those I’ve purchased on udemy where beginner videos are not really for beginners. Once I’m experienced I can watch this video and understand but I had to go to someone else to understand what the -> and instantiate means
My tip for you if you need to understand words like instantiated or the -> symbol is: DON'T WATCH CRASH COURSES. Get your foundation right, click on 5-10 hours long videos watch them whole and then and only then come to crash courses. You cannot expect to learn foundation concepts in a crash course. It might sound harsh but that's what it is! Go and watch 3 long concept videos at least before looking for crash courses.
Hey guys! I am trying to learn this php oop but I would also appreciate if someone could assist me with my future project. I am going to be uploading some videos on youtube and I am hoping to create a website, where certain lessons are locked and are only unlocked once a previous lesson is completed. Also, users can only view a few free lessons while they have to pay for the rest... Can someone kindly assist me? cheers! I am not really good in doing a database on phpmyadmin
The attachments of object oriented programming highly determine the root of demanded training series of php pop with advanced computer language terminologies of managing the web apps in pop of php.
I love how I can always punch in _literally anything_ crash course and find a traversy media. this shit is straight up nectar. can't wait to watch this in a few hours.
Exactly! And is always so good too. I've been paying for courses that take very long to get to the point and sometimes i just need the basics
@@junioresnc so happy I discovered this channel
Everything was on point except for the "static" part. Static properties or methods are ones we can access without having to instantiate an object of their class. It's not because their value is not going to change. There is "const" for that.
Got a lot out of this Tutorial. Did it after the Object Oriented Programming block in your PHP Front-To-Back series. This one was a great follow up in many places and explained some things further. A great addendum to the course and I can see how far your Teaching Style has grown. I laughed out loud when you "scorched the Earth" and cleared the screen of all the beautiful code around the 20:45 mark! Great lesson. I was able to take great notes, and you gave enough information for me to google more in-depth answers.
traversy is just the best in what he do.....lets give this man a noble prize.
FINALLY a detailed and well explained video on classes! Thank you!
Great video, I tried a paid course to learn this without luck and this was much better and to the point!
Traversy Media is on top as always! Best tutorials ever posted on TH-cam.
I always refer people to this video who want to understand the OOP. Short and clean video.
It's awsome . Short and sweet. Ideal for people who want to learn and refresh. Very structured .. gonna save it.
Belated! But thanks Brad. You always have the best coding tutorials. Many thanks Again :D
man you explained it all simply in 24 relaxed minutes while my instructors in university spent 3 months to explain and yet sucked.
Because your instructors were taught by teachers who did not understand the essence of OOP ;)
You did a great job man... Thanks for the tutorial
thanks for the upload Brad... love this series on PHP. Looking forward to part 2 of this. Also, would love it if you would do a PHP accessing a database query (pretty please)
I am using localhost/pdoexample/ as serve port number as he did. But the site can't be reached it is showing. Can any one help me with this
The only PHP OOP crash course on the internet. Traversy should re-create this video.
One of the best "crash courses" I've seen so far. This could very well be an intro lecture to a full course where you explain why to use certain things and when to. Great stuff!
Your iCloud storage is full bro.
I am using localhost/pdoexample/ as serve port number as he did. But the site can't be reached it is showing. Can any one help me with this
@@sabyasachidas873 check your wamp/xamp configuration
@@aleksanderwalczuk6520 yeah that i resolved in Xampp the port number was different.
😂
Excellent video. Didn’t brush off on the most important parts like most people teaching coding do. As someone learning my advice would be to avoid naming the variable the same as the class because it makes it hard for the student to follow $my_class = new Customer is far easier to understand for a beginner than $customer = new Customer.
Even though in the real world we would definitely use your example. I think for a true beginner it would add value. “This is what you can name it, but this is what you would name it”. That way they don’t think that the name of the variable is imposed on them.
OOP like I needed to learn. Quick and simple. Thanks so much.
I have a handy booklet I refer to, but you answered a few questions I just couldn't wrap my head around.
@Robert ketter I am using localhost/pdoexample/ as serve port number as he did. But the site can't be reached it is showing. Can any one help me with this
Very good video! Perfect!!!!!!!! Thank you for your help!
oriented != orientated
return false;
it's actually the same - it's just British.
like Aluminum vs. Aluminium.
I love your teaching style but you should do a video showing how to integrate phpmyadmin database and php oop, woud be more practical....
Still relavant in 2022. Great!
Well am actually learning php but this Video is very good to learn and easy teached.
Thank you for this video! Helps a lot.
Awesome video
please if possible make the recording in high volume, thanks
use a headset/headphone
@@gabszyztyle Yes this video has very low audio compared with the others he made. I have laptop and can barely heard it. The others were loud PHP front to back and Ajax
Enjoyed it a lot - thanks.
Thanks for the crash course! :)
good one . Thanks
Its been 3years, but did you clean your iCloud storage!?
definately subscribed and liked. great perosn.
Are abstract members just php's version of prototypes?
Very epic tutorial.
Done with Front to Back, PDO and this one. Is it worth taking his Udemy course on Object Oriented PHP & MVC or directly take some Laravel course?
Thank you!
Yoo nice tutorial 🚀
How can you inherit properties that were defined as private? You called the parent's constructor on properties that were defined as 'private'. How come?
Is there a newer version somewhere or is this still 'current'?
apart from the syntax, not much has actually changed. You will get a lot of principles on place by watching this course, even though it is few years old.
great video
Muchas gracias
Thanks Brad. I think your i cloud storage is almost full btw
Is there any second part of this?
you could follow it up with his PDO crash course th-cam.com/video/kEW6f7Pilc4/w-d-xo.html and then watch how to build a php framework at laracasts.com/series/php-for-beginners and finally, pick up laravel at th-cam.com/video/EU7PRmCpx-0/w-d-xo.html
At line 13, what would happen if you put $name instead of $id? Most of the tutorials use $id instead of $name or $email etc...
Thanks.
How does he go to the local.dev URL? Usually I have to go to the localhost/directoryname
he changed the URL directory
you can change localhost to some custom domain name, so that your pc responds to a website like "www.blablaba.com", and your pc would display the same as "localhost". It is common practice, searh for "php change localhost to custom domain name" it depends a bit on the system and server
Can you please do front to back on php object oriented. Please I need it like mad
Enjoying this, BUT...with your content being monitized, you need to speak up, or increase the volume. The commercials are quite jarring.
I am using localhost/pdoexample/ as serve port number as he did. But the site can't be reached it is showing. Can any one help me with this
if you put you lectures maxim 50$, 7 people at 10people will buy your lecture
but 200$ is to much, i know, your work is harder but sell a lot of
lecture with low money instead few lecture with high price.... i learn
few things from youtube ;) thx for this course
It's udemy those prices an illusion they all actually sell for 10$ lol
Why do you have to type 1 for it to echo John Doe? I am sorry but this was not one of your good tutorials. It is like most of the things I learn in OOP was almost destroyed by this tutorial. You are a good teacher but you missed it in this video.
Malick Cisse The 1 doesn’t affect the actual echoing of ‘John Doe’, it’s just there because the function getCustomer() requires a parameter of $id in the parantheses, as he defined it. (He could have typed any number he wanted). The 1 is then placed in the $id parameter. Then the function passes it to the first public $id variable in the class. If he didn’t type the 1, it would return an error, because the function needs the $id parameter. If he removed the $id parameter, he wouldn’t have to type the 1 anymore.
Thank you very much for the explanation. You simply put it but I understand the reason now. "it’s just there because the function getCustomer() requires a parameter of $id in the parantheses, as he defined it"
@@successfulpeople and if he wanted, he could've written some function using that $id, like:
if ($id == $this->id) {
echo $this->email;
} else {
echo 'Mismatch.';
}
❤️
How many adverts??? It's like watching ITV
Open to anyone to answer: is the purpose of private properties, at least in php, to enclose values from being accessed by unwelcome parties since only methods (that can only be declared by anyone with server access) can access them? Does, my question even make sense?😂
i loved the html and css and i know c# but this was not good for me to watch :P
I love you brad and respect your vast knowledge but many times your beginners videos are not clear at all. You have a tendency to gloss over many concepts. For example you never explain what the -> symbol does, you use words like instantiate but never explain that. I get it. In your mind this stuff is so second nature that you don’t think every little thing needs to explained but for beginners like myself it does. I just wish you would actually explain everything you type as opposed to just typing it and expecting the user to know what you just typed. I’ve seen this in a lot of your videos and those I’ve purchased on udemy where beginner videos are not really for beginners. Once I’m experienced I can watch this video and understand but I had to go to someone else to understand what the -> and instantiate means
My tip for you if you need to understand words like instantiated or the -> symbol is:
DON'T WATCH CRASH COURSES. Get your foundation right, click on 5-10 hours long videos watch them whole and then and only then come to crash courses. You cannot expect to learn foundation concepts in a crash course.
It might sound harsh but that's what it is! Go and watch 3 long concept videos at least before looking for crash courses.
PHP just got more confusing
TEXT IN THE VIDEO TOO SMALL.
try playing the video at higher resolution
Hey guys! I am trying to learn this php oop but I would also appreciate if someone could assist me with my future project. I am going to be uploading some videos on youtube and I am hoping to create a website, where certain lessons are locked and are only unlocked once a previous lesson is completed. Also, users can only view a few free lessons while they have to pay for the rest... Can someone kindly assist me? cheers! I am not really good in doing a database on phpmyadmin
stick to piano
Orientated
Would be more watchable without damn keyboard sounds
Good presentation of the material but you need to learn proper grammar! The word is Object-Oriented, not Object-Orientated!!! lol ;)
You are misleading...You aren't using the programming patterns appropriately.
I hate oop so much. Just make harder for new programmers to understand and creat a stuff.
Object oriented, not orientated. :D
You have to improve your voice in the video. so, we can easily understand what you speak.
Is it just me, or does PHP kind of suck?
The attachments of object oriented programming highly determine the root of demanded training series of php pop with advanced computer language terminologies of managing the web apps in pop of php.