brad this video is amazing. You can actually teach. Your the only person I've come across who's tutorials don't speak like the person has some special knowledge. You explain in depth covering the exact parts that always have confused me. It's realy helpful that you go over the things which seem to mean nothing but actually are the key to understanding whats happening. Thanks for the video
Thanks! Most of the programming tutorials are going so fast, like it's a typing contest instead of a tutorial. You're doing it just right, I really appreciate it.
Wao Brad i must recommend your effort and teaching skills this is the best video i ever came a crossed on the internet that explained concept of OOP in php thank you.
I slowed it down to .5 to keep up better... Now Ray Romano is teaching me about Object Oriented Programming in a very condescending and easy to learn way. Great video xD I actually learned a ton! This info is good for all OOP projects! Thanks again!
Thank you very much. You taught me what i could never learn. I been watching a lot of videos about OOP but none of them ever made me understand it like this. Keep up the style
Finally a real good tutorial, I have to say, you treat a person like he / she don't have a clue for PHP OOP in this case, and explain clearly what is OOP. I know the PHP OOP, even advanced, but I have to say that some things around are teached in a bad way, so bad that maybe simple concepts are hard to understand. You made the difference, bravo!!!
Thanks a lot, finally an OOP tutorial i understand. Most of the tutorials i've tried out were too abstract and difficult to understand for me. I'm used to pretty linear functional programming, so OOP is quite a foreign concept to me. However, you used good examples that are actually usable in a real script instead of some foobar nonsense, so it made it way easier for me to understand.
WOW! Nice video and audio quality! and most of all best teacher! After many videos I watched, this is the one sheds light for me to understand OOP in PHP very well. Thanks guru Brad! This means a lot for me
Brad, hats off for you. I highly appreciate your deep knowledge and good grasp of subject knowledge. More importantly, you are a great teacher. You have great patience. OOP concept had bothered me so much. You have cleared my doubt so much. Thanks a lot. I would also see your css3 tutorials. Till now I have searched many videos for php oop or general oop. But your one only could clear my concept . Best wishes!!
That was an awesome explanation of OOP Basics Brad. I enjoyed watching it even though I am a teacher of PHP7 myself. I think when I do my OOP Tutorial I am going to take your example of the vehicles for illustrative purposes. Again great presentation. :-)
Thank you! Yea I was teaching at a bootcamp and after teaching these concepts over and over, I decided to make this video for them so I didn't have to repeat myself as much ;)
@@BradWestfall LOL I know what you mean. It is so cumbersome to have to repeat over and over again but I guess that is part of the deal when you teach this stuff. It like a band that has to play the same song over and over again for years and years. I imagine that gets old as well, lol. Again, great presentation. I love the illustrative tool you presented.
Hi Brad! Your tutorial on Object Oriented Programming (OOP) for Beginners in PHP was supeb! I've learnt it. Now I want to learn some advanced concepts of OOP. Please make another video on that topic as you promised. Thank You
Thank you so much for this video! This was incredibly helpful, you made it super easy to understand. The content flow of the video was very smooth. Thank you, thank you, thank you.
Bravo! Good example. Thanks for taking out the OOP jargon so I can follow it step by step. In C++ for example its popular to create public functions inside a class named getters and setters to modify and view private vars.
This is an amazing stuff. And it's more easier perceived then others. Thank you a lot for your lesson. I've begun to understand perfectly how the OOP works!
really really good thank you Brad :-) can you please do a video on interfaces and abstract classes in PHP? Also one on advanced OOP PHP as you explain things really well? Thank you again!
This video helped me a lot, i was stuggling with OOP in PHP but this got me a clear insight on how the begginer stuff works. I know you didn't make videos for a time now but it would help a lot of people if you extended your lessons a bit more! Thanks a lot anyways!
This is my first time learning Object Oriented PHP. Coming from a Java background, this lesson was very straightforward and easy to understand. Thanks for the excellent video! When will you post the next tutorial?
Brad have you continued this tutorial? If you havent please do, this was by far the clearest most easy to understand OOP explanation I have seen this far. Thanks.
Literally went to college for three years to learn programming, they started us straight into OOP php without understantind procedural first to actually understand php! Your video (now that I went and learnt procedural php on my own after college) made more sense to me than any of my college lectures! Any chance of a second video showing interaction with a DB such as phpmyadmin carrying on from what you have done in this video?
+Peter Richards Thanks Peter, that means a lot. I don't have as much time as I'd like to make videos anymore. Plus I don't do a lot of PHP anymore. But it's very common to write a class/object that your code will talk to, then that object will talk to the database connection for you - so think if the class or object you write as being a middle-ground. In other words, you'll want to use PDO (in PHP) to connect to the database and PDO will give you a variable which is your active connection. You don't want to toss that variable all around your application though and make calls to the DB from just anywhere. Instead make a class (say it's called DB) and anytime you want to run an SQL statement, you'll talk to your hand written DB class which will in turn tall to the PDO connection? Does that make sense? Then I suggest you look up and try to understand what's called a Singleton Design Pattern which is what your DB class will resemble. At the end of the day, it's nice to know how to program these types of things from scratch like Singleton classes for your DB object. But most people have moved on to using frameworks like Laravel which abstract this whole process away from you so you don't have to write all your own stuff. So with frameworks like laravel, you'll talk to an object which will in turn talk to PDO just as I was describing above. But there's a ton of work that's already been done for you
+Brad Westfall It makes sense a bit. PDO is kind of new to me, could I use mysqli? or is it strictly PDO? I do understand that you submit a form to say a page register.php which will create a new object perhaps of user. Then using a bunch of functions I can do things such as a function public function register(){} which will read in the new user object but also call the database object which I have created?
In fact PDO has been "the thing to use" in the php circles for about 5 years now. So it's not like you have to worry about it being too new and not evolved yet
Hi, just wanna say thanks for the great video for some reason i found this to be so easy to follow along with compared to my paid course in Treehouse... Thanks :)
a very good lesson, big thanks. I think that it is best that you declare variables in the end of classes as private. In java it is what we do, i think is the same concept is PHP Thanks
Hi Brad Westfall.. Your video is just wow. You explain so well that one will start loving OOP. I am looking for your other videos as you mentioned on "Encapsulation then Inheritance". Where can i find that ?? And also request you to if you can cover all topics of OOP in PHP . I and others will be very very thankful to you.
+Chaitsi Patel Thanks Chaitsi, but I don't do a lot of PHP anymore. I don't plan on making more videos, and I'm sorry if I mentioned that I might. However, Inheritance was taught in this video. Inheritance is just when one class inherits functionality from another, like how we did extend. Encapsulation is just the fact that some data and functionality in an object can be kept private, so we can do that with the private word before functions and properties. I think I showed that too
awesome vid - 15 yrs coding and im still procedural (quite advanced tho :p ).. fyi, plz alt/cmd - tab and f5 - :) from here ill go into OOP. Fyi I think the classes make it more arranged - very nice!
This is the best example I cam across, Thanks Brad. Do you have video lesson for connection to a database and then pulling results (query) from database using OOP?
brad this video is amazing. You can actually teach. Your the only person I've come across who's tutorials don't speak like the person has some special knowledge. You explain in depth covering the exact parts that always have confused me. It's realy helpful that you go over the things which seem to mean nothing but actually are the key to understanding whats happening. Thanks for the video
Thanks Mike
+Mike Beckett I could have not said it better myself, I also agree!! THANKS BRAD WESTFALL
+Mike Beckett I agree . Thank you Brad!
Necesito un desarrollador PHP OOP, si estan interesados por favor enviar su CV a.... a.dominguez@infinitisourcing.com.mx
Alberto Benítez
Thanks! Most of the programming tutorials are going so fast, like it's a typing contest instead of a tutorial. You're doing it just right, I really appreciate it.
Wao Brad i must recommend your effort and teaching skills this is the best video i ever came a crossed on the internet that explained concept of OOP in php thank you.
Thank you, I'm glad it helps :)
Hi Brad,
Came across this video and I have to say, hands down. Thank you for this 40 minutes video about OOP PHP. Just what I needed.
I slowed it down to .5 to keep up better... Now Ray Romano is teaching me about Object Oriented Programming in a very condescending and easy to learn way. Great video xD
I actually learned a ton! This info is good for all OOP projects! Thanks again!
complete agree with Frode...this is the best, most clear explanation of basic OOP in PHP. Thank you Brad!
Thank you very much. You taught me what i could never learn. I been watching a lot of videos about OOP but none of them ever made me understand it like this. Keep up the style
Suleiman Boutzamat
Finally a real good tutorial, I have to say, you treat a person like he / she don't have a clue for PHP OOP in this case, and explain clearly what is OOP.
I know the PHP OOP, even advanced, but I have to say that some things around are teached in a bad way, so bad that maybe simple concepts are hard to understand.
You made the difference, bravo!!!
Thanks a lot, finally an OOP tutorial i understand. Most of the tutorials i've tried out were too abstract and difficult to understand for me. I'm used to pretty linear functional programming, so OOP is quite a foreign concept to me. However, you used good examples that are actually usable in a real script instead of some foobar nonsense, so it made it way easier for me to understand.
WOW! Nice video and audio quality! and most of all best teacher! After many videos I watched, this is the one sheds light for me to understand OOP in PHP very well. Thanks guru Brad! This means a lot for me
Thanks, helped me a lot, calm and clean teaching style, enjoyed it a lot.
By far the best PHP tutorial I've seen. You explained things very well for people like myself who are learning on their own.
Brad, hats off for you. I highly appreciate your deep knowledge and good grasp of subject knowledge. More importantly, you are a great teacher. You have great patience. OOP concept had bothered me so much. You have cleared my doubt so much. Thanks a lot.
I would also see your css3 tutorials. Till now I have searched many videos for php oop or general oop. But your one only could clear my concept .
Best wishes!!
That was an awesome explanation of OOP Basics Brad. I enjoyed watching it even though I am a teacher of PHP7 myself. I think when I do my OOP Tutorial I am going to take your example of the vehicles for illustrative purposes. Again great presentation. :-)
Thank you! Yea I was teaching at a bootcamp and after teaching these concepts over and over, I decided to make this video for them so I didn't have to repeat myself as much ;)
@@BradWestfall LOL I know what you mean. It is so cumbersome to have to repeat over and over again but I guess that is part of the deal when you teach this stuff. It like a band that has to play the same song over and over again for years and years. I imagine that gets old as well, lol. Again, great presentation. I love the illustrative tool you presented.
So
Very well explained, Brad! Good to see someone able to show in detail how the data flows inside the class visually!
Hi Brad!
Your tutorial on Object Oriented Programming (OOP) for Beginners in PHP was supeb!
I've learnt it. Now I want to learn some advanced concepts of OOP. Please make another video on that topic as you promised.
Thank You
This is good, very good, even easier with my Java knowledge, but PHP + OO wise; this is great, very good.
Thank you profoundly for sharing such a beautiful experience...
You have a smooth talented way in expressing/teaching complex objects :)
Thank you so much for this video! This was incredibly helpful, you made it super easy to understand. The content flow of the video was very smooth. Thank you, thank you, thank you.
amazing Brad!
we all waiting ur second tutorial relate to PHP !
wow you are better than all my prof. combined together all at once … thousand salute for you sir.
I'm glad you liked the videos ;)
Very good teaching skills, and clear explanation of not so easy to grasp topic. Thanks
This is an amazing video! I was scared to try OOP before, but now I'm not worried. You're a really good teacher.
Thank you for making this :D
Very good beginners tutorial and clearly explained. Thanks
great video, very in detail. 5/5 programmers
Bravo! Good example. Thanks for taking out the OOP jargon so I can follow it step by step.
In C++ for example its popular to create public functions inside a class named getters and setters to modify and view private vars.
This is an amazing stuff. And it's more easier perceived then others. Thank you a lot for your lesson. I've begun to understand perfectly how the OOP works!
Excellent. Super simple. very clear explanation. Thanks for the video.
really really good thank you Brad :-) can you please do a video on interfaces and abstract classes in PHP? Also one on advanced OOP PHP as you explain things really well? Thank you again!
I'll see if I can find time. Thanks Imran
excellent tutorial; Classes and subclasses finally make sense! Cheers.
This video helped me a lot, i was stuggling with OOP in PHP but this got me a clear insight on how the begginer stuff works. I know you didn't make videos for a time now but it would help a lot of people if you extended your lessons a bit more! Thanks a lot anyways!
I appreciate it, rome, thank you. I just don't do PHP anymore
Perfect!! Short and informative, thanks a lot Brad.
This is my first time learning Object Oriented PHP. Coming from a Java background, this lesson was very straightforward and easy to understand. Thanks for the excellent video!
When will you post the next tutorial?
Brad have you continued this tutorial?
If you havent please do, this was by far the clearest most easy to understand OOP explanation I have seen this far.
Thanks.
Really Exellent! You know, you have the passion and the ability to transfert knowledge!
Well Done @Brad Westfall !
Outstanding OOP tutorial, I really appreciate your work , thanks Brad! :-)
Thank you! best introduction to PHP OOP, wonderfully explained!
Excellent video! Deserves a million views.
Literally went to college for three years to learn programming, they started us straight into OOP php without understantind procedural first to actually understand php! Your video (now that I went and learnt procedural php on my own after college) made more sense to me than any of my college lectures! Any chance of a second video showing interaction with a DB such as phpmyadmin carrying on from what you have done in this video?
+Peter Richards Thanks Peter, that means a lot. I don't have as much time as I'd like to make videos anymore. Plus I don't do a lot of PHP anymore. But it's very common to write a class/object that your code will talk to, then that object will talk to the database connection for you - so think if the class or object you write as being a middle-ground. In other words, you'll want to use PDO (in PHP) to connect to the database and PDO will give you a variable which is your active connection. You don't want to toss that variable all around your application though and make calls to the DB from just anywhere. Instead make a class (say it's called DB) and anytime you want to run an SQL statement, you'll talk to your hand written DB class which will in turn tall to the PDO connection? Does that make sense? Then I suggest you look up and try to understand what's called a Singleton Design Pattern which is what your DB class will resemble.
At the end of the day, it's nice to know how to program these types of things from scratch like Singleton classes for your DB object. But most people have moved on to using frameworks like Laravel which abstract this whole process away from you so you don't have to write all your own stuff. So with frameworks like laravel, you'll talk to an object which will in turn talk to PDO just as I was describing above. But there's a ton of work that's already been done for you
+Brad Westfall It makes sense a bit. PDO is kind of new to me, could I use mysqli? or is it strictly PDO? I do understand that you submit a form to say a page register.php which will create a new object perhaps of user. Then using a bunch of functions I can do things such as a function public function register(){} which will read in the new user object but also call the database object which I have created?
PDO is the next evolution of how PHP peeps are connecting to mysql. Mysqli was the old way. It has some problems especially related to security
In fact PDO has been "the thing to use" in the php circles for about 5 years now. So it's not like you have to worry about it being too new and not evolved yet
Thank you, Brad! Very very good tutorial! Simply and clearly.
Thanks for this. Modern PHP looks very nice.
Hey Brad nice work with OOP nice examples and understandable explanation! Keep up with the good work! Thank you!
Absolute brilliance. Good explanations and demonstrations. Helped me greatly. Please do more :)
Best OOP tutorial! Thank you 🙂
Very good... and I have never said that about any video on UA-cam before.
Hi, just wanna say thanks for the great video for some reason i found this to be so easy to follow along with compared to my paid course in Treehouse... Thanks :)
Just what I was looking for; Now need to go see if you have made some more!
+ChrisInTheNorth Not in PHP, but other stuff
Fantastic OOP explanation, thank you!
Perfect explanation. . very easy to understand . thanks Brad. :)
Thank you. I think you are a pretty decent teacher!
.9
Thank you for this video. It really helps getting the concept of all this.
This is very useful video tutorial, thanks so much
Thank you , best video with real example .&
It’s not just definition like others 🙏♾
Great video! I was able to understand and implement,Thank you
Thanks for the great video Brad..
Are you single
damn this is great combined with an online PHP sandbox to follow along with
video quality is good! thumbs up!
Thank you for this Brad. Really awesome video!
a very good lesson, big thanks.
I think that it is best that you declare variables in the end of classes as private.
In java it is what we do, i think is the same concept is PHP
Thanks
Thank you, first oop tutorial that i completely understand.
Please make another videos you are totally amazing god bless you...
very good video!
Great tutorial, thanks. 😍. Please do more tutorials about oops in php
Great video and explanation, thanks!
This very amazing I just watched it and I get the concepts of class base php OOP .. I love your vids do moree plsss
Hi Brad Westfall..
Your video is just wow. You explain so well that one will start loving OOP.
I am looking for your other videos as you mentioned on "Encapsulation then Inheritance".
Where can i find that ??
And also request you to if you can cover all topics of OOP in PHP .
I and others will be very very thankful to you.
+Chaitsi Patel Thanks Chaitsi, but I don't do a lot of PHP anymore. I don't plan on making more videos, and I'm sorry if I mentioned that I might. However, Inheritance was taught in this video. Inheritance is just when one class inherits functionality from another, like how we did extend. Encapsulation is just the fact that some data and functionality in an object can be kept private, so we can do that with the private word before functions and properties. I think I showed that too
thanks for the video,,looking forwad to many more..i have even subscribed
Thank you for this video, it was very beneficial.
Great video and explanation Sir, Thank you :)
Good tutorial! Now to get my procedural brain to think differently...
Thanks for sharing your knowledge..
You're welcome
very nice walk through!
Excellent
Hey Brad, amazing video, thanks!
Superb ...
Thank u. You are a good teacher :)
Thanks mate, this is great.
thanks for this explanation sir.
really well explained
thank you very much sir
awesome vid - 15 yrs coding and im still procedural (quite advanced tho :p ).. fyi, plz alt/cmd - tab and f5 - :)
from here ill go into OOP. Fyi I think the classes make it more arranged - very nice!
This is the best example I cam across, Thanks Brad. Do you have video lesson for connection to a database and then pulling results (query) from database using OOP?
+Darius Dempsey I don't at the moment. But for PHP, I highly suggest using the PDO library. It has great docs
+Darius Dempsey And PDO is built into PHP by default (I believe)
thanks bro, I am coming from C sharp, needed to learn the semantics in PHP
Thx Brad great tutorial.
This is very helpful :D thanks the 100th likes
awesome sound of keyboard :) what kind of keys do you use ?
amazing !Thank you Sir
Bravissimo!!!
YOU ARE AWESOME!!!
great tutorial , Thanks
Thank you brad... this video is very useful :)
You Rock !
Thanks a lot, Mike
*Awards gold star*
Thanks!
thanks a ton for this tutorial.....
Great video tutorial 5/5 thank you very much!
Thank you man ... very helpfull ...
Question, we don't use .class in the file anymore? like User.class.php ?
You are a good teacher, hope you find the time to teach us more :)
Dennis Troost That's a preference thing. Some frameworks wouldn't want you to do that
thanks a lot from greece
amazing