Building a Datatable with Livewire 3

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ส.ค. 2024
  • In this video, we'll build a Datatable with pagination, search, and sorting.
    We'll also use the Blade UI Kit and create a small blade component to keep our blade file clean.

ความคิดเห็น • 36

  • @devopssimon
    @devopssimon 22 วันที่ผ่านมา +1

    Brilliant video, Thank you. I used to use PHP many years ago before moving to JS, but looking at how the PHP ecosystem has progressed, I am keen to get back and get productive again.

    • @CodewithBurt
      @CodewithBurt  8 วันที่ผ่านมา

      Glad it was helpful!

  • @richardwheatley7194
    @richardwheatley7194 9 หลายเดือนก่อน +1

    Livewire makes this very elegant. Very good tutorial which makes it clear and straightforward😃. Packages are overkill for these things IMO.

  • @alexxgdx
    @alexxgdx 10 หลายเดือนก่อน +2

    Thank you for your Time ❤. I started learning Laravel and Livewire on my own a few weeks ago and that was the most informative 30min I’ve seen on this subject so far. Abo placed

    • @CodewithBurt
      @CodewithBurt  10 หลายเดือนก่อน

      Thanks ! I'm glad you liked it!

  • @StefanSchmalhaus
    @StefanSchmalhaus 8 หลายเดือนก่อน +1

    Thank you very much for this great tutorial!

    • @CodewithBurt
      @CodewithBurt  7 หลายเดือนก่อน +1

      Glad you liked it!

  • @miguelmenchuxoyon4191
    @miguelmenchuxoyon4191 2 หลายเดือนก่อน +1

    In Livewire 3 and Laravel 11, you must to add the WithPagination trait and publish Livewire's pagination views to render page navigation links

  • @zackyhabibie3733
    @zackyhabibie3733 8 หลายเดือนก่อน +1

    very clear.... i like how u code....
    n now i just want u to make more videos 😂

    • @CodewithBurt
      @CodewithBurt  7 หลายเดือนก่อน

      More to come!

  • @binaryfire
    @binaryfire 9 หลายเดือนก่อน +1

    Thanks for the recent content. Livewire makes complex things so easy. Regarding the scope: wouldn't it be better to return early if $value is null? No point in adding those where clauses in that case.

    • @CodewithBurt
      @CodewithBurt  9 หลายเดือนก่อน

      You could do that. But most of the time performance would be the same.

    • @binaryfire
      @binaryfire 9 หลายเดือนก่อน +1

      @@CodewithBurt It’s more about team consistency. Better to do it everywhere to avoid performance issues than try and decide on a case-by-case basis IMHO.

    • @CodewithBurt
      @CodewithBurt  4 หลายเดือนก่อน

      It all depends on the use-case indeed.

  • @igapaja
    @igapaja 4 วันที่ผ่านมา

    wow, it's like magic! thank you. anyway i have a question, i already use WithPagination, but sometime still got "The GET method is not supported for route livewire/update. Supported methods: POST." error, i need your help, thanks

  • @marklouis7222
    @marklouis7222 3 หลายเดือนก่อน +1

    wire:model doesn't work in my project. How to fix? it doesn't get the value of the perPage.

    • @CodewithBurt
      @CodewithBurt  2 หลายเดือนก่อน

      Be sure to check if you installed Livewire correctly, maybe you have 2 instances of Alpine included, or some other javascript error. Try checking your console output.

  • @javi-alcala
    @javi-alcala 6 หลายเดือนก่อน +1

    Thanks, Im was stuck with tutorials on Livewire 2 and they work dont using Livewire 3

    • @CodewithBurt
      @CodewithBurt  6 หลายเดือนก่อน

      I'd suggest updating your Livewire2 projects to Livewire3, it's a game changer. :-)

  • @AhmadFariz-oy5os
    @AhmadFariz-oy5os 5 หลายเดือนก่อน +1

    i follow this video, why my datatable is very slowly to sort asc & desc.
    i dont know where my problem.

    • @CodewithBurt
      @CodewithBurt  4 หลายเดือนก่อน

      It all depends on the server you're using, how many data you're trying to query and render.
      Can you give some specifics?

  • @nathanlumban
    @nathanlumban 4 หลายเดือนก่อน +1

    "I want to ask about how to solve this so that regular html can do this"

    • @CodewithBurt
      @CodewithBurt  4 หลายเดือนก่อน

      You simply can't the "

  • @0zankurt
    @0zankurt 10 หลายเดือนก่อน

    Just use a package...

    • @CodewithBurt
      @CodewithBurt  10 หลายเดือนก่อน +6

      What's the fun about that right 😁. You could use a package indeed, but we're trying to learn the habit of how to create stuff here.