Laravel vs React

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

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

  • @ajlive6737
    @ajlive6737 5 месяцев назад +106

    one min silence for those who thinks php is a dead language..
    proud to be a php laravel developer for a decade

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

      sunken cost fallacy?

    • @m.moonsie
      @m.moonsie 5 месяцев назад

      @@nymez6968 literally no

    • @nou4605
      @nou4605 5 месяцев назад

      @@nymez6968 Cope

    • @Joshua.Developer
      @Joshua.Developer 3 месяца назад

      Seems to be more PHP jobs

    • @nymez6968
      @nymez6968 3 месяца назад

      @@Joshua.Developer more than what?

  • @millennia
    @millennia 5 месяцев назад +27

    As a non-native English speaker, I learn new words every time I watch your videos!
    Today I learnt the words: remiss and dichotomy. :)
    Thank you Aaron! Informative video as usual.

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

      I like you already 🤗

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

      Remiss was a vocubulary that cought my fancy in this video. I had to look up its meaning.

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

      Me too. He speaks very clearly.

  • @MrErdkamp
    @MrErdkamp 5 месяцев назад +21

    Started a Laravel/Inertia/Vue project this week. I am still very much slower in writing php, but you can just 'feel' how powerful this stack is.

  • @liorocks
    @liorocks 5 месяцев назад +36

    I was an early adopter of the Inertia with React and I can really enjoy seeing this combo gaining traction again these days.

    • @Soulis98
      @Soulis98 5 месяцев назад

      Better than livewire?

    • @liorocks
      @liorocks 5 месяцев назад

      ​@@Soulis98 If you're coming with a PHP background, then Livewire might be easier to understand and be a better choice in some cases. If you need high interactive client side application, then using React or Vue with Inertia would be a better alternative.
      Inertia caught my eye few years ago with it's possibility of creating SPA-like websites with my favorite tech stack of choice: Laravel and React. And I've done multiple client projects with it successfully. Everything seems so natural, intuitive and easy to use/integrate compared to traditional way of API + SPA communication. And as a solo engineer on a project, it was a perfect choice for me.
      Livewire on the hand I think was a missing piece of the Laravel ecosystem. Same technique was used by Github for many years, when on some action rendering is happening on backend and html sent to the browser, instead of json. Plus you get blade syntax support out-of-box, where u can use directives like `@can` and so on. With Inertia, you have to implement that part on your own in javascript.
      I've been actively using both of them on my projects and all I can say, that they made my job more enjoyable and coding fun again. I love what both Jonathan and Caleb did for the ecosystem and I think both of these packages are very underrated today.

    • @tecsmith_info
      @tecsmith_info 5 месяцев назад

      Same

  • @nenmeet
    @nenmeet 5 месяцев назад +15

    For a PHP developer like me who is primarily backend person; livewire is awesome! It's like writing php for front-end.

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

      livewire is actually JS

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

      ​@@hakanayayes he said it in the video lol.
      Livewire handles every single part of the JS without writing js. All ajax requests are handled under the hood.

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

      What are the differences between livewire and inertia? There are so many libs and it is difficult to find the exact boundary

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

      @@groovebird812 My understanding is that, inertia is a bridge that connects Javascript front-end to backend like, laravel django etc, while, livewire is more like a mini framework specifically designed to work with laravel to handle reactive part of front-end.

    • @ivan.jeremic
      @ivan.jeremic 20 дней назад

      so server components for php? :P

  • @Ashish_singh_dev
    @Ashish_singh_dev 5 месяцев назад +37

    I'm sold, following you from planetscale though i haven't used planetscale ever.

  • @JustinJackson
    @JustinJackson 5 месяцев назад +44

    This is the best explanation I've seen for how the different layers (back end, network, front end) work together and which frameworks cover which parts.
    Also, love how you visualized where Livewire sits in all of this. Really well done! Thank you.

  • @wcrb15
    @wcrb15 5 месяцев назад +113

    I love the take of "let's stop making everything X vs Y and instead use X and Y when appropriate"

    • @disgruntleddev
      @disgruntleddev 5 месяцев назад +4

      This, everytime. I wonder why people want everything to be all or nothing

    • @jordixboy
      @jordixboy 5 месяцев назад +3

      thats the whole premise of being a software engineer, if you're a fanboy about a certain technology, then you're not a good software engineer.

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

      Yeah, i think the devspace is super poluted with absolutes. I always thought of tech in general as a toolkit to solve problems. I don't care which tool fits the best, i just use the one i know solves the problem the best way and try to learn new tools regularly.

    • @MrSofazocker
      @MrSofazocker 5 месяцев назад

      Watch me use react with laravel

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

      @@jordixboy Yep, my mantra is "Don't get yourself bullied".
      If you can't work outside of a framework to get sh* done when sh*t hits the fan, you're a script kiddie and nothing else.

  • @robrobob
    @robrobob 5 месяцев назад +10

    This is so great! You are such a good advocate for PHP. Please keep doing what you're doing! Just let people use what works for them.
    I've had a bit of JS burnout lately and so I've gone back to using PHP but I've gone ultra minimalist this time with zero JS on the front-end and even using a classless CSS framework that is literally just a "drop-in and forget" solution to styling.
    I'm using good ol' Smarty to render HTML in PHP and the resulting HTML (with zero JS and zero CSS classes) is just so incredibly pure and simple.
    Admittedly, you do sacrifice A LOT by not having any JS on the front-end but the simplicity is so freeing! I'm getting features done faster than I ever have before. It's awesome!

  • @mahmoudmousa2405
    @mahmoudmousa2405 5 месяцев назад +3

    Oh god, I can't believe it. I am so happy someone popular is actually clearing up those weird concepts that FE people have smashing NEXTJS everywhere and calling it full stack

  • @JeremyAndersonBoise
    @JeremyAndersonBoise 5 месяцев назад +7

    I heard there was drama on xitter about react vs Laravel. And now this! Thanks for talking sense, Aaron

  • @tiagobordin6580
    @tiagobordin6580 5 месяцев назад +2

    In other words, all we need for Web Dev is PHP for back and JS for Front End. Like it was 20 years ago. For me, this is the perfect Mix.

  • @nikitapashinsky
    @nikitapashinsky 2 месяца назад

    As someone who is not a professional developer (I know some JS and a little bit of React), this is such a great overview of all the different parts that make up web app development! Like pieces of a puzzle coming together. Thank you Aaron!

  • @alejonanez
    @alejonanez 5 месяцев назад +9

    Gosh this is such a good video. The intro made me laugh 😂
    This is the content I’m here for!

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

    Aaron I am big fan of yours and want to say thanks for your efforts! I am a self taught noob doing coding for fun, and you have always given me a lot of inspiration when I watch your videos:)
    Have a great day!

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

    Dev with >15 years experience. Your content is refreshing man. Both the positivity but also technical knowledge is greatly appreciated. You’re getting me a ton more interested in php and laravel. I only knew PHP from old Zend days… insane updates. Quickest tech YTer subscribe in awhile 🎉

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

      Thank you for telling me! That's an encouragement

  • @atalocke
    @atalocke 5 месяцев назад

    Another great video! I’ve been using your videos to learn Laravel and your videos have made growing my application’s features much easier.

  • @picklebrownie
    @picklebrownie 5 месяцев назад

    Thanks for posting. I'm a PHP dev looking to explore something newer/cutting edge, and this helps me on the right path. Tying together Laravel and React is going to make me such a powerful developer.

  • @nicodemosgomes5789
    @nicodemosgomes5789 5 месяцев назад +2

    I think this video really necessary today. I use Laravel 9 years already and started using React in the v15, and I see a huge hate on the Laravel community about React that I can't understand. Laravel is the most amazing framework in my opinion and I think that the power of the interaction and management of React complements this ecosystem so well.

  • @lafanter
    @lafanter 3 месяца назад

    Great video! It makes it very very easy to understand the whole eco system and describe what is what, where it belongs and what's it's role it for someone like me who is new and doesn't know what all these technologies are.

  • @andyhinkle
    @andyhinkle 5 месяцев назад +18

    With Arms Wide Open, Under ... Laravel. Welcome to this place, I'll show you everything - Aaron's Ringtone

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

    Using the term "center-stack framework" to describe recent JS frameworks is so good. I've been writing a lot of SvelteKit recently and wondered why the backend functionality seemed so sparse, even though it's often called full-stack. Definitely looking into Laravel for my next project.

  • @adammenczykowski
    @adammenczykowski 5 месяцев назад

    This aligns with my favourite approach exactly! Laravel inertia and Vue are a powerhouse for full stack development!

  • @cowgod77
    @cowgod77 5 месяцев назад +2

    Really enjoy the graphics. Nice step up in quality!

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      Thanks! That's all my cofounder, Producer Steve. He's the wizard

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

    Thank you for your videos! People like you reassure me that php/laravel is awesome and leave the haters be

  • @Stoney_Eagle
    @Stoney_Eagle 5 месяцев назад

    This is THE BEST visualization for making the right choice!!!

  • @MjrGeneralGhost
    @MjrGeneralGhost Месяц назад +2

    I mean if I am starting a new project, I personally prefer to not to mix backend and frontend. It's always better to create an API and connecting front and back together, this way in the future you can build mobile apps using the same backend, you can hire easier since you are using mainstream tools and framework (i. e. Vue, React) instead of finding people who know edge cases. There are hundreds of reason why not to do this, but it may be a good for some edge cases.

  • @StefanMalic
    @StefanMalic 5 месяцев назад

    Hey Aaron, I've been using Inertia for a few months now, and I gotta say it's a joy to work with. It's really minimal in a sense that it gives you the basic Laravel/React bridge + some pretty nice utility components, such as InertiaLink. It doesn't make you dependent on itself, like a framework would, so you're still writing React/Vue/Svelte code.

  • @peteremad5228
    @peteremad5228 5 месяцев назад +4

    love using inertia with vue

  • @jaspergorchov
    @jaspergorchov 5 месяцев назад +2

    Laravel + Next.js = 🤯

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

    30 seconds into the video and you earned a Like

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      😮‍💨😮‍💨 thank you

  • @parihar-shashwat
    @parihar-shashwat 5 месяцев назад +5

    I have been using inertia with react and laravel.

  • @s1ckret
    @s1ckret 5 месяцев назад

    Laravel is the best ecosystem I ever experienced for building MPA. In other languages (C, Java, Js, Python, Go) I always need to glue together different 3rd party libs. I wish we had smth complete like Laravel for Java or Go.

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

    In my opinion, inertia joins the most powerful backend framework with the most powerful frontend library.

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

    thanks for explaining fundamentally i loved the format thank you

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

    Never heard the word "Chasm" that many times within a few minutes

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

    I've never understood why? Why, if you have available all of the periphenalia in Laravel itself, would you want to add more javascript just for the sake or the snappy-ness? What is exactly wrong with "old school" approach of building web apps? I don't get it.

  • @alexanderkrist95
    @alexanderkrist95 5 месяцев назад

    Amazing! Imagine telling a team that’s used to doing express api’s for frontends about this 😂

  • @ernestharuna
    @ernestharuna 5 месяцев назад

    Hahahaha nice intro, the thumbnail had me thinking "what about Laravel & React"

  • @tecsmith_info
    @tecsmith_info 5 месяцев назад

    About time we got some props for Laravel + JS

  • @southernfriedhackers
    @southernfriedhackers 5 месяцев назад

    Laravel is still very much slept on by a large chunk of the dev community. We use it explicitly, big web apps, its great.

  • @yordanmilchev
    @yordanmilchev 5 месяцев назад

    Very informative on stuff I already did know but someone that is fresh to this it's a valuable video

  • @edventuretech
    @edventuretech 5 месяцев назад

    I personally love Livewire.
    It's pretty easy to start the first demo for clients.
    I don't have to mess up with building back-end API or fetching API in front-end.
    All I need is just Livewire components
    Of course, I also use React, Vue or sometime Angular. It depends on requirements and many other reasons.
    It doesn't have to be this tool or that tool. It's how we mix up and make it works for our clients!

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

    I'm 43 yrs, i'v been started learning php to learn laraval , hopefully to find a job as developper

  • @SuchismitaBasu-bj8rm
    @SuchismitaBasu-bj8rm 5 месяцев назад

    I learned a lot from this video and gained some clarity on a problem we are currently facing with one of our projects. Our team worked on a project that uses Laravel as the API backend and Vue2/Nuxt2 as the frontend. With the release of Nuxt3, there have been significant changes, and we are struggling to decide how to keep the project updated without rewriting the entire codebase. Since all of the developers on our team are fluent in Vue.js, we still want to use it as the frontend framework. After initial discussions, we are leaning towards using Laravel + Inertia + Vue, but we are open to any other suggestions. Any input is highly appreciated.

  • @saloni6242
    @saloni6242 3 месяца назад

    so i must use both, thanks for clearing.

    • @aarondfrancis
      @aarondfrancis  3 месяца назад

      You're welcome! Glad it was helpful

  • @DoubleOBond
    @DoubleOBond 5 месяцев назад +2

    Livewire for the win.

  • @kizunaastin5308
    @kizunaastin5308 3 месяца назад

    inertia js is the key, Laravel solid backend with queues, validation, authentication, MVC, support multiple db connection it could be mysql and mongodb or etc

  • @suikolaravel
    @suikolaravel 5 месяцев назад

    I really love your videos! Hopefully you post more content for us to learn

  • @muhammadhanzala3556
    @muhammadhanzala3556 3 месяца назад

    Happy with Next.js full stack.✨✨

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

    Great explanation. Keep up the good work.

  • @isaiahproctor8070
    @isaiahproctor8070 5 месяцев назад

    Been using react and Laravel a lot lately but been a little disappointed at the lack of adoption of it. Glad to see that slowly changing!

  • @gabrielranea
    @gabrielranea 5 месяцев назад

    I think the problem sometimes in this discussion is people trying to set the "default" framework for frontend as if just React exists, ignoring Vue.js or even HTMX...
    Not just because it is currently the largest used that it's the best framework, just see how much jQuery reigned and how it is seen now.

  • @Borg434
    @Borg434 5 месяцев назад

    We use Laravel on the back end and Vue on the front. Works pretty well. We've done it for a while.
    However, we are moving to fully NextJS.
    Why?
    It's reducing mental load by getting rid of PHP and only working in JS everywhere.
    Life is easier. We are more productive.

  • @stylrart
    @stylrart 5 месяцев назад

    Holy moly. I use Payload CMS ( build on Nextjs) with a MongoDB and a Nextjs Frontend - done.

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

    Thank you sir ❤❤
    do you have any course for using laravel, inertia and vue.js???

  • @jonathanvioleta3578
    @jonathanvioleta3578 5 месяцев назад

    This is exactly what im looking for 🔥

  • @danielefarriciello7239
    @danielefarriciello7239 5 месяцев назад

    nice and fluent explanation, thank you so much

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

    Already have a running Laravel and vue. I will try later the react

  • @Xamnalim
    @Xamnalim 5 месяцев назад

    Inertia officially supports only Laravel and Ruby adapters (as they say in the documentation). Other adapters are community maintained. F.e. symfony adapter repo is currently archived and looking for a new maintainer.

    • @Xamnalim
      @Xamnalim 5 месяцев назад

      They don't say they have adapter for django, but have a interia-django repo on their github account - that's odd

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      Huh that is interesting. I wonder if the docs are just outdated for that section

  • @Aaron_17
    @Aaron_17 5 месяцев назад

    I started a Laravel course on Udemy but recently stopped to learn React. I'm hoping to get my first dev job sometime this year, and it looks like most entry-level jobs in Canada seem to prioritize front end skills, so maybe React might be considered a more valuable skillset?
    Btw kudos for knowing what a false dichotomy is, did you by chance study philosophy?

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

    It feels a bit weird to talk about “Network chasm”. This chasm exists in many places in software systems architecture: the file system, memory, socket programming, decoupled modules, args and environment varsity passed to a running program, config files, all of these are “chasms” that move from one context to another. The “network chasm” isn’t really that special.

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

      One can only cover so many chasms per video. And only the network chasm was relevant

    • @br3nto
      @br3nto 5 месяцев назад

      @@aarondfrancis My comments are just social commentary on the industry perception that you highlighted in your vid. I’m just saying that it’s less of a “chasm”, and more like a “crack” or “gap” that is common and has been filled many times. “Chasm” makes it seem so big and scary, which it’s not when you really think about it.

  • @thedelanyo
    @thedelanyo 5 месяцев назад

    Wasn't it so from ages? Where the backend could be able to generate initial HTML page and then serve the browser?
    I guess when ReactJs first came, it wanted to push "everything frontend" but nowadays realized, some stuffs are for the backstage.
    Sveltekit pioneered this onset and I love its implementation.

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

    I'm about to level up from WordPress to Laravel for my next project

  • @TheArmanist
    @TheArmanist 5 месяцев назад

    The video started with really awesome conversation until the phone call cut it.. love to hear the rest :))

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

    Which stack is better for making startups: vue+laravel/vue+express? Is there any difference what to pick up or the possibilities are the same with both?

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      Express is just a router. Laravel is a full stack framework

  • @arashshahabi853
    @arashshahabi853 5 месяцев назад

    Hey Aaron. Have you ever asked Taylor and others why jetstream starter kit does not ship with inertia and react? I really like having that option as well as breeze.

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

      I haven't! I'm sure it just doesn't line up with what they personally use. Just a guess though

  • @DanelonNicolas
    @DanelonNicolas 5 месяцев назад

    nice one, love this type of videos 😁 love the overview that invite you to investigate ❤

  • @SimoneFolador
    @SimoneFolador 5 месяцев назад

    Great video, couldn't agree more!

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

    Mr. Dunphy comes for the rescue ❤

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

      Everyone's favorite sitcom / youtube dad

  • @cb73
    @cb73 5 месяцев назад

    I’ve been developing apps in Laravel from 2015 to about a year ago. It does fill a huge need but I think the deployment picture still isn’t fully developed at least not in tandem with the JavaScript world.

  • @panh141298
    @panh141298 5 месяцев назад

    Wonderful video overall but I think the default MVC Laravel diagram contradicts your definition. If frontend is code that runs on the client, then Blade is not frontend even if it is UI programming. I think MVC Laravel doesn't have a chasm, it's just that all the UI work is done through HTML responses. So that templating engine part you mentioned is actually part of the Network layer and very much the exact model of how websites used to be, hence Multi Page Applications and HyperText Transfer Protocol. You're completely correct about the rest though: with network-driven UI that doesn't reach into frontend capabilities, you can only do forms and links as far as interactivity goes, and more interactive Singe Page Applications necessitate client-side React/JavaScript.

    • @pinoniq
      @pinoniq 5 месяцев назад

      This also goes for Next.js, Nuxt, Remix, ... They all do server-side rendering and send the HTML over the network. It's simply the most efficient way of sending HTML to a client. Since thats what the protocol was designed for in the first place.

  • @k98killer
    @k98killer 5 месяцев назад

    Sick. Might get the opportunity to make a new application for a client soon, and I think we'll probably try this.

  • @Leonhart_93
    @Leonhart_93 5 месяцев назад

    Yep, I use a combination of Laravel and React, without making it a single page application, but instead having a react build for every module in the application, which I then link statically.

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      Ooo interesting

    • @Leonhart_93
      @Leonhart_93 5 месяцев назад

      @@aarondfrancis Yeah, I have created a webpack builder that outputs multiple react builds at once, one for each module in my app. The react framework itself is a separate file, since it's shared between them and it should be cached only once.
      Like that I also manage to keep my bundle size small and fast per page, and the users probably don't navigate through each module all the time for everything to be loaded at once.

  • @ruslansteiger
    @ruslansteiger 5 месяцев назад

    Incredible explanation 👏

  • @scuraluis
    @scuraluis 5 месяцев назад

    Great video Aaron. You explain things very clear. Since Inertia.js eliminates the whole API creation, when would you say is still recommended to use laravel as API backend only and fronted separately?

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      If you were using Next or Nuxt or needed an API for other reasons beyond your own frontend

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

    Laravel + Inertia + Vue js 3 are the best for me

  • @citricguy
    @citricguy 5 месяцев назад

    Another great video. Thank you!

  • @jcc5018
    @jcc5018 5 месяцев назад

    can you explain what sorts of interactivity react or vue provides that would be worth the extra setup? I'm not a FE developer, but so far I've been able to accomplish most everything I need with laravel and livewire, though still struggling with some parts. I don't know when I should consider alternatives such as react or vue with inertia and I hate having to keep learning new tech stacks when i still havent mastered Laravel itself. It'd be great if I had examples of what these tools are actually good for opposed to alternatives? Perhaps some samples of interactive components being built with the 3 systems (vue, react, livewire) to gauge speed and complexity of getting things set up?

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      Honestly I think you can get as far as you need to go with Livewire and a bit of Alpine. Only the most complex frontends would need Vue or React at this point

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

    Is it sort of like Nuxt?

  • @JohnBuildWebsites
    @JohnBuildWebsites 5 месяцев назад

    I'm almost exclusively a React dev, but followed you from the ashes of Planetscale. I am trying to understand the benefits you claim for using Laravel in addition to Next.js but I am yet see what issues it is solving. It feel more a preference bias than any actual value to me (and I am no doubt biased myself). What am I missing?
    For me, I always hated the MVC structure and OOP classes just breaks my brain with option paralysis. I feel so much happier and productive with Reacts more co-located and small declarative functions style of architecture .

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      From the ashes 😂 I think the benefit to using Laravel behind Next.js is that you get the power of auth, queues, database migrations, ORM, models, mail, cron, etc etc without having to piece together a bunch of packages in your own way. So your model layer works perfectly with your queued job layer works perfectly with your auth works perfectly... you get it!

    • @JohnBuildWebsites
      @JohnBuildWebsites 5 месяцев назад

      @@aarondfrancis I think my confusion is that my stack seems to make these redundant. I am m yet to really need models, migrations, ORM, cron jobs etc. I quite like the ability to pick and choose my tooling I guess.

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

      @@JohnBuildWebsites That's great! Then Laravel might not be for you

    • @JohnBuildWebsites
      @JohnBuildWebsites 5 месяцев назад

      @@aarondfrancis Appreciate the candid response. Looking forward to seeing your future content for tools I do use, as really love the way you teach!

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      @@JohnBuildWebsites Thank you so much! I try not to be dogmatic! I love Laravel, but it's definitely not a requirement and there are lots of other good options

  • @thisisroushan_1337
    @thisisroushan_1337 5 месяцев назад

    I've been developing with Laravel and Vue/React for over 4+ years now but I have to admit, I have never used Inertia. Something about it just seems hard to get into, so if there's a great (and free) course on it, I'd love to know :)

  • @gillesashley9314
    @gillesashley9314 5 месяцев назад

    I feel this debates depend on tons of factors. Your heart might say Laravel, your mind might say React due to the job market.

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

      That's fine! React works great with Laravel

  • @tsubasateacher
    @tsubasateacher 5 месяцев назад +2

    HTMX mentioned!

  • @msnegurski
    @msnegurski 5 месяцев назад

    actually would be great if Laravel had some sort of RPC library to communicate with frontend, like Livewire without templating or Inertia without routing. That way you could pair Laravel with any frontend without need for specific adapters

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      Hmmm that's an interesting idea. Do you know of any prior art here?

    • @msnegurski
      @msnegurski 5 месяцев назад

      @@aarondfrancis there is nothing ready made. we are using Next frontend, Expo mobile app with Laravel backend and sort of stitch it together with laravel data and typescript transformer by spatie, so its kinda typesafe end to end but still requires a lot of boilerplating with setting up controllers, frontend->backend fetch calls etc.
      basically works as proof of concept but would be nice if laravel had something that wraps it all up with nice api, would be great win for ecosystem IMO

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      @@msnegurski Extremely interesting... I'll see if I can wrap my head around it!

    • @iamboris
      @iamboris 5 месяцев назад

      ​ @aarondfrancis Sounds like a concept I hacked around some time ago.
      const component = useComponent('edit-product)
      component.product.name = 'Updated value'
      component.save()

  • @bdemon245
    @bdemon245 5 месяцев назад +2

    Please make A video about LARAVEL+HTMX supremacy

  • @hab_tech
    @hab_tech 5 месяцев назад

    I am using react as my frontend and laravel as a backend but unfortunately there is no comprehensive tutorial about React and Laravel using inertia js. Jefferey have with Vue but no body with React.

  • @christianm4906
    @christianm4906 5 месяцев назад +3

    At this point, everything seems better than react

  • @kuunibyou7642
    @kuunibyou7642 5 месяцев назад

    Can someone elaborate more about the network part? Does laravel route while rendering blade file, can also pass data directly from database model? Or is it something else entirely?

  • @m4rkbello
    @m4rkbello 5 месяцев назад

    I had my ReactJS, Redux, Axios, Laravel (REXAL STACK) but I would love to go this one VILT STACK OR RILT STACK OR NILT stack

  • @Kopetefish
    @Kopetefish 5 месяцев назад

    There’s some really old issues on the inertia github repo that are seemingly ignored. I wouldn’t want to start a new project with it.

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

    This guy wants end the backend-frontend war

  • @Prejudice182
    @Prejudice182 5 месяцев назад

    HTMX mentioned, lets go!

  • @rawallon
    @rawallon 5 месяцев назад +4

    I wish Django had that

    • @jmon24ify
      @jmon24ify 5 месяцев назад +3

      Django has Unicorn. And you can use inertia with Django.

  • @christophrumpel
    @christophrumpel 5 месяцев назад +2

    Great video 👍

  • @JeremyAndersonBoise
    @JeremyAndersonBoise 5 месяцев назад

    Wait a minute, Livewire works with htmx? (Edit: I was wrong)
    I have been doing htmx and blade, with a tiny bit of Alpine. Love it.

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

      Ah sorry, no. Livewire is *like* HTMX, Liveview, etc.

    • @JeremyAndersonBoise
      @JeremyAndersonBoise 5 месяцев назад

      @@aarondfrancis I misheard that, no worry. Thanks! I love htmx a lot.

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

    219 views in 8 minutes, he fell off...
    Edit: /s
    Thanks for this awesome content Aaron!

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад +3

      Is that good or bad? I don't understand. I feel like it's good!

    • @duckeggcarbonara
      @duckeggcarbonara 5 месяцев назад +4

      @@aarondfrancis Better see a million views in 30 seconds next time, bud.
      (I'm kidding. It's awesome! Love your content brother, please keep it up!)

  • @RobinGiel
    @RobinGiel 5 месяцев назад

    Nextjs can be used as a backed and front-end. I don't see why you need an extra backend

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад +3

      Database, auth, queues, ORM, mail, cron, console commands, etc etc etc

    • @RobinGiel
      @RobinGiel 5 месяцев назад

      @@aarondfrancis okay that's a good point. I'm nowadays using Nextjs with Supabase. But maybe I should try Laravel just to see what I'm missing out. I was a PHP developer in the past, maybe this can be a great way to pick it up again. Thanks for the vid 💯

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

      Because if you use Next you will eventually need 10 SaaS subscriptions to cover it's missing backend functionalities. There's a reason you are using Supabase. Supabase is your actual backend, NextJS is just a proxy for it.

  • @travisricker
    @travisricker 5 месяцев назад

    Here is my pro tip: Use Vue or React and try to use as few packages as possible. Then use Inertia with Laravel and try to only use Laravel first party packages.

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

    php backend framework vs js frontend library... what? next video bugatti vs fanta?

    • @aarondfrancis
      @aarondfrancis  5 месяцев назад

      Ooo good idea. Just gotta get my hands on a bugatti