Advanced Laravel | What is Laravel Events & Why and How Use Events #16

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

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

  • @itsmedheeraj
    @itsmedheeraj 5 лет назад +2

    Lovely.. quite informative as doing some implementation of events and listener as the independent package for PHP.

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

    Nice explained

  • @WiseFactsTV
    @WiseFactsTV 5 лет назад +1

    Amazing tutorial! Keep up the good work.

  • @eleazarfederio1718
    @eleazarfederio1718 3 года назад +1

    Sir, is this applicable in laravel 8?

  • @adrien8768
    @adrien8768 7 лет назад +1

    You are the best!!! :) thanks

    • @Bitfumes
      @Bitfumes  7 лет назад

      Thanks for watching, please like Bitfumes on facebook to get latest updates

  • @stoianmihail8480
    @stoianmihail8480 3 года назад

    For me nothing happens. I imported the class but it just doesn't get into the DD part. Why would that be?

  • @SajidLatifDK
    @SajidLatifDK 6 лет назад

    Nice work 👍👏🏼🙌🏽

    • @Bitfumes
      @Bitfumes  6 лет назад

      Please like Bitfumes on facebook/twitter to get latest updates

  • @perfectwebsolutions
    @perfectwebsolutions 7 лет назад

    in class if you are declaring a property and that property don't need to access outside of the class by it's object then make it private or protected rather than making it public. i'm talking about $message property declared

    • @Bitfumes
      @Bitfumes  7 лет назад

      Hey, if you made $message as private then it will not going to pass to pusher.

    • @perfectwebsolutions
      @perfectwebsolutions 7 лет назад

      ahhh Ok, got it thanks

    • @hashaamzahid3319
      @hashaamzahid3319 5 лет назад

      sir , please make video on advance laravel . just like this in depth #perfectwebsolutions

  • @pastuh
    @pastuh 7 лет назад

    Can i use this to automatic assign specific Role for new registered User?
    Or there is better method? Thanks

    • @Bitfumes
      @Bitfumes  7 лет назад +1

      yes its possible, when creating new user then just after that you can hard code role, that will be default role

  • @asimsagirabbasi2148
    @asimsagirabbasi2148 5 лет назад

    hi sarthak I need some suggestion can u let me know how to contact with you? thanks

    • @Bitfumes
      @Bitfumes  5 лет назад

      join slack group and message there, join.slack.com/t/bitfumes-community/shared_invite/enQtMjAwNTgzMDQ5ODU2LWM2ZDA2OGMzNTNiZjBiNGZkYTk3MjgzYjFmNjk5NjBiN2Q2ZjBjNThmOGZlNmY3NTM3YzdmZGQzNDdmN2NhM2Q

  • @donpuerto
    @donpuerto 7 лет назад

    Do you have plan for Laravel notifcations using email and sms?

    • @Bitfumes
      @Bitfumes  7 лет назад +1

      yes, I will show notifications system in this advanced series.

    • @donpuerto
      @donpuerto 7 лет назад

      are you using sms and email?

    • @Bitfumes
      @Bitfumes  7 лет назад +1

      may be email, as I will going to show sms system in a separate series

  • @igbokwelaurence5882
    @igbokwelaurence5882 4 года назад

    Kept getting Error: Class 'TaskEvent' not found inside my routes

    • @tomasz69
      @tomasz69 4 года назад

      Add use App\Events\TaskEvent; in your routes

  • @smartsolutions4955
    @smartsolutions4955 3 года назад

    You called dd() abbreviation wrong, its “Dump and Die”.

  • @mohammedalik7091
    @mohammedalik7091 6 лет назад +1

    sir....
    i am getting this error "Class 'TaskEvent' not found"
    while executing this the code as you told in this lecture...
    why is this?
    advanced thankz for reply...

    • @Bitfumes
      @Bitfumes  6 лет назад

      you need to use this class at top where you are using this

    • @mohammedalik9222
      @mohammedalik9222 6 лет назад

      @@Bitfumes thank you so much sir... i got it...

  • @aruntyagi6643
    @aruntyagi6643 6 лет назад

    How to event send the message to an event listener function handle

  • @YasirMalik24
    @YasirMalik24 6 лет назад

    why we use events & listeners?

    • @Bitfumes
      @Bitfumes  6 лет назад +4

      to separate logics. so that each class has only one responsibility

    • @arunabraham9382
      @arunabraham9382 4 года назад

      One more advantage. No need to wait for a task to complete (makes your app feels to do job faster). '
      The task is separated from web execution. Usually used to notify it whenever its done if we configure to notify, else works in background.

  • @smartsolutions4955
    @smartsolutions4955 3 года назад

    miNd bL0wInG iNdiAn gUy!!!

  • @azwarsalal1691
    @azwarsalal1691 3 года назад

    Copy paste