Global Blade variable | Laravel 10 Tutorial #44

Поделиться
HTML-код
  • Опубликовано: 13 июл 2024
  • Global Blade variable | Laravel 10 Tutorial #44
    On this episode, we will add top users to our application and also cover global blade variables using view facade.
    laravel.com/docs/10.x/views#s...
    Playlist of Laravel 10 Tutorial Course :
    • Laravel 10 Beginners C...
    Full Code on github:
    github.com/yelocode/ideas
    Boots Watch :
    bootswatch.com/
    Laravel debug bar:
    github.com/barryvdh/laravel-d...
    HTML template Github Link:
    github.com/yelocode/bootstrap...
    What is Laravel :
    Laravel is a free and open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model-view-controller architectural pattern and based on Symfony.
    en.wikipedia.org/wiki/Laravel
    If you're looking to learn how to authenticate a user using Laravel 10, then this is the video for you! In this tutorial, In this tutorial, we'll create a simple registration form that users will be able to submit.
    If you have any questions or problems please leave a comment.
    Laravel Blade global variables
    Laravel crash course
    Laravel Database and crud tutorial
    Laravel Login and Authentication
    Laravel form request

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

  • @HamadAbdulla_7
    @HamadAbdulla_7 6 месяцев назад +1

    thank you

    • @yelocode
      @yelocode  6 месяцев назад

      Thanks for watching.

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

    Thank you. Very helpful content.

  • @turki5528
    @turki5528 6 месяцев назад +4

    to be honest this is the best channel i watched in years if you will do paid courses sign me up !! thank you !👍

    • @yelocode
      @yelocode  6 месяцев назад

      Thank you, glad to hear that. I'm planing to release some paid courses but want them to be alot better than my youtube videos, will make announcements once the courses are out.
      Thank you 😄

  • @miladseifoori6645
    @miladseifoori6645 6 месяцев назад +1

    good job bro

  • @aravindkumark4527
    @aravindkumark4527 6 месяцев назад +1

    make the video for backpack package in laravel

  • @alikaram98
    @alikaram98 6 месяцев назад +1

    why subtitle video is closed?

    • @yelocode
      @yelocode  6 месяцев назад

      I think they are active now, they are auto generated by youtube, might take a few minutes for it to be available.

  • @immanuelnganga3920
    @immanuelnganga3920 5 месяцев назад +1

    you shall not get sick again

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

      I hope so too

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

    Hi thanks for this tutorial, is good or bad to create a static function in User model topUsers a return
    self::withCount('ideas')... ? and called from AppServiceProvider as User::topUsers(); to passed to the View share facade?

    • @yelocode
      @yelocode  4 месяца назад +1

      Thanks for watching. Generally speaking on small projects it's not a problem to do that . However, if you see or know that the User Model might be getting too big or you have too many static methods like the topUsers, you are better off refactoring or having them inside a service or helper class that is only responsible for these kinds of queries so your code is better organized.

  • @shubhamsahuSD
    @shubhamsahuSD 6 месяцев назад

    In livewire 3 , i am facing a problem if i try to do this on mount i am getting an error i cant do any complex query in livewire 3 which contains groupBy, select, orderBy etc.
    E.g i am doing this on mount method

    • @yelocode
      @yelocode  6 месяцев назад

      Should be able to these queries in mount. What kinda error are you getting? can you share it

    • @shubhamsahuSD
      @shubhamsahuSD 6 месяцев назад

      @@yelocode i have so question, but I can't share link here youtube automatically removing it