Creating classes, properties, methods - OOP in PHP | Part 1

  Рет қаралды 22,562

The Codeholic

The Codeholic

Күн бұрын

Пікірлер: 37
@secret_one
@secret_one 4 жыл бұрын
Thank you, I have learnt more about OOP in your first 2 videos than I have in many "whole" courses/books on the subject. I am not sure what it is that is different from the others, your teaching method or your explanations. Whatever it is, it is working. Thank you again. Now to continue with the rest of the videos.
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Huge thanks buddy for that comment It means a lot.
@TheCodeholic
@TheCodeholic 4 жыл бұрын
I want to post your comment on my twitter. Are you ok with that?
@secret_one
@secret_one 4 жыл бұрын
@@TheCodeholic Yes of course, please go ahead.
@hassanhafiz44
@hassanhafiz44 4 жыл бұрын
I just completed Bs CS (Hons) and I always think which tutor to prefer to my friends and young students. I have found one. I'm also watching these videos. I hated PHP but as a PHP developer. I have started to understand it through your videos. Thanks Sir.
@oraki13
@oraki13 5 жыл бұрын
Thank you for these detailed tutorial. I have searched for a long time for some basic tutorial and finally found one with yours. Thanks again for your efforts and keep going with those :))
@TheCodeholic
@TheCodeholic 5 жыл бұрын
Thank you.
@jahir_valverde
@jahir_valverde 4 жыл бұрын
Thanks for the free education videos, really appreciate it
@seanocarolan359
@seanocarolan359 3 жыл бұрын
Thanks dude! Love your Admin template also. Amazing!
@rpralica
@rpralica Жыл бұрын
Great explanations espetialy for getters and settres thank You
@Lyrik-Klinge
@Lyrik-Klinge 2 жыл бұрын
very good explaination, THANKS!
@codingtostopprocrastinatio9748
@codingtostopprocrastinatio9748 2 жыл бұрын
Very good tutorial !
@catalinbiru8396
@catalinbiru8396 4 жыл бұрын
Thank you very much for this!
@kenjohnsiosan9707
@kenjohnsiosan9707 2 жыл бұрын
Thank you sir.
@fernandoschneider3364
@fernandoschneider3364 3 жыл бұрын
Very good class! Congratulations!
@TheCodeholic
@TheCodeholic 3 жыл бұрын
Glad you liked it!
@mubasharkhan5
@mubasharkhan5 4 жыл бұрын
Thank You for the video
@TheCodeholic
@TheCodeholic 4 жыл бұрын
You're welcome
@ilya_123__
@ilya_123__ 10 ай бұрын
Thank you!
@yacobee
@yacobee 4 жыл бұрын
thank you
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Welcome
@leicester1596
@leicester1596 5 жыл бұрын
Hi thank you for those tutorials they are awesome. how do you set up the terminal on the right which updates after changes and provides outputs. Thanks.
@TheCodeholic
@TheCodeholic 5 жыл бұрын
PHP Storm has possibility to move windows around. The terminal does not automatically executes the code after changes. If it seems like this, probably it is because of video editing... I run the code manually in terminal. Thank you.
@leicester1596
@leicester1596 5 жыл бұрын
that makes sense . Thanks.
@sharozekhan2186
@sharozekhan2186 4 жыл бұрын
thank you! Could you add comments/ annotations to the code for e.g. where you have used an instance etc.
@foreign-livingtheamericand8782
@foreign-livingtheamericand8782 Жыл бұрын
hello, how do you echo multiple class function?
@bloomtechnologies1156
@bloomtechnologies1156 3 жыл бұрын
hello, nice tutorial but i didn't get an error when trying to access the private property of the class as you said, and i am wondering why
@ngoccannguyen4181
@ngoccannguyen4181 3 жыл бұрын
how to the result and the desktop name in terminal have the newline?
@dexterkarinyo9144
@dexterkarinyo9144 4 жыл бұрын
I have a question, why we need to set and get? I tried to put return on setYear public function setYear($year){ return $this->year = $year; } public function getYear(){ return $this->year; } echo $myCar->Setyear(2010); echo $myCar->getYear(); output: 20102010 why not exactly put return on the setYear? and why we need getYear and put the return thier? Thanks.
@TheCodeholic
@TheCodeholic 4 жыл бұрын
Purpose of the setters and getters is to run some logic before actually assign or return value. Setter accepts argument and saves the value in a property of the class. Getter returns the value of the property. If year must always be greater than 2000 you can write an if statement in setter and don't assign value if it is NOT greater than 2000. I hope this makes sense...
@dexterkarinyo9144
@dexterkarinyo9144 4 жыл бұрын
@@TheCodeholic Thank you so much. after this course oop , I will watch your yii framework.
@ThichThiHoc
@ThichThiHoc Жыл бұрын
Thanks you very much. How can I get the source code of this course, please?
@QQ-wv3gz
@QQ-wv3gz 4 жыл бұрын
Please use dark theme editor...
@danivanangulo568
@danivanangulo568 3 жыл бұрын
Thank you very much for this!
Constructors and Destructors in PHP - OOP in PHP | Part 2
7:22
The Codeholic
Рет қаралды 10 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН
«Жат бауыр» телехикаясы І 30 - бөлім | Соңғы бөлім
52:59
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 340 М.
PHP magic methods - OOP in PHP | Part 5
23:24
The Codeholic
Рет қаралды 15 М.
Object Oriented PHP #6 - Getters & Setters
6:40
Net Ninja
Рет қаралды 40 М.
Static properties and methods in PHP - OOP in PHP | Part 3
8:24
The Codeholic
Рет қаралды 10 М.
Autoloading in PHP without and with Composer - OOP in PHP | Part 11
16:01
Fundamental Concepts of Object Oriented Programming
9:16
Computer Science Lessons
Рет қаралды 989 М.
PHP traits in depth with examples - OOP in PHP | Part 9
30:53
The Codeholic
Рет қаралды 14 М.
PHP Classes & Objects - Introduction to OOP PHP Programming
10:37
Clever Techie
Рет қаралды 85 М.
БОЙКАЛАР| bayGUYS | 27 шығарылым
28:49
bayGUYS
Рет қаралды 1,1 МЛН