Livewire Demo: Full-Page Components in a Reusable Structure

Поделиться
HTML-код
  • Опубликовано: 3 мар 2021
  • Today I'm doing a code review, but it's more like a showcase of a project that was architecturally fully built on Livewire. Let's see the details and discuss this approach, what do you think?
    Mentioned in this video:
    - Livewire Screencasts: Refactoring For Re-Usability laravel-livewire.com/screenca...
    - Spatie Laravel Query Builder github.com/spatie/laravel-que...
    - Laravel Components and Component Libraries codeblog.trovster.com/2020/05...
    - How to organize your Vue components using the Atomic Design dev.to/sanfra1407/how-to-orga...
    - - - - -
    Support the channel by checking out our products:
    - Try our Laravel QuickAdminPanel: bit.ly/quickadminpanel
    - Enroll in my Laravel courses: laraveldaily.teachable.com
    - Purchase my Livewire Kit: livewirekit.com
    - Subscribe to my weekly newsletter: bit.ly/laravel-newsletter
  • ХоббиХобби

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

  • @paulfontaine7819
    @paulfontaine7819 3 года назад +37

    I like this review approach. To me, as a solo developer, it is a nice way to quickly see how others do it. And your comments are interesting, adding value.

  • @JacquesvanWyk
    @JacquesvanWyk 3 года назад +48

    You are so valuable to laravel community. Thank you for all the free content. I am planning to look at your courses soon. Please dont stop with livewire stuff. I am loving it.

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

    Every-time I hit a wall... think how should approach to certain concept in laravel or it's eco system and I see you talking about it in your videos! THANK A LOT... 👊

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

    Merci beaucoup pour toutes votres contributions. Cela aide beaucoup

  • @EimKasp
    @EimKasp 2 года назад +10

    Is there a github repo for this project? Really interesting approach

  • @flobbos
    @flobbos 3 года назад +23

    I really like this approach and I think Livewire is exactly what I was hoping for since forever because I hate JavaScript with a passion.

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

    Professional approach and pro once. Love it..

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

    greate video and a very well structured project.....using traits for add reusable code to livewire component a very good idea. Thanks for sharing this approach. I'm very new to livewire but recently i'm starting to consider to learn/use more in my projects....maybe not a full livewire projects but some componet like tables and modals maybe

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

    Wow, that is awesome!!!

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

    I think that a good next livewire improvement will be use some caching on server side, to not need to pass component public var on every request.

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

    it was new and also verrrry interesting

  • @mvpopuk
    @mvpopuk 3 года назад +17

    Is this repo still private ? Is there a way to reach the developer who wrote this ? I would love to clone this and study the code.

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

    Hello, could you talk about the possibilities of implementing SSO in the laravel?

  • @AlexGower
    @AlexGower 3 года назад +6

    Can you get permission too share repo please?

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

    The Dev is really good.

  • @kevinwakhisi7001
    @kevinwakhisi7001 2 года назад +1

    Feel a bit intimidated by this. Awesome project. Would really want to try some of the techniques I just saw. Better yet Hope you would get tutorial on this. Simple crud with reusable components

  • @abalselwi7774
    @abalselwi7774 2 года назад +4

    For performance in livewire you can skip render and change the inpute attribute to defer .

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

    Thanks for the knowledge sharing and being one of the VALUABLE member in Laravel community. I see all the forms are extended to BaseForm class. What actually that class is doing(codes in the class) though?

  • @latlov
    @latlov 3 года назад +7

    That developer should consider becoming a RUclipsr. He can successfully start making this project as a youtube series!

  • @notrealsaga
    @notrealsaga 3 года назад +4

    I wish our project could use these features, but sadly it's built on Laravel 5.1 and it's hard to upgrade

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

    Awesome! can i know what is your cp theme ? it's very familiar

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

    hi sir . my laravel livewire project upload in live serve but not working livewire error (Livewire is not defined)

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

    Great Job!!!! What admin theme??? It is beautifull and UI nice

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

    does anyone know the name of the template?

  • @belipero
    @belipero 3 года назад +4

    Hi! Thanks a lot for your turtorials, they are really great. The frontend of this video is awesome, can you share which technology is and if it's a free o paid template? Regards!

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

    How can I get the template admin?

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

    Hi what theme are you using on this one

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

    I have problem with livewire change theme! I need some solutions please!

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

    I would definitely pay for the code

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

    Awesome

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

    wow. Great

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

    can I copy the project? for study needs

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

    Hi Sir, can you show me how to make Laravel 8 + Fortify + TailwindCSS 2.0 setup without Jetstream Livewire nor Inertia, and also without using pradeep3/fortify-ui-tailwindcss package. Thank you so much.

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

      Similar video, but with Laravel UI: ruclips.net/video/NuGBzmHlINQ/видео.html
      So replace Laravel UI with your Tailwind theme of choice.
      Also, isn't it more simple to use Laravel Breeze, then?

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

    cool video, thanks for meke it! which's this IDE theme?

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

    What exactly Is the problem with many request to the server? I started backend with livewire.(it Will be used by 10people).I have a good server scalable end i would Like to understand the problems i might have

    • @LaravelDaily
      @LaravelDaily  3 года назад +4

      Well it's two problems:
      - Too many server requests in general (it may cause performance issues if a lot of people are using the site)
      - And glitches in the browser if the refreshed area is too big, so the browser will "blink" while reloading too big portion of HTML (you can see this in this video, fraction of a second after modal closes)

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

    I'm sorry, there is a question I need an answer to. Livewire and inertiajs. Are these totally dependent on some existing framework? Can't I just use them, in my own custom PHP code?

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

      Livewire is a Laravel package, so it depends on Laravel.
      Inertia depends on one of the frameworks, it has adapters for react/vue from what I remember, and for Laravel and something else, check the docs.

  • @mohmmedabd-alrazaq3913
    @mohmmedabd-alrazaq3913 2 года назад +1

    can u share source code there ?

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

    Where the repo so i can learn?

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

    Need tutorial on reusable components ☺️

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

    what is the name of the admin panel template you are using?

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

    Do you have any plan to add livewire type to QuickAdmin project?

    • @LaravelDaily
      @LaravelDaily  3 года назад +3

      Yes it's already in progress, to be released in late Spring.

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

      @@LaravelDaily Thats great. And laravel fortify,too? The two factor auth with my iphone is great. I like this in quickadminpanel ;)

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

    Does the server have to be high-speed every time livewire request and respond to data?

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

      Not really, requests should be quick.

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

    Hi there. I'm interesting to buy a license. Could you put me through with the developer (if is interested to sell). Thank you.

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

    when we are supporting in quickadminpanel ?

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

      Livewire version of QuickAdminPanel is coming later this Spring.

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

    Is it possible to make a video or playlist on how can we use livewire for example components based or full page based or any other approaches? And how to use livewire efficiently i mean how to reduce server calling etc.......... Or if the project is for general public like saas how would we efficiently use livewire

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

      I have talked about Livewire a lot on this channel, and there's no single video about "efficiently" using it, there's no such thing: you just use it according to the docs, choose the structure you want, and monitor/debug that it wouldn't perform too many server requests.

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

    That blink of whole page after closing modal window looks to me like dealbreaker 🙈 Could it be eliminated?

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

      Not really, that's the point of Livewire - to refresh the full html of the block. But maybe I missed something while reviewing and something could be still optimized.

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

      @@LaravelDaily i think show modal handle by alpine (x-show) , if handle by component problem solve , i'm not sure .

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

    good work .web developer! i am waiting your vedio.can you login with firebase api and messging with firebase..

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

    Fine with Livewire, but what if you need to make an app with the same code, you would have to make an api by writing a new code for the API?

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

      Yes, if you need a mobile app, then you need a new code for the API. Livewire has nothing to do with API, it's for the web.

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

      @Laravel Daily I understand then for now it has nothing to do with what I do, almost always the projects are CROSSPLATFORM, I guess Livewire is for projects that are web only and will not scale to other platforms, because otherwise it would be a waste of time.

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

      @@abelenocrodriguez Why? The only thing what you need is the api routes. Its 1 command for create a resource api routes and macros.

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

      @@abelenocrodriguez you simply extract your logic and use it with both livewire and api routes.

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

    How the login and authentication is happening?

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

      Haven't checked while doing this review.

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

    His projects is what really buging my mind after few months diving inside livewire, "is livewire designed to be a replacement for controller completely?",

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

    Is this project public?

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

    do you have a course for real time using laravel?

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

      You mean something like websockets? No, I don't have any course about it.

    • @ma08serrano
      @ma08serrano 2 года назад +1

      @@LaravelDaily ya. Something like when the database updated. The page will refresh automatically and change the data in frontend.

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

      @@ma08serrano with livewire you can use emit or wire:poll

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

    can anyone tell me what admin theme was used here?

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

    Can we get repo of this project

  • @alimahdavi9775
    @alimahdavi9775 3 года назад +4

    🤔🤔 106Kb load each create,edit,delete, sorting and filtering is so big ...
    For my opinion use livewire for components not full page.
    What do you think about InertiaJS, NuxtJS(vue serverside render) and NextJS(react serverside render)?

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

      Thats not the point. Because this requests create only admins in the admin panel.

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

    Should I learn livewire or just go to learn JS?
    Livewire is getting some attention from the laravel community.

    • @LaravelDaily
      @LaravelDaily  3 года назад +3

      Learn whatever you think you will be comfortable with, or whatever you think your employers/clients would need for the projects you will work with, in the future.

    • @jaycverg
      @jaycverg 3 года назад +4

      90% of the time, it is based on project needs. For me, as a heavily backend dev, I prefer this very much.

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

    To honest not a fan of Livewire, personally, I think we introduce such issues as the separation of concerns in general in these cases.

  •  3 года назад +3

    It’s a beautiful project, but the dev is overusing Livewire.