OOPS concepts in PHP in Hindi (Polymorphism) | Part-9

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • This is the video tutorial series on Object Oriented Programming in PHP in Hindi. And this video covers Polymorphism.

КОМЕНТАРІ • 80

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

    Awesome Video, Thanks for upload.

  • @lucky2397242
    @lucky2397242 10 років тому +2

    Great Series. Please add More & More

  • @Jaisa105
    @Jaisa105 6 років тому

    Videos are very useful and nice
    add more & more
    Thank you

  • @mandeepsngh523
    @mandeepsngh523 9 років тому +5

    Sound is very loww please increase it and can u share same topic tutorial with different functions...

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

    In (PHP 8.1) you have to use this -->
    function autoloader($class)
    {
    include_once "classes/$class.php";
    }
    spl_autoload_register('autoloader');
    $logger = new Logger();
    $profile = new Userprofile($logger);
    $profile->createUser();
    ?>

  • @awanna.B
    @awanna.B 6 років тому

    Wooooooooooooooooooooooooooooooooooooowwwwwwwwwwwwwwwwwwwwwwww so simply described.
    I LOVE IT

  • @amanvarshney7417
    @amanvarshney7417 8 років тому +1

    thanks, sir this is nice and able to understand

  • @developeravijit2157
    @developeravijit2157 3 роки тому

    amazing video thanks sir

  • @islahmedia5446
    @islahmedia5446 4 роки тому

    kamaal kar dya

  • @dipakparmar7057
    @dipakparmar7057 6 років тому

    Very good.

  • @kashifali-hl9lu
    @kashifali-hl9lu 8 років тому +4

    sir ..
    ap ny itni mushkil exampl le a.
    logger ka kis ko pta o ga.
    koi easy exampl ho jati to clear ho jna ta topic.

  • @devalseer8230
    @devalseer8230 6 років тому

    I really appreciate your effort that's very helpful thank you!!!

  • @islahmedia5446
    @islahmedia5446 4 роки тому

    aj samjh i hai kay polymorphism kya hota hai , 4 saal saynhi pata chalta koi sahi example hi nhi daita, aap cha gay ho rahul

  • @bhawanisingh3671
    @bhawanisingh3671 3 роки тому

    Nice video

  • @robinsharma7952
    @robinsharma7952 9 років тому +1

    Very Nice sir.

  • @chotelalsah9378
    @chotelalsah9378 10 років тому

    Superb tutorial....Please upload Lavarel tutorial

  • @glorywebsglorywebs469
    @glorywebsglorywebs469 6 років тому

    Great tutorial

  • @qaisermahmood2813
    @qaisermahmood2813 7 років тому

    Thanks for lovely Knowledge . Please do zend Frame work as well with certification .

  • @AbdulMoiz-wn6js
    @AbdulMoiz-wn6js 7 років тому

    Sir OOP use kar k koi mini project toh bana k dikhaen jese codeigniter py kia tha aap ny.. It was very helpful agar using OOP bhi koi project banana sikha dengy toh hamary lia acha ho jaega.

  • @webmasterashishgaur
    @webmasterashishgaur 9 років тому

    sir you did great efforts for us many thanks sir, please sir if possible advance sql bhi batao aap interview k prospective se

  • @md.shafayatulhaque6273
    @md.shafayatulhaque6273 8 років тому +1

    best

  • @websitetechniques
    @websitetechniques 9 років тому +1

    plz upload more video in this series.........

  • @omkarjere
    @omkarjere 7 років тому

    Rahul, is example mein agar type hinting na use kiya jaye to kya hoga
    Jaise ki
    public function __construct(LoggerInterface $logger) ki jagah sirf
    public function __construct($logger) dala jaye to har wo class acceptable hogi jisme log() function hai.

    • @boravivek
      @boravivek 7 років тому +1

      Your Question is very good , i tested on this thing , and on basis of it i assume that typehinting is only for hinting purposes like enforcing the user to only use the variable of that particular class which class we are using as typehinting , even if u don't use typehinting than also your code will work similarly as it is working with typehinting , as in index.php file we are having this code:-
      $logger = new DBLogger;
      $profile = new UserProfile($logger);
      so when UserProfile Function we pass $logger variable with DBLogger Class in it , which connects the UserProfile Construct to DBLogger Class and show the message.
      But using type hinting has its own benefits.

  • @dhrubavideos
    @dhrubavideos 6 років тому

    great

  • @jyotibarasker2792
    @jyotibarasker2792 7 років тому

    nice video

  • @user-xv6ut9pe5n
    @user-xv6ut9pe5n 5 місяців тому

    Rahul Bhai ske sath main hi Design patterns bhi bta saktain hai.

  • @imranhussain1947
    @imranhussain1947 8 років тому

    Hi Rahul G
    Best tutorials hai ...................
    If any tutorials for zendframwork.....plz provied url

    • @PHPinHindi
      @PHPinHindi  8 років тому

      +Imran Hussain abhi tak to nai hai .. may be future mein karenge..

    • @imranhussain1947
      @imranhussain1947 8 років тому

      OK sir g

  • @DineshKumar-hf5ry
    @DineshKumar-hf5ry 7 років тому

    rahul ji plz function overloading or data abstraction par b tutorial banao...

  • @Tutorialswebsite
    @Tutorialswebsite 6 років тому

    Doing Great Job Sir :)
    want to learn more on your #tutorialswebsite

  • @idrees7861000
    @idrees7861000 3 роки тому

    it goes against the type hinting as we provide the object of classes like EmailLogger, DBLogger and FileLooger and where as we type hinting for LoggerInterface.

  • @karanraghav21
    @karanraghav21 9 років тому

    Hi Rahul
    Thanks for your wonderfull video. I just want to confirm that as you have used include_once("classes/$class.php") in __autoload function. Will that automatically include all the files which are placed in classes folder?

    • @PHPinHindi
      @PHPinHindi  9 років тому

      Karan Raghav Yes, for detailed description watch this: ua-cam.com/video/-SKxAfdJi7M/v-deo.html

  • @trimedu3187
    @trimedu3187 8 років тому

    Hello Mr Rahul.. I'm enjoying your tutorial very much..
    have you any tutorial on live project..? It would be useful for beginner like me after these series.. thanks..

    • @PHPinHindi
      @PHPinHindi  8 років тому +1

      I'll be making a project based on oops.. very soon.. stay tuned.. :)

    • @entrymaar
      @entrymaar 8 років тому

      sir kab start kren gay ??? i am waiting :)

  • @webtpoint8009
    @webtpoint8009 4 роки тому

    what does __autoload function do? and how it works

  • @sikshyamaharjan9793
    @sikshyamaharjan9793 6 років тому

    I understood everything you meant. The only problem is I am not being able to run the program. Whenever I try to run the index.php , I get http error 500

  • @imrojali5440
    @imrojali5440 9 років тому +1

    please load every concept of oop .that should be simple
    basic level and advance level.
    Thanks

  • @tusharkele8773
    @tusharkele8773 7 років тому

    Class 'DBLogger' not found error come...pls tell me where i wrong?

  • @ashwanimukharji1285
    @ashwanimukharji1285 9 років тому

    i am new in codeigniter , plz help me , how to use css and jquey , and how to use images in html page it's not displaying

  • @AsifKhan-qj2rw
    @AsifKhan-qj2rw 6 років тому

    Sir polymorphism is only implemented by interface in php

    • @amitmaurya01
      @amitmaurya01 5 років тому

      Yes, In php polymorphism can be implemented by interface only.

  • @abhinavkhare4716
    @abhinavkhare4716 7 років тому

    will u pls provide another easy example for polymorphism pls?

  • @WaqasYousaf1
    @WaqasYousaf1 8 років тому +2

    Logger logger logger logger logger and here another logger... how many loggers are there??

  • @abirshaw9553
    @abirshaw9553 5 років тому

    sound is low and please share magic function series..

  • @akshaykakkar6472
    @akshaykakkar6472 7 років тому

    hey.....rahul
    i get the error on same code that you write
    here i am mentioning about error
    Fatal error: Call to a member function log() on null in F:\XAMPP\htdocs\www\oops\polymorphism\classes\UserProfile.php on line 11

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

      Please pass the parameter also in your log function.

  • @fakhruddiin
    @fakhruddiin 9 років тому

    nice video
    oops video 1 to 9 ya aru bhi oop ka video upload kiya hai

  • @jayeshmemagara8441
    @jayeshmemagara8441 7 років тому

    i want to teach and understand complate laravel ??
    then what can i do???

  • @TejasSoni1072013
    @TejasSoni1072013 6 років тому

    Dost theme white use kro visiblity achi rahegi viewers ko

  • @ashishpal339
    @ashishpal339 9 років тому

    hi rahul,
    Do you have tutorials for objective-C and swift also?

    • @PHPinHindi
      @PHPinHindi  9 років тому

      +Ashish Pal No .. I do not have tutorials for those yet.

    • @ashishpal339
      @ashishpal339 9 років тому +1

      Thanks rahul to reply
      Your php tutorials are very helpful.

  • @LiakatHossain
    @LiakatHossain 7 років тому

    why do you not like to work on windows?

  • @infytelecom
    @infytelecom 10 років тому

    this is last video of oops? (including magic function series video)

    • @PHPinHindi
      @PHPinHindi  10 років тому +1

      no there's more to come.. keep watching. :)

  • @nirvikar23
    @nirvikar23 6 років тому

    Please increase size of screen so I can view on my mobile

  • @avinashkashyap7790
    @avinashkashyap7790 9 років тому

    sir thoda zoom kr ke smjho. or isko zoom kr ke jarur bnana. part-9

  • @RajeevKumar-jt8vl
    @RajeevKumar-jt8vl 6 років тому

    in the polymorphism you did not provide exact example of polymorphism pls provide exact info and simple way

  • @ankurmishra8543
    @ankurmishra8543 8 років тому

    sir what is meaning $class.php in include_once("classes/$class.php");

    • @PHPinHindi
      @PHPinHindi  8 років тому

      +ankur mishra this is just a variable..

  • @nitinkumar8287106536
    @nitinkumar8287106536 4 роки тому

    sorry to say but where's polymorphism in this video.? Whole video is full of dependency, type hinting, logger logger......

  • @mann5681
    @mann5681 6 років тому

    Mine is not happening giving different errors..

  • @azimkhan3927
    @azimkhan3927 8 років тому

    this video confusing me ...in helping this topic

  • @aliraza-uk7dw
    @aliraza-uk7dw 7 років тому

    sir can u explain wghat auto fnction load

    • @boravivek
      @boravivek 7 років тому

      Watch his magic function videos , there he has explained autoload function

  • @charanmeetsingh728
    @charanmeetsingh728 7 років тому

    end tutorials except from low sound in video

  • @abhishekchatterjee8151
    @abhishekchatterjee8151 5 років тому +1

    Sir, your voice is too low.

  • @Ыфдфвшт
    @Ыфдфвшт 5 років тому

    бюр мюр

  • @Abhishekkumar-jx8ex
    @Abhishekkumar-jx8ex 5 років тому

    bahut complicate kar rahe ho aap plz simple way mai samjhao

  • @WaqasYousaf1
    @WaqasYousaf1 8 років тому

    your videos were great till this example. this example has messed up everything in my head.

  • @davendersingh2697
    @davendersingh2697 6 років тому

    nice concepts , thanks