Before any comments! Yes episode 9 is missing! I decided to remove my lesson about the "toString" PHP method, and instead I will upload an episode on "type declaration" soon enough.
@fr3fou5 жыл бұрын
You should pin this :)
@UnboxTek5 жыл бұрын
can you please post the "PLAYLIST" link on the description as well? :) Thanks!
@khaledal-falihi73115 жыл бұрын
❤😘👌
@RedBunny5 жыл бұрын
Dear fellow students/web developers, Make this channel grow and donate. These videos are better than a lot of the paid ones on Udemy and this guy is making it for free. I would pay for videos this qualitative in a heartbeat. Keep on going man!
@user-rx8lz6yz4f5 ай бұрын
Thanks for being one of the few KZbinrs to explain this properly. 👍
@yungifez4 жыл бұрын
It is so joyful seeing mmtuts making mistakes. It reminds us that even the best makes mistakes so we should not be frustrated and think little of ourselves when we do so
@karolispetrikas77984 жыл бұрын
This is how you teach. Relax, don't stress you students, don't use complex sentences and acronyms just to show-off how cool your are. I came here from a PHP bootcamp, where they thought they taught entire OOP in 3 hours... complete and utter joke. You a role model teacher!
@sistemasuniverso14612 жыл бұрын
Son impresionantes tus lecciones. Jamás me fue tan claro este tema. Te agradezco infinitamente. Sos excelente educador!
@Ольга-ж5к4й5 жыл бұрын
Dude, I'm in love with you, sooo good explanations - that's a talent...
@uchihamadara4340 Жыл бұрын
I wish I had a teacher like you back then; it would have saved me a lot of time. Thank you, Daniel, for this amazing course. Keep up the great work!
@Michael-lo3ht11 ай бұрын
Love this series so far. At first, on this one you caught me off guard for a second. I thought it sounded like you said Stetic. lol But then realized you said Static. After hearing you say it more it was clear. I love how you explain the reason why you stuff, instead of just telling you to do it. It helps to know why. Thanks
@kodelagi-daniel5 жыл бұрын
hi daniel. Im really grateful for your lessons. i learned more from you than from my school, thanks
@stefano51464 жыл бұрын
Your videos and teaching style is perfect for me, thank you!!
@khusamalfas21213 жыл бұрын
Dani, you are very simplifying it, and that's awesome, Do not worry most of the senior developers misspelling things and that normal in process. Keep it up it's worth the time you are spending.
@ינוןאלבז-כ1ז5 жыл бұрын
Wow you've done amazing work in this playlist. For a long time I've been trying to understand object-oriented programming and you're making it easy to understand for me. thank you dear!!!
@0Apostata05 жыл бұрын
Hi there, love your vids! But could you also include real life practical examples in your tuts? Like creating user objects on register forms and saving them into a db or something like that? Often simplified tutorials just explain the concepts but never show real life examples of using OOP. It makes it a lot harder to apply, there need to be more practical examples. Thank you and great work!
@AnimalChannelTube3 жыл бұрын
Very good teacher. Good Tutorial
@ThatoJChere4 жыл бұрын
You changed my programming life for the better...Big up
@quasarkid42562 жыл бұрын
This explanation was excellentl. Thanks for helping me understand this topic clearly
@GarTheStar5 жыл бұрын
you are a legendary teacher
@mariavictoria54352 жыл бұрын
Good job and explanation! Thanks a lot!
@MB-zj3er Жыл бұрын
Thank you for your videos, I have found them very helpful. 👍
@smartwolf90454 жыл бұрын
wow...thanks very mutch man, exactly what I needed. You don't imagine how mutch it helps.
@osraneslipy4 жыл бұрын
OOP is so freakin confusing, luckily we have you :)
@oghenevwefepeace25012 жыл бұрын
You are awesome man.. God bless you
@michaelbruce54154 жыл бұрын
An excellent series on PHP OO Programming.
@bjornarmar24625 жыл бұрын
I just facepalmed because I got this far without having subscribed yet. Fixed that issue!
@jaibodele63635 жыл бұрын
video is really good and the content is also good.
@ivnstudios61354 жыл бұрын
like a lot the tutorials, you explain very well Sr. Thanks a lot for making them, finally I am understanding PHP !!
@jackt61122 жыл бұрын
Great explanation.
@programmingtestsandproje3 жыл бұрын
thank you so much
@geneartista97144 жыл бұрын
Awesome tutorial as always!!
@sumanbd77 Жыл бұрын
Awesome Thanks a lot ❤❤❤❤❤
@srdjagunjic5 жыл бұрын
Awesome tutorials Daniel! Keep it up
@GarryThakur075 жыл бұрын
Hey man, new subscriber here. Great course, Great way of teaching and setup. Am really gonna show these videos to my friends too as it's so good and clears up most of the problems we face. Also you look very much like Luka Jović :P
@tonygonzalez1255 жыл бұрын
Thanks man! Greetings from Brazil :)
@abolfazl327311 ай бұрын
Nice ❤🔥
@0x1stvan4 жыл бұрын
8:35 Best cut ever :D
@daniel716264 жыл бұрын
Thank you, i really got it clear now.
@ChangeYourLifeForever Жыл бұрын
the first time after many years i understand the purpose of the STATIC in PHP
@davidvaho5 ай бұрын
I'm wondering, If it is good usage to have non-static method checkDrinkingLegality() which compares private property age and static property drinkingAge, so after object initialisation with age 18, method returns false (18 >= 21), but then you can use that static method setDrinkingAge(18) and then, calling checkDrinkingLegality on that object returns true, because meanwhile value of static property of Class changed to 18.
@Coda023 жыл бұрын
Thanks a lot I think I understand it now, so like a static is almost kind of like a global variable within a certain class
@vaishakhkp56125 жыл бұрын
Really helpful budd, keep it up.
@ChandraTech525 жыл бұрын
Thank you so much things making so easy, learned a lot ❤️❤️❤️
@mangeshsathe4 жыл бұрын
Good explanation!
@siriusgd47535 жыл бұрын
I learned something today!
@prsion19255 жыл бұрын
Thanks for your sharing with us
@birdhousegypsy36554 жыл бұрын
no drinking age! That sounds awesome! haha!
@hayatzee88302 жыл бұрын
Thank you!
@issaissifou49592 жыл бұрын
Thank you so mach.
@thomask.79784 жыл бұрын
I wonder what your technical setting is for such brilliant presentations. Clear voice, big HD screen, you standing in front of the screen i. e. one can hear and see everything easily. I'd appreciate it if you told us how you do this?!
@bigdog33865 жыл бұрын
You are an awesome guy!
@alexv_web_dev4 жыл бұрын
Keep up the good work!
@srijanlama64465 жыл бұрын
nice work brother keep up the good work love from nepal
@perfect.stealth5 жыл бұрын
Super gode og lærerige videoer
@hitzjoshi18755 жыл бұрын
Hy Is It Possible in Php when internet is not available then it will save as local system data and when ever internet is access then it will sync data to database phone admin?
@srijanlama64465 жыл бұрын
if u would make the video series in dependency injection and modular programming in php then that would be super great
@bikramneupane18185 жыл бұрын
You tutorial is very well
@AxxionMarketPlace-iu6ri Жыл бұрын
Thank you
@Annak942 Жыл бұрын
Oooohh *frontend dev taking notes*
@nawalnitsua88936 ай бұрын
@Dani_krossing can I summarize by saying static methods and properties are those that do not vary from object to object at instantiation from the class? As in it's said to be static because it's same for any object instantiated from that class
@BigStance5 жыл бұрын
Can I ask you to film a series of php oop register form programming? :)
@Jay-eg7yt5 жыл бұрын
Two thumbs up on the video. In the static example being used the property is public. I am curious to know if it is possible to do this using a private static property and if so, in what type of situation would it best be suited for?
@talkohavy5 жыл бұрын
Question: What about Static Classes? What do I do when I have several classes which all need access to the same Static Class that holds all the information?
@khatau5 жыл бұрын
I don't think there is anything like Static Class. The concept of Static is to access properties and methods without creating an object, or without inheriting an entire class just to access one property/method. Separately, if you have several classes that need access from one class (that one class is a 'parent' class by the way... you don't have to declare it a parent class though), then you need to inherit. Check mmtuts' 4th video on "visibility and inheritance".
@taet68825 жыл бұрын
hi dear thank you for your great tutorials! appreciate it ! because i couldn`t find anyone in whole internet and tutorials who can teach like you! will you gonna make videos about : namespace ,abstract, autoloader ..... and other oop functions and concepts that are in php manual ???? thank you!
@Dani_Krossing5 жыл бұрын
Thank you! autoloader is already created and scheduled for upload on Monday :) Abstract classes and methods will also soon be a video. I am going to wait a bit with Namespace.
@taet68825 жыл бұрын
@@Dani_Krossing thank you very much .i will wait !
@flifluflofli5 жыл бұрын
There is something i miss cause i tested to call static method and actually I can call them from the instance Object build from the Class ( so the static is not static ?) and I can also go with static way as u say calling inside the class I reach both with no problem.. but when it is a proprety it react differently ?
@paulbrugger96103 жыл бұрын
If you change a static property to a regular class variable then each derived object could have a different value....
@autopilot79535 жыл бұрын
hi, have been subbed a while now and i can say you are the best teacher and you talk so clear and understandable,thanks!I am having some problems with my website (php, js) and i want a little help from you,could you help me?
@leonf.78933 жыл бұрын
I don't feel so bad about creating static classes any more. I used to only create helper methods as static because I had this notion that static methods were some kind of bad thing.
@webteches5 жыл бұрын
thanks sir
@priyranjansingh27924 жыл бұрын
Nice video
@juulmorten4 жыл бұрын
I think the way i remember static is that it affects all objects of that class, so if you change the drinking age then it will be changed for every object.
@lesastucesinternetdemuriel10265 жыл бұрын
good job
@spiderangelo3 жыл бұрын
Good Tutorial... But want to inform you about some errors. there are errors where you create function getDA, also when you are accessing it!
@tdias254 жыл бұрын
you look like elon musk, great tuto btw
@ademottoman9625 жыл бұрын
hi can you nake a live stream the last one i loved it
@Mehrdad_Manouchehri5 жыл бұрын
THanks
@ehtishamjadoon20035 жыл бұрын
Sir kindly make a vedio on CRUD system in oop php
@Marxone2 жыл бұрын
I don't get it. I mean, i can call non static method with (new Class)->method(); , but when I don't need the rest of the context, it is cleaner to just use Class::method() ? For example if I have just some support functions that are used across the project?, and the inheritance structure isn't suited to have it just once on the highest level?
@tloulehlohonolo064 жыл бұрын
Good day may you please explain to me when do you use public, private and protected in php
@moldovandorin61875 жыл бұрын
what a nice guy :)
@TheJDieJ5 жыл бұрын
is public static similar to const in js?
@astrosoup Жыл бұрын
One point of confusion. If you update a static property, will it go back and update the same property for $person1, $person2, etc.. Will it also use the new value for any newly created $person objects after this?
@Dani_Krossing Жыл бұрын
A static property isn't object specific, and will change all existing or future objects, since they reference to the same data. 🙂
@UnboxTek5 жыл бұрын
where's the link of the PLAYLIST of these tutorials? :)
@Dani_Krossing5 жыл бұрын
On my channel page there is a link to all my courses. But you might be right about that there should be links under the video as well, so I will do that :)
@UnboxTek5 жыл бұрын
@@Dani_Krossing yes please :) for us to bookmark it, cause currently what is indexed or displayed on your YT page is the older version of the tutorials. TIA!
@dfordemo9814 жыл бұрын
"we cannot use the static property inside nonstatic method" right??
@selimeneskaraduman69354 жыл бұрын
How can I thank you man :( ? You taught me lots of things thanks!!! really
@Mercio24 жыл бұрын
nice
@WideEyesChannel5 жыл бұрын
Dude I like you're teaching method.. do you have a Twitter account?
@arsalarsi78583 жыл бұрын
What if i want to know how many objects were created for the class without using "__construct" maybe with get_called_class???
@alsur2724 жыл бұрын
by the way :: in Php is called "Scope resolution operator"
@augischadiegils.51093 жыл бұрын
❤
@calin63275 жыл бұрын
You moved such a long way
@trravelog-t54 жыл бұрын
Hey Daniel, you have awesome courses, I got a very good understanding of OOPs from your video. I was trying something locally and not able to crack it, i know its simple but for some reason its not working. I have an index page and a class file. In class, I have defined it something like this Class ABS{ private $var1 private $var2 private $var3 public function function1(){ Some SQL query which return an iD //from the array i get the below ID, and when i do an echo here it shows the id as well echo $ID = $this->var3 = ID['SrID']; } public function function2(){ echo $ID; //doesnt work //basically trying another SQL here with the ID I get in function1// } ) so how can I get this variable from function1 to function2, I tried a lot but did not work, so for now what I did is, in the index file I got a return from function one and then I have passed that ID to function2 in index, something like below $classvalue = new ABS(); $ID=$classvalue-> function1(); echo $classvalue-> function2($ID); wondering if there is an easy way to it.
@PanlasangMotour5 жыл бұрын
Do you have a tutorial on How to Create A Membership System Using PHP and MySQL Tutorial with email verification ?? Thanks a lot :D
@mahdisharifi59895 жыл бұрын
thanks for this video , but i did not understand that when we must use static keyword
@ademottoman9625 жыл бұрын
Hi can make some flutter videos
@edieperdana21014 жыл бұрын
I can't find video number 7
@rohankhode42004 жыл бұрын
When i run these code it shows me error: Notice: Undefined variable: setDrinkingAge in C:\xampp\htdocs\oop\index.php on line 20 Fatal error: Uncaught Error: Function name must be a string in C:\xampp\htdocs\oop\index.php:20 Stack trace: #0 {main} thrown in C:\xampp\htdocs\oop\index.php on line 20 public static $drinkingAge = 23; public static function setDrinkingAge($newda){ self::$drinkingAge = $newda; } echo Student::$drinkingAge; echo Student::$setDrinkingAge(93); echo Student::$drinkingAge;
@MhmmDonuts5 жыл бұрын
Can u make a tutorial about how to upload files in MVC pattern using ajax on a action controller? Or how can I pass the file I get from ajax for example $model->fileUpload($thjs->getPost['file']) argument to any function in any class? I couldn't find anything help me plss haha
@maxiequa5675 жыл бұрын
Would you be interested in making a video on Paypal integration? Seems a lot of people are looking for it these days.
@zehnagel65565 жыл бұрын
You should be aware that public static variables ($drinkingAge) can be changed from anywhere (during code execution), and this change affects all instances that use this static variable. They are some kind of scope-less.
@Dani_Krossing5 жыл бұрын
That's right! You tell them Zeh! ;)
@f0ru0l0rd4 жыл бұрын
@@Dani_Krossing So... maybe I'm dense, but question: Why use this instead of a hard coded property? I'm thinking (though it WASN'T explicity said, so I could be wrong), is that if say I had an object of Dog, and it's latin name changed, if I did Static, all my objects (old and new would be updated automagically? Is that correct, or am I misunderstanding this?
@mwgmedia23785 жыл бұрын
First comment here :)
@romeoasif5 жыл бұрын
that colon colon is actually called a scope resolution operation -_-
@yungifez4 жыл бұрын
I'm suspecting mmtuts. He always keep using the same set of names . Are you sure those are not his siblings