Learn Object Oriented PHP - 3 Hour PHP OOP Course

Поделиться
HTML-код
  • Опубликовано: 5 янв 2025

Комментарии • 160

  • @yasserlatrech2774
    @yasserlatrech2774 2 года назад +15

    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 2 месяца назад

    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.

  • @quarter42coralli
    @quarter42coralli 2 года назад +11

    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  2 года назад +1

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

  • @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.

  • @alexandergeorgesquire220
    @alexandergeorgesquire220 6 месяцев назад +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  5 месяцев назад

      I appreciate the appreciation! Thanks for watching!

  • @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.

  • @muzhawir
    @muzhawir 3 месяца назад +1

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

  • @raymondmoundzele4907
    @raymondmoundzele4907 Год назад +1

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

    • @GaryClarkeTech
      @GaryClarkeTech  Год назад

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

  • @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 RUclips subscriber. Thank you for this course

    • @GaryClarkeTech
      @GaryClarkeTech  Год назад

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

  • @jorditrigo9569
    @jorditrigo9569 Год назад +2

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

  • @earavichandran
    @earavichandran Год назад

    This course is one of the best oop course in RUclips....
    Nicely explained...

  • @lifebyvikk6751
    @lifebyvikk6751 5 месяцев назад

    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.

  • @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

  • @holonaut
    @holonaut 10 месяцев назад +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  9 месяцев назад +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.

  • @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.

  • @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.

  • @lexerquine3008
    @lexerquine3008 2 года назад

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

  • @hadimokhtari7839
    @hadimokhtari7839 2 года назад

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

  • @rafi_45
    @rafi_45 Год назад

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

  • @dumisankaunga111
    @dumisankaunga111 Год назад

    Best Tutorial ever, Everything is clear.

    • @GaryClarkeTech
      @GaryClarkeTech  Год назад

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

  • @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.

  • @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 😂

  • @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!

  • @theman7050
    @theman7050 Год назад

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

  • @tesfayebeyene3030
    @tesfayebeyene3030 5 месяцев назад

    Great course, thanks Gary!

  • @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

  • @mohamedkhaled8492
    @mohamedkhaled8492 4 месяца назад

    Best oop explain ! Thank you

  • @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!

  • @tornike1s
    @tornike1s 8 месяцев назад

    best course by far.

  • @MrDammed1
    @MrDammed1 Год назад

    holy damn gary, this video is straight up enlightening

  • @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!

  • @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.

  • @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 👏🏾 💪🏾

  • @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

  • @sarzrohan4841
    @sarzrohan4841 5 месяцев назад +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

  • @halaab8936
    @halaab8936 11 месяцев назад

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

    • @GaryClarkeTech
      @GaryClarkeTech  11 месяцев назад

      That's great...thanks for watching!

  • @caophuvinhfplhcm
    @caophuvinhfplhcm Год назад

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

  • @sanusiaz9115
    @sanusiaz9115 2 года назад

    This course is more than perfect.

  • @elmmacwebmobileapps
    @elmmacwebmobileapps Год назад

    straight to z point. lov it

  • @正正-s7c
    @正正-s7c 2 года назад

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

    • @GaryClarkeTech
      @GaryClarkeTech  2 года назад +1

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

    • @正正-s7c
      @正正-s7c 2 года назад +1

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

    • @GaryClarkeTech
      @GaryClarkeTech  2 года назад +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 2 года назад

      @@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

  • @jochenkohler6721
    @jochenkohler6721 2 года назад

    very good! Thanks Gary!

  • @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?

  • @alphayowakarindi
    @alphayowakarindi Год назад

    👌🏾👌🏾👌🏾 Amazing!

  • @chikechiagbaizu5392
    @chikechiagbaizu5392 3 месяца назад

    Awesome!!!

  • @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?

  • @piotr-nowak
    @piotr-nowak Месяц назад

    Great!

  • @emekatimothyiloba699
    @emekatimothyiloba699 2 года назад +1

    Nice Explanation

  • @hasanablak
    @hasanablak 13 дней назад

    thanks

  • @richlife6420
    @richlife6420 Год назад

    thank you very much. It is a resourceful tutorial.

  • @DougLopes
    @DougLopes 4 месяца назад

    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  3 месяца назад

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

  • @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

  • @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:
      ruclips.net/video/BUCiSSyIGGU/видео.html

    • @vladnicu3655
      @vladnicu3655 2 года назад

      @@GaryClarkeTech Thank you for your work!

  • @intune6
    @intune6 Год назад

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

    • @GaryClarkeTech
      @GaryClarkeTech  Год назад

      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

  • @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

  • @ozy1994
    @ozy1994 4 месяца назад

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

  • @yaboilasthope
    @yaboilasthope 5 месяцев назад

    where is dependency injection and design patterns?

    • @GaryClarkeTech
      @GaryClarkeTech  4 месяца назад

      Design patterns towards the end of the full course

  • @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

  • @jaironaranjo3654
    @jaironaranjo3654 2 года назад

    Thank you Sir

  • @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

  • @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

  • @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.

  • @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.

  • @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

  • @emekatimothyiloba699
    @emekatimothyiloba699 2 года назад

    Is the full Course Out??

    • @GaryClarkeTech
      @GaryClarkeTech  2 года назад

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

  • @aedaldaniel
    @aedaldaniel Год назад

    watched in 1 go.

  • @tkot7857
    @tkot7857 Год назад

    31:55
    59:43

  • @imdadullah9093
    @imdadullah9093 11 месяцев назад

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

    • @GaryClarkeTech
      @GaryClarkeTech  11 месяцев назад

      I do regular discounts for my mailing list subscribers.

  • @_chris_6786
    @_chris_6786 Год назад

    👌🙂

  • @haidermansoor4760
    @haidermansoor4760 Год назад

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

  • @coolg6574
    @coolg6574 Год назад

    4:06

  • @AtomTCP
    @AtomTCP 2 года назад

    Php is mum

  • @cbbcbb6803
    @cbbcbb6803 10 месяцев назад

    Skip the intro.

  • @mahendranath2504
    @mahendranath2504 2 года назад

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

    • @GaryClarkeTech
      @GaryClarkeTech  2 года назад

      You're welcome..glad you found it useful!