Learn Object Oriented PHP - 3 Hour PHP OOP Course

Поділитися
Вставка
  • Опубліковано 8 лис 2024

КОМЕНТАРІ • 158

  • @yasserlatrech2774
    @yasserlatrech2774 2 роки тому +13

    I won't lie I've watched a lot of php oop courses and this is the best!! Thank you king

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      Kind words Yasser..much appreciated and thanks for watching.

  • @ZaheerAbbas-pn9fx
    @ZaheerAbbas-pn9fx 5 днів тому

    Best video series for programmers who are in middle of there career. Your most of object oriented concept will be clear after watching this series.

  • @RemoteJuniorJobs
    @RemoteJuniorJobs 2 роки тому +15

    This course is a true gem! It's the first time I watched a 3h course and felt I really understood the concepts. Thank you so much Gary! Looking forward for the full course :)

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      Thanks Giulia..I'm just working on the last few videos for it and it should be released soon. I send regular updatesand previews to my mailing list subscibers.

  • @quarter42coralli
    @quarter42coralli Рік тому +10

    I started learning PHP from a book in the early 2000's and I have always been intimidated by classes in PHP. I'm 45 minutes into this video and I already understand so much more than I ever have about the OOP side of PHP. I feel like this knowledge will allow me to integrate third-party APIs. I'm definitely buying the full course after I make it through this video!

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому +1

      Great stuff..really glad that you're enjoying it so far. Keep going..you're doing great!

  • @alexandergeorgesquire220
    @alexandergeorgesquire220 4 місяці тому +1

    Finally a course with proper teaching strategies. I cant believe the amount of online teachers who fail to understand that teacing isnt telling. Videos like yours Gary are how people escape from tutorial hell. Will be recommending your content!

    • @GaryClarkeTech
      @GaryClarkeTech  3 місяці тому

      I appreciate the appreciation! Thanks for watching!

  • @muzhawir
    @muzhawir Місяць тому +1

    I found another gem channel, this is the best OOP PHP course

  • @Gaukh
    @Gaukh 2 роки тому +7

    I gotta say a BIG BIG THANK YOU for these videos! They are so easy to understand and easy to get the hang of. No weird car explanations or anything.

  • @rebbmancasts
    @rebbmancasts Рік тому +2

    I never thought PHP OOP will be this easier to understand, after watching a dozen of courses on PHP OOP without any success. But you Gary have made it simpler, digestible and literally understandable. If this is just a preview of what I will learn in the full course, then you have a new course and UA-cam subscriber. Thank you for this course

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      Thanks very much...I appreciate the kind words. Keep going 💪

  • @raymondmoundzele4907
    @raymondmoundzele4907 11 місяців тому +1

    I've never found better than your course, I really understood the concepts. Thank you so much Gary !

    • @GaryClarkeTech
      @GaryClarkeTech  11 місяців тому

      Glad it was helpful...and thanks for watching. Keep going 💪

  • @earavichandran
    @earavichandran Рік тому

    This course is one of the best oop course in UA-cam....
    Nicely explained...

  • @jorditrigo9569
    @jorditrigo9569 Рік тому +2

    As always a real pleasure to learn with Gary. Awesome content. Thank you very much!

  • @lifebyvikk6751
    @lifebyvikk6751 3 місяці тому

    hey,I'm not an english native speaker and i almost gave up on this video because your accent is too "british",(dont get offended) but eventually tried to follow along keenly and my! you actually teach so well,i grasped every tiny piece of information,thank you Gary!

  • @unjoined
    @unjoined 2 роки тому +3

    This is perfect. Thank you for giving us access to this for free.

  • @ArifBasri
    @ArifBasri Рік тому

    just when I thought Yt have been flooded with tongue and head twisted bland contents, this guy appear and make high quality personalized topics a reality again!

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому +1

      Appreciate the kind words...more to come soon!

  • @dumisankaunga111
    @dumisankaunga111 Рік тому

    Best Tutorial ever, Everything is clear.

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      Thanks a lot..I appreciate the kind words. Keep going! 💪

  • @olixz
    @olixz 2 роки тому +1

    Great course thank you. It really cleared up protected properties for me. For some reason I struggled to get my head around it.

  • @irooot
    @irooot Рік тому

    Excellent work, i was looking for a php oop course for a while now and it's very fortunate i found your amazing course, thank you! i'am looking forward to learn more from you

  • @seanmaddows9790
    @seanmaddows9790 Рік тому

    Came from your older Object course. Both are amazing quality, but this is even more complete! Good to see you are staying away from your brothers spotify playlist this time. I guess he found the Beatles song🤣

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      Cheers Sean..much appreciated. And yes...he didn't find it funny 😂

  • @nowsage
    @nowsage 2 роки тому +2

    Thank you so much Gary. I was looking for your course on udemy but can't find it. This is so timely. You remain the best PHP OOP teacher

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      Ah kind words..I really appreciate it. This is the first 3 hours of the full course which will be available on www.garyclarke.tech in September. I'm still working on it.

  • @rafi_45
    @rafi_45 Рік тому

    this 3 hours video is worthed. thank you so much for help us understanding PHP OOP concept. 🙏

  • @holonaut
    @holonaut 8 місяців тому +1

    Good and practical example for how to implement inheritance from 01:12:00 to 01:51:00.
    But the concept of "composition over inheritance" could have been demonstrated here too. I.e. PhysicalBook and DigitalBook could both implement some interfaces and take a "Book" instance in their constructor. It's a bit more complex than just slapping inheritance onto it because you have to construct two objects now. But this in turn would be a good opportunity to talk about factories.
    These topics would probably exceed the scope of this course, but they are so important in modern programming (due to the painful lessons learned from using inheritance in the last decades) that it should at least be mentioned.

    • @GaryClarkeTech
      @GaryClarkeTech  8 місяців тому +1

      Yes good points. I don't think I'd yet taught dependency injection by this point of the course but there's quite a lot of composition later in the full course.

  • @hadimokhtari7839
    @hadimokhtari7839 Рік тому

    The way you teach is fabulous. Thanks. LOVE YOU.

  • @tesfayebeyene3030
    @tesfayebeyene3030 3 місяці тому

    Great course, thanks Gary!

  • @ayoubmouatamid9869
    @ayoubmouatamid9869 Рік тому +1

    Recommendation: Optimize the images on your website by compressing them, as their large file sizes significantly impact the site's loading speed.

  • @theman7050
    @theman7050 Рік тому

    This is the best course. Just what I needed to level up my WP game. Thanks, man.

  • @mohamedkhaled8492
    @mohamedkhaled8492 2 місяці тому

    Best oop explain ! Thank you

  • @lexerquine3008
    @lexerquine3008 2 роки тому

    thanks for this video, been watching it for the 2nd time and i can't even feel the time goes by.

  • @love4ever026
    @love4ever026 Рік тому

    WOW! This channel is really great for the beginners who wants to understand OOP. Your examples in video are really from simple which is helpful for beginner and who want to learn in hurry (crash course?).Perfect video exactly i was looking for with challenges and extremely simple codes.. other youtubers also have good videos on php but many times examples are confusing.. your on the other hand is very simple, straightforward and enjoyable for especially who want to learn this in very short time. Subscribed this precious channel!

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому +1

      Thanks a lot I appreciate the kind words. I hope you enjoy the new content which is coming up!

  • @unknownunknown8573
    @unknownunknown8573 2 роки тому +1

    This course is fantastic! I'm really looking forward to watching the rest of the course in September. Thanks a million Gary!

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      Welcome Michael!

    • @SridharKatakam
      @SridharKatakam 2 роки тому +1

      Hi@@GaryClarkeTech. Is the full course ready?

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      Hey​@@SridharKatakam ...I'm still working on it. I'll send an update to my mailing list this week.

  • @attilabacso
    @attilabacso 2 роки тому +1

    Thank you Gary, this course was extremely useful and easy to understand. There are some things which doesn't work in PHP 7.4 (like union types), but this course is amazing. As you said, the most important thing is practicing. Thank you!

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      Cheers Attila, I appreciate it. Yes, for PHP 7.4 you'll have to work around some things the 'old' way but I try to stick with using the latest versions for my videos

    • @attilabacso
      @attilabacso 2 роки тому

      @@GaryClarkeTech I cannot wait for the full course! I like the PHP 8.1 because of more strict types, just it takes time to refactor/rewrite some things in PHP 7.4 to 8.1.

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      @@attilabacsoThat's cool..you now only have to wait til Tuesday! Half price to my everyone on my mailing list.
      Most of the course is compatible with 7.4 but I explain in the parts which aren't anyway.

    • @attilabacso
      @attilabacso 2 роки тому

      ​@@GaryClarkeTech You can count on me, thanks!

  • @MrDammed1
    @MrDammed1 Рік тому

    holy damn gary, this video is straight up enlightening

  • @tornike1s
    @tornike1s 6 місяців тому

    best course by far.

  • @branding9919
    @branding9919 2 роки тому

    I feel like I became a hero after watching this video LOL. Thank you!

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      You are a hero! You'll be a super hero after you've watched the full course 😉
      www.garyclarke.tech/p/learn-object-oriented-php

  • @Adaaam95
    @Adaaam95 Рік тому

    Thanks for the video, everything explained really well so far, hoping to buy the full course soon along with the PHP framework course

  • @正正-s7c
    @正正-s7c Рік тому

    I'm trying to learn PHP,
    Your videos taught me so much
    thank you very much

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому +1

      Thank you and you're welcome. Keep going..you'll get there!

    • @正正-s7c
      @正正-s7c Рік тому +1

      @@GaryClarkeTech
      Will there be teaching about Interfaces?
      thanks for your reply

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому +1

      @@正正-s7c Yes, lots of stuff on interfaces. Some of it covered here and more in the full course. You can see what is covered in the full course here:
      www.garyclarke.tech/p/learn-object-oriented-php

    • @正正-s7c
      @正正-s7c Рік тому

      @@GaryClarkeTech sad..I need to translate youtube into other languages ​​to assist my learning..
      Maybe in the future you will open a member channel on youtube.. Anyway, thank you for your teaching

  • @sanusiaz9115
    @sanusiaz9115 Рік тому

    This course is more than perfect.

  • @halaab8936
    @halaab8936 9 місяців тому

    i always get confused with php oop BUT no more with this AWESOME vid , big thanks from LIBYA :) .

  • @caophuvinhfplhcm
    @caophuvinhfplhcm 11 місяців тому

    Thanks for the useful video, but for the beginner level.

  • @EnglishTogetherFast
    @EnglishTogetherFast Рік тому

    Hi Gary, I am from Afghanistan is really good and helped me a lot, thank you very much.

  • @deitunegold4593
    @deitunegold4593 Рік тому

    I love this man 👏🏾 💪🏾

  • @DougLopes
    @DougLopes 2 місяці тому

    Great video! I would love to know where can i find videos about software architecture in a more structured way. I've watched great videos about OOP, SOLID, Design Patterns, etc... but still not knowing how to separate the layers of the app if i had to build everythin from zero. Would be even better if the examples was in php, but could be any language tho. If doesn't exists good videos about this from the basics, what book should i read?

    • @GaryClarkeTech
      @GaryClarkeTech  Місяць тому

      I'm not sure if a dedicated book exists in PHP...if it does I'll read it myself!

  • @TheLocoplata
    @TheLocoplata 2 роки тому +1

    Thanks for the free tutorial. You have a great way of explaining OOP. How do I get the full course. Is it only available with the September release?

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      Yes...unless I can finish it any quicker! I'll send regular updates to my mailing list and probably a few previews

  • @elmmacwebmobileapps
    @elmmacwebmobileapps Рік тому

    straight to z point. lov it

  • @sarzrohan4841
    @sarzrohan4841 3 місяці тому +1

    I undestood till 1:21:00 thats bad on my part but the tutorial is great, I am a beginner and imagining an output and coding is not currently my in skillset, I am coming again after some exercises

  • @vladnicu3655
    @vladnicu3655 2 роки тому +1

    Hello Gary, maybe you can specify the PHP version which are you using. Also make you can add a section on how to install PHP for very beginners

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      Yes..I'm using PHP 8
      Brad Traversy covers PHP installation for very beginners in this really good video:
      ua-cam.com/video/BUCiSSyIGGU/v-deo.html

    • @vladnicu3655
      @vladnicu3655 2 роки тому

      @@GaryClarkeTech Thank you for your work!

  • @richlife6420
    @richlife6420 Рік тому

    thank you very much. It is a resourceful tutorial.

  • @jochenkohler6721
    @jochenkohler6721 Рік тому

    very good! Thanks Gary!

  • @coder_one
    @coder_one Рік тому +1

    Such a question about "const" - in JavaScript/TypesScript there is such a good practice to use "const" by default, not "let" for variable declarations. As I understand it, in PHP it is the other way around? :)

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      Yes although we now have readonly properties as well

  • @chikechiagbaizu5392
    @chikechiagbaizu5392 Місяць тому

    Awesome!!!

  • @intune6
    @intune6 11 місяців тому

    What is the color theme you are using. I like it a lot!

    • @GaryClarkeTech
      @GaryClarkeTech  11 місяців тому

      That was actually just a bunch of custom settings I created in PHPStorm. Some people complained about it being too dark so I use Material Darker these days.

  • @monkeydlodi7296
    @monkeydlodi7296 Рік тому

    hey, thank you for this. is the full course website still up? cant seem to open the site

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      Yes sorry...I was trying to update something yesterday. It's up now

  • @emekatimothyiloba699
    @emekatimothyiloba699 Рік тому +1

    Nice Explanation

  • @NedumEze
    @NedumEze Рік тому

    Hi, Gary.
    Greetings. And thanks for the Tutorial. Continues to be so helpful even referential.
    Please, may I ask?
    As you know, sir, a lot of Hosting plans do not allow Subscriber Server Settings access. In these cases, access to Env Variables becomes out of the question.
    But the need to keep configuration settings outside the web root remains critical.
    Can I define my configuration settings as constants in Class file, then place the Class outside the root and still have Composer Autoload.php access it and load it as needed ?
    If yes, how should the "psr-4": {"app\\Config": " ../../config " }, look like?

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      Yes you can do that but there are still some considerations. e.g. do you really want to put sensitive config in code which is versioned?
      A lot of hosting solutions have secrets systems which you can use but if you really have no option than to use code then make sure it is outside of your publicly-accessible web folder. You can create a namespace mapping in the same way that you create any other.

    • @NedumEze
      @NedumEze Рік тому

      @@GaryClarkeTech
      Thanks very much Gary.
      Please, when you say "secret systems ", can you give me an example? It will help me when interacting with the Hosting Company.

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому +1

      @@NedumEze Yes a a lot of companies use something called secrets which is a way of entering sensitive data which can be retrieved by your app in a similar way as what you do with environment variables

    • @NedumEze
      @NedumEze Рік тому

      @@GaryClarkeTech
      Okay, Gary. Thanks a lot.
      I never knew that. Will pursue it.

  • @DineshJayasiri
    @DineshJayasiri Рік тому

    Thanks for this video

  • @alphayowakarindi
    @alphayowakarindi Рік тому

    👌🏾👌🏾👌🏾 Amazing!

  • @andywong2244
    @andywong2244 2 роки тому

    hey Gary! whats the difference between this video and the video you published here last year entitled "Learn Object Oriented PHP - 2 hour Object Oriented Programming Lesson For Beginners"? im pressed for time and trying to decide which one to watch. do you recommend watching them both?

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      Hey Andy...just stick with this one. It's more recent and better

    • @andywong2244
      @andywong2244 2 роки тому

      @@GaryClarkeTech thanks Gary. where can one buy the full course? i checked your website link and there's no buy course section. is it already released?

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      @@andywong2244 Not released yet, I release it on Tuesday...so not long to go! Make sure you join the mailing list cos I'll be emailing a half-price coupon to my members on Tuesday morning

    • @andywong2244
      @andywong2244 2 роки тому

      @@GaryClarkeTech already did. Thanks buddy. Looking forward to it.

  • @jaironaranjo3654
    @jaironaranjo3654 2 роки тому

    Thank you Sir

  • @craigc5879
    @craigc5879 2 роки тому

    The constructor change in php 8 that you showed at 45:42.... if you didnt make this change does the old method word in v8?

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      Yes..the old method will always still work, and it's actually still needed in PHP8 in a few situations that won't work for promoted properties.

    • @craigc5879
      @craigc5879 2 роки тому

      @@GaryClarkeTech Thanks for the response. Really enjoying the detail you are going into , I now understand private, public protected :-). Looking forward to the full course, any idea on price yet?

  • @kensleylewis
    @kensleylewis 2 роки тому +1

    would love to get any ideas on what extensions for visual studio code i can try out that does something as smooth as what is displayed at 12:18 for debugging php objects.

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      You can do the same in VSCode. Just put the var dump in your code then open a terminal (ctrl+shift+#) and run it.

    • @kensleylewis
      @kensleylewis 2 роки тому

      ah ok so in other words vscode should come with PHP support OOTB? Is that what you mean?

  • @aedaldaniel
    @aedaldaniel Рік тому

    watched in 1 go.

  • @ozy1994
    @ozy1994 2 місяці тому

    can i ask why you chopped off "interfaces" and "introduction to traits" parts from chapter 3?

  • @graham11545
    @graham11545 2 роки тому +3

    I guess i have to update my PHP to get named agruments

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +2

      Yes, Anton..they arrived in PHP 8

    • @maurobono5324
      @maurobono5324 2 роки тому +1

      @@GaryClarkeTech what to do in PHP 7.4 when you have both divider and currencySymbol default arguments by you just want to change only the currency one ? do you need to use both when calling the priceAsCurrency method or is there another solution ? in production is not always possible to use PHP 8, so it would be good to know how to do it. Thanks for this free course

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      @@maurobono5324 before php 8, args with defaults have to come after positional args that don't have defaults. If you want to change one of the agrs with a default, you also have to provide values for the others :(
      That's really one of the problems that named args was designed to solve

  • @Fh_Ndiritu
    @Fh_Ndiritu 2 роки тому

    Great tutorial!

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому

      Glad you think so!

    • @Fh_Ndiritu
      @Fh_Ndiritu 2 роки тому

      @@GaryClarkeTech I have used procedural PHP and worked with CodeIgniter and Opencart. I decided to get a good understanding of OOP and your tutorial was a great start! Thank you

  • @yaboilasthope
    @yaboilasthope 3 місяці тому

    where is dependency injection and design patterns?

    • @GaryClarkeTech
      @GaryClarkeTech  2 місяці тому

      Design patterns towards the end of the full course

  • @lucasferreira8229
    @lucasferreira8229 2 роки тому

    Can I learn Laravel after I learn OOP PHP, or should I learn something else before?

    • @GaryClarkeTech
      @GaryClarkeTech  2 роки тому +1

      Yes, I think that would be a good idea. With Laravel you'll be able to take what you've learnt and start building some cool stuff...that's what it's all about.

  • @tkot7857
    @tkot7857 Рік тому

    31:55
    59:43

  • @emekatimothyiloba699
    @emekatimothyiloba699 Рік тому

    Is the full Course Out??

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      Yes the full course is here:
      www.garyclarke.tech/p/learn-object-oriented-php

  • @getteksavvy
    @getteksavvy Рік тому

    Sir any coupon for this course

    • @GaryClarkeTech
      @GaryClarkeTech  Рік тому

      I do coupons for my mailing list subscribers
      You can join here:
      www.garyclarke.tech/p/learn-object-oriented-php

  • @haidermansoor4760
    @haidermansoor4760 Рік тому

    "A parent should know nothing about the child" ~ Gary Clarke

  • @_chris_6786
    @_chris_6786 Рік тому

    👌🙂

  • @imdadullah9093
    @imdadullah9093 9 місяців тому

    sir a request please reduce your courses fee a bit or give coupon so we can buy it

    • @GaryClarkeTech
      @GaryClarkeTech  9 місяців тому

      I do regular discounts for my mailing list subscribers.

  • @coolg6574
    @coolg6574 Рік тому

    4:06

  • @AtomTCP
    @AtomTCP 2 роки тому

    Php is mum

  • @cbbcbb6803
    @cbbcbb6803 8 місяців тому

    Skip the intro.

  • @mahendranath2504
    @mahendranath2504 Рік тому

    Thank you so much ❤🎉👍🤝👌✌️👏😎🫡🙏🏻😍🫰🏻🤘🏻🙌🏻 great course which make us to thing OOPS in real world examples 🫡