Это видео недоступно.
Сожалеем об этом.

Build a Search Bar using Livewire 3 for Beginners

Поделиться
HTML-код
  • Опубликовано: 12 авг 2024
  • In this video, I'm teaching you how to create an interactive search bar using laravel livewire 3 in less than 10 minutes. Will learn the basics of creating an interactive component using laravel livewire.
    HTML template :
    gist.github.com/CodingFlick/5...
    Livewire 3 website :
    livewire.laravel.com/
    Boostrap Documentation:
    getbootstrap.com/docs/5.3/get...
    composer require livewire/livewire:^3.0@beta
    php artisan make:livewire SearchBar
    -------------------------------------
    Time Stamps:
    -------------------------------------
    00:00 - Project Demo
    00:25 - Install Livewire / Init
    02:20 - Create Component
    04:19 - Implementing Functionality
    12:05 - Extra Tip
    If you would like me to make more livewire videos, please let me know by liking the video and commenting what you like to learn next.
    What is livewire:
    Livewire is a full-stack framework for Laravel that makes building dynamic interfaces simple, without leaving the comfort of Laravel. (Taken from Livewire Documentation)

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

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

    Nice video!

  • @punkygamer7668
    @punkygamer7668 Год назад +5

    Wow! loved the way you teach. Need More Videos on Livewire 3 such as
    - Custom Login Authentication
    - Admin Dashboard etc...

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

      Thank you for watching. I'm glad you like the videos.
      Will for sure be making more Livewire videos.

  • @shubhamsahuSD
    @shubhamsahuSD Год назад +5

    Livewire is love

  • @kickin60
    @kickin60 Месяц назад

    Thank u so much Yelo, I learned how to make Live Search with Livewire today.

  • @sjwatts20
    @sjwatts20 19 дней назад

    Great vid, thanks

  • @da1shiq
    @da1shiq Год назад +3

    Nice video! Glad to learn more from you. I just got into Livewire and i think your videos is a good start because of clear teachings and great explanation. Already subscribed!

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

      Thank you for watching , I'm Glad the videos are helpful.

  • @claudiomenares4172
    @claudiomenares4172 4 месяца назад +2

    Muchas gracias, este contenido es impresionante y muy fácil de entender ♥

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

    Very nice video! There is a way you can expand upon the use of Livewire here. You can add a public users variable to the to the component and either give it a default value or add a mount method to set it. And then just have your eloquent query results go into that public users variable and livewire will automatically have it available for the blade file. The blade file can stay the same. Cheers!

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

    nice fresh livewire 3 video, i can wair for more, than you!

  • @duartecancela
    @duartecancela Месяц назад +1

    More teachers like you 😂

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

    love it

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

    Wow, I just started using laravel for I think 2 months for school project, and I feel like this livewire is like a cheatcode😂

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

    You made my day ,thank you very much

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

      Glad to hear that

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

    Thanks for your video 👍
    Can you increase the font size of the code

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

      Thank you for watching.
      Thanks for the feedback, I have increased the font size in the recent videos. Do let me know if it should be bigger I appreciate it.

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

    Yoooo❤️❤️
    Nice video💥💥
    I'm thumbnail designer and wanted to work with you to grow your channel up🔥🔥

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

    Please are the livewire requests asynchronous? I have a search bar that grabs data from an external API and it takes a few seconds to grab the data. When I type in that search bar and while waiting for it to grab the data, I fill in another part of the form, it waits till the first request is completed before it sends the second request

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

    how can we make a search component to search in multiple models more likely a global search?

  • @SEOng-gs7lj
    @SEOng-gs7lj 3 месяца назад

    what is the responses are out of order?

  • @carmelshores2658
    @carmelshores2658 11 месяцев назад +1

    My biggest question about Livewire & using Laravel PHP on the Frontside is CAN I BUILD an OFFLINE app for IPad, IPhones, Android?
    That is, I have a SQL based online database for storing authentication credentials of Users & another table for storing form data submitted from workers out of the office.
    In the field users for a company need to fill out a multi-page or views form with text & integer inputs. I need to provide the field users with an app on their devices that can save multiple form submissions locally, like a PWA, without being connected to the server endpoint.
    When the device is then re-connected to the internet it will automatically upload all of its forms data back to the server hosted database.
    Can Laravel PHP & livewire components handle this task?
    If so, how is the User device side form code with its login page delivered to these front end devices?
    I know of the different javascript based frameworks which can handle this, but is Laravel PHP with Livewire finally able to achieve this kind of functionality?

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

      From my understanding of your project description, no, it's not possible with livewire only, and things like this are not the intended use case for livewire as far as I'm aware.
      You may be able to do this with Alpine js and some custom js to handle local storage and other offline functionality you have and livewire for form submissions. But using some javascript framework with good offline and PWA support is probably the way to go.
      Alpine does have the ability to store things in local storage, though I personally have never had to use it : alpinejs.dev/plugins/persist

  • @TheBestgoku
    @TheBestgoku 9 месяцев назад

    @yeloCode is there any reason not to use javascript to do this, apart from the fact that you don't want to use JS just because you are a PHP guy. I simply mean is this better in performance? bcz JS is built for these tasks and this livewire seems like a workaround. Can you plz explain.

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

      Thanks for watching.
      Main reason for a lot of people using livewire is productivity / speed of development and ease of use, compared to something like vue js or react for simple or crud based applications. Specially if you freelance or work in a small company.
      Also if you are a mainly backend php person it's just alot easier to write livewire than js code and maintain it + it's also easier to add new people or interns to the team if you have a small company / startup, if they know php / laravel they should be able to contribute to the team very quickly.
      One thing to keep in mind though, is livewire is not a replacement for things like vue or react or any other js library/framework, it can't do everything but it's perfect for crud based operations specially if 90% of your application is static pages and you only need 1 or 2 that are dynamic or SPA then livewire is a great choice.
      If you need more or don't like livewire, inertia js is a good alternative. It makes it super easy to work with vue, react or svelt and now is maintained by the laravel team themselves.

    • @TheBestgoku
      @TheBestgoku 9 месяцев назад +1

      @@yelocode thanks, i think i understand.

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

    Promo SM 😆

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

    Iranian?

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

      The accent too obvious 😆?

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

      @@yelocode lol, no you have pretty good accent bro

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

      Thank you for watching bro