Тёмный

Laravel vs React 

Aaron Francis
Подписаться 45 тыс.
Просмотров 57 тыс.
50% 1

Опубликовано:

 

27 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 405   
@ajlive6737
@ajlive6737 4 месяца назад
one min silence for those who thinks php is a dead language.. proud to be a php laravel developer for a decade
@nymez6968
@nymez6968 4 месяца назад
sunken cost fallacy?
@m.moonsie
@m.moonsie 4 месяца назад
@@nymez6968 literally no
@nou4605
@nou4605 3 месяца назад
@@nymez6968 Cope
@Joshua.Developer
@Joshua.Developer 2 месяца назад
Seems to be more PHP jobs
@nymez6968
@nymez6968 2 месяца назад
@@Joshua.Developer more than what?
@millennia
@millennia 4 месяца назад
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 4 месяца назад
I like you already 🤗
@kennethkipchumba2532
@kennethkipchumba2532 18 дней назад
Remiss was a vocubulary that cought my fancy in this video. I had to look up its meaning.
@kitteemail12
@kitteemail12 13 дней назад
Me too. He speaks very clearly.
@MrErdkamp
@MrErdkamp 4 месяца назад
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.
@r1konTheAutomator
@r1konTheAutomator 3 месяца назад
The old VILT stack. Easily my favorite.
@nenmeet
@nenmeet 4 месяца назад
For a PHP developer like me who is primarily backend person; livewire is awesome! It's like writing php for front-end.
@hakanaya
@hakanaya 18 дней назад
livewire is actually JS
@Cainny
@Cainny 12 дней назад
​@@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.
@Ashish_singh_dev
@Ashish_singh_dev 4 месяца назад
I'm sold, following you from planetscale though i haven't used planetscale ever.
@aarondfrancis
@aarondfrancis 4 месяца назад
Thank you 😍
@shravanuchil
@shravanuchil 4 месяца назад
Me too 😊
@andyhinkle
@andyhinkle 4 месяца назад
With Arms Wide Open, Under ... Laravel. Welcome to this place, I'll show you everything - Aaron's Ringtone
@aarondfrancis
@aarondfrancis 4 месяца назад
😂 bravo
@wcrb15
@wcrb15 4 месяца назад
I love the take of "let's stop making everything X vs Y and instead use X and Y when appropriate"
@disgruntleddev
@disgruntleddev 4 месяца назад
This, everytime. I wonder why people want everything to be all or nothing
@jordixboy
@jordixboy 4 месяца назад
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 4 месяца назад
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 4 месяца назад
Watch me use react with laravel
@MrSofazocker
@MrSofazocker 4 месяца назад
@@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 4 месяца назад
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!
@JeremyAndersonBoise
@JeremyAndersonBoise 4 месяца назад
I heard there was drama on xitter about react vs Laravel. And now this! Thanks for talking sense, Aaron
@aarondfrancis
@aarondfrancis 4 месяца назад
🫡
@valid_
@valid_ 4 месяца назад
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 4 месяца назад
Thank you for telling me! That's an encouragement
@raenastra
@raenastra 4 месяца назад
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.
@MjrGeneralGhost
@MjrGeneralGhost 14 дней назад
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.
@nikitapashinsky
@nikitapashinsky Месяц назад
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!
@StefanMalic
@StefanMalic 4 месяца назад
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.
@atalocke
@atalocke 3 месяца назад
Another great video! I’ve been using your videos to learn Laravel and your videos have made growing my application’s features much easier.
@lafanter
@lafanter 2 месяца назад
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.
@picklebrownie
@picklebrownie 4 месяца назад
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.
@pasizdobrekuce
@pasizdobrekuce 24 дня назад
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.
@ernestharuna
@ernestharuna 4 месяца назад
Hahahaha nice intro, the thumbnail had me thinking "what about Laravel & React"
@JosephCodette
@JosephCodette 3 месяца назад
Thank you for your videos! People like you reassure me that php/laravel is awesome and leave the haters be
@Stoney_Eagle
@Stoney_Eagle 4 месяца назад
This is THE BEST visualization for making the right choice!!!
@iapv
@iapv 4 месяца назад
In my opinion, inertia joins the most powerful backend framework with the most powerful frontend library.
@parihar-shashwat
@parihar-shashwat 4 месяца назад
I have been using inertia with react and laravel.
@aarondfrancis
@aarondfrancis 4 месяца назад
Great right?
@gessegoncalves6493
@gessegoncalves6493 4 месяца назад
I have been using inertia with vue and laravel
@tecsmith_info
@tecsmith_info 4 месяца назад
About time we got some props for Laravel + JS
@edventuretech
@edventuretech 4 месяца назад
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!
@yordanmilchev
@yordanmilchev 4 месяца назад
Very informative on stuff I already did know but someone that is fresh to this it's a valuable video
@kizunaastin5308
@kizunaastin5308 Месяц назад
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
@jaspergorchov
@jaspergorchov 4 месяца назад
Laravel + Next.js = 🤯
@arashshahabi853
@arashshahabi853 4 месяца назад
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 4 месяца назад
I haven't! I'm sure it just doesn't line up with what they personally use. Just a guess though
@suikodevID
@suikodevID 4 месяца назад
I really love your videos! Hopefully you post more content for us to learn
@saloni6242
@saloni6242 2 месяца назад
so i must use both, thanks for clearing.
@aarondfrancis
@aarondfrancis 2 месяца назад
You're welcome! Glad it was helpful
@SuchismitaBasu-bj8rm
@SuchismitaBasu-bj8rm 3 месяца назад
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.
@isaiahproctor8070
@isaiahproctor8070 4 месяца назад
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!
@thedelanyo
@thedelanyo 4 месяца назад
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.
@muhammadhanzala3556
@muhammadhanzala3556 2 месяца назад
Happy with Next.js full stack.✨✨
@aarondfrancis
@aarondfrancis 2 месяца назад
Great! I'm happy for you
@rawallon
@rawallon 4 месяца назад
I wish Django had that
@jmon24ify
@jmon24ify 4 месяца назад
Django has Unicorn. And you can use inertia with Django.
@panh141298
@panh141298 4 месяца назад
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 4 месяца назад
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.
@wtalkie
@wtalkie 3 месяца назад
Great explanation. Keep up the good work.
@tsubasateacher
@tsubasateacher 4 месяца назад
HTMX mentioned!
@southernfriedhackers
@southernfriedhackers 3 месяца назад
Laravel is still very much slept on by a large chunk of the dev community. We use it explicitly, big web apps, its great.
@georgemcwilliams4466
@georgemcwilliams4466 12 дней назад
Live wire or htmx for most cases
@Kopetefish
@Kopetefish 4 месяца назад
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.
@jonathanvioleta3578
@jonathanvioleta3578 4 месяца назад
This is exactly what im looking for 🔥
@kuunibyou7642
@kuunibyou7642 4 месяца назад
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?
@cb73
@cb73 4 месяца назад
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.
@Leonhart_93
@Leonhart_93 4 месяца назад
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 4 месяца назад
Ooo interesting
@Leonhart_93
@Leonhart_93 4 месяца назад
@@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.
@christianm4906
@christianm4906 4 месяца назад
At this point, everything seems better than react
@citricguy
@citricguy 4 месяца назад
Another great video. Thank you!
@vishaldinesh
@vishaldinesh 4 месяца назад
Mr. Dunphy comes for the rescue ❤
@aarondfrancis
@aarondfrancis 4 месяца назад
Everyone's favorite sitcom / youtube dad
@jcc5018
@jcc5018 4 месяца назад
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 4 месяца назад
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
@christophrumpel
@christophrumpel 4 месяца назад
Great video 👍
@SimoneFolador
@SimoneFolador 4 месяца назад
Great video, couldn't agree more!
@msnegurski
@msnegurski 4 месяца назад
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 4 месяца назад
Hmmm that's an interesting idea. Do you know of any prior art here?
@msnegurski
@msnegurski 4 месяца назад
@@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 4 месяца назад
@@msnegurski Extremely interesting... I'll see if I can wrap my head around it!
@iamboris
@iamboris 4 месяца назад
​ @aarondfrancis Sounds like a concept I hacked around some time ago. const component = useComponent('edit-product) component.product.name = 'Updated value' component.save()
@ruslansteiger
@ruslansteiger 4 месяца назад
Incredible explanation 👏
@DevlogBill
@DevlogBill 4 месяца назад
on the subject of PHP. Last time I programmed with PHP you needed either XAMPP or MAMP to run your PHP code. Is this still the only method to run your PHP application or has PHP modernized where you can run it independently without XAMP or MAMP? Haven't used PHP in a while maybe things have changed?
@aarondfrancis
@aarondfrancis 4 месяца назад
Nah you can run it normally. Mac has PHP built in, but you can use homebrew to get multiple versions. My personal recommendation would be using Laravel Herd at herd.laravel.com. I have a video on that here ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sY2A6AGF5os.html
@DevlogBill
@DevlogBill 4 месяца назад
@@aarondfrancis Thanks for the recommendation! I will try this on my mac. I also program on a Linux distro known as Cinnamon Mint which is Debian based. I will look online I am pretty sure if mac has this most likely there is something out there for Linux, thanks once again.
@TheArmanist
@TheArmanist 4 месяца назад
The video started with really awesome conversation until the phone call cut it.. love to hear the rest :))
@aarondfrancis
@aarondfrancis 4 месяца назад
😉
@matheusnb99
@matheusnb99 4 месяца назад
Can someone please explain why is laravel a powerful backend and nextjs is not ? I've seen that schema before (4:33) but I don't really understand what laravel has that can't be done with Nextjs
@aarondfrancis
@aarondfrancis 4 месяца назад
Laravel handles queues, migrations, ORMs, mail, cron, auth, etc etc
@matheusnb99
@matheusnb99 4 месяца назад
@@aarondfrancisI mean, out of the box yeah but can't you just add some other packages to do all that?
@thisisroushan_1337
@thisisroushan_1337 4 месяца назад
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 :)
@aarondfrancis
@aarondfrancis 4 месяца назад
I only know of Laracasts!
@akramkamil744
@akramkamil744 26 дней назад
yo bro im new in laravel but i love react but i love both
@skavihekkora5039
@skavihekkora5039 2 месяца назад
Php jobs pay sh.t but knowing react you get 20% more upfront, so ok, although still not enough for me to touch frontend.
@JohnBuildWebsites
@JohnBuildWebsites 4 месяца назад
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 4 месяца назад
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 4 месяца назад
@@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 4 месяца назад
@@JohnBuildWebsites That's great! Then Laravel might not be for you
@JohnBuildWebsites
@JohnBuildWebsites 4 месяца назад
@@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 4 месяца назад
@@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
@keyonlewis7574
@keyonlewis7574 4 месяца назад
I am using nextjs as my backend for a flutter app
@JeremyAndersonBoise
@JeremyAndersonBoise 4 месяца назад
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 4 месяца назад
Ah sorry, no. Livewire is *like* HTMX, Liveview, etc.
@JeremyAndersonBoise
@JeremyAndersonBoise 4 месяца назад
@@aarondfrancis I misheard that, no worry. Thanks! I love htmx a lot.
@jonanthonii
@jonanthonii 4 месяца назад
im almost a year using php without no knowledge in frameworks like laravel. zero knowledge with react and vue too but i really wanna expand my knowledge but idk how to start.
@aarondfrancis
@aarondfrancis 4 месяца назад
laracasts.com, for sure
@HijabiCoder
@HijabiCoder 4 месяца назад
Aneamic backend got me 😂
@alexrusin
@alexrusin 4 месяца назад
What about Laravel vs. Nextjs? This will be a little less false dichotomy.
@aarondfrancis
@aarondfrancis 4 месяца назад
I cover that in this very video 🥰
@alexrusin
@alexrusin 4 месяца назад
@@aarondfrancis Oops, I'll make sure to watch the video till the end then lol 🙂 Kinda stopped watching it when you said Laravel vs React is a false dichotomy. I completely agree with this statement. Figured you will be talking about how to use React and Laravel together.
@RobinGiel
@RobinGiel 4 месяца назад
Nextjs can be used as a backed and front-end. I don't see why you need an extra backend
@aarondfrancis
@aarondfrancis 4 месяца назад
Database, auth, queues, ORM, mail, cron, console commands, etc etc etc
@RobinGiel
@RobinGiel 4 месяца назад
@@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 4 месяца назад
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.
@mnjammnjamm
@mnjammnjamm 4 месяца назад
Wouldn't this force me to use tables over collections and a schemaless approach? That would feel like giving up on DX.
@aarondfrancis
@aarondfrancis 4 месяца назад
You could use Mongo with Laravel if that's what you're asking
@mnjammnjamm
@mnjammnjamm 4 месяца назад
@@aarondfrancis I had the opinion that the main Laravel approach is based off using strict schemas, is that wrong? I would very much prefer to use something like Mongoose. Are the common tools most Laravel developers are using build with this option in mind?
@aarondfrancis
@aarondfrancis 4 месяца назад
@@mnjammnjamm it's not common but it's not unheard of either
@mnjammnjamm
@mnjammnjamm 4 месяца назад
​@@aarondfrancisThank you for helping me understand this, Aaron! So I guess i would have to be able to bend the framework quite a bit to make this work for me, and might be better off just working with Nuxt, until I am more happy working with relational dbs. Would you agree?
@rmcoder23
@rmcoder23 4 месяца назад
This is my first time i heard NextJs and Laravel can work together, isnt NextJs already a full stack framework? how this possible?
@aarondfrancis
@aarondfrancis 4 месяца назад
That's how they get ya! Next isn't really a full stack framework. It can just run some stuff on the server. You still gotta figure out DB, Auth, ORM, etc etc etc
@rmcoder23
@rmcoder23 4 месяца назад
@@aarondfrancis yeah it needs to use many libraries to create a full stack web apps in nextjs for example you can choose serverless database depends on what you want same as authentication etc.
@vaniysha1992
@vaniysha1992 4 месяца назад
php backend framework vs js frontend library... what? next video bugatti vs fanta?
@aarondfrancis
@aarondfrancis 4 месяца назад
Ooo good idea. Just gotta get my hands on a bugatti
@naspy971
@naspy971 4 месяца назад
Never heard the word "Chasm" that many times within a few minutes
@JacksonKon
@JacksonKon 4 месяца назад
I think laravel livewire is a game changer for php developer.
@medicallabnapata9082
@medicallabnapata9082 4 месяца назад
What about Angular Guys?
@JagdeepSinghKalsi
@JagdeepSinghKalsi 4 месяца назад
I would like to have a conversation with you around Laravel+Next.js, focused on identifying and resolving "understanding" barriers between backend and frontend teams at an organisational level. I know you wouldn't have time to do this (considering you have a zillion things to do), but I'd really like to pick your brain. I so wish it could happen some day.
@aarondfrancis
@aarondfrancis 4 месяца назад
I don't know enough about Next.js to say for sure. And I think using Inertia + React would be my preference (actually Vue, but same same)
@thedailycutline278
@thedailycutline278 4 месяца назад
Nextjs solves seo and performance by rendering html from the server and hydrating client side interactive code from react, this makes your website have a good seo and performace but the way laravel works with react, even by bridging the network gap, still seo will be hit hard because the fronted will still be pure react.
@aarondfrancis
@aarondfrancis 4 месяца назад
You can do SSG with Inertia 🥰
@Dino-Kupinic
@Dino-Kupinic 4 месяца назад
@@aarondfrancis what about SSR?
@aarondfrancis
@aarondfrancis 4 месяца назад
Hm that's what I meant! Inertia does SSR
@thedailycutline278
@thedailycutline278 4 месяца назад
So what you mean is that inertia hydrates php server side html to react via inertia which is then prerendered with react interactivity , thats cool, i guess it will be somehow slow as to me inertia looks like a really different layer that sits between react and php which are 2 different languages, unlike how next solves it without a middle layer like inertia because javascript is able to run on the server and frontend.
@aarondfrancis
@aarondfrancis 4 месяца назад
@@thedailycutline278 inertiajs.com/server-side-rendering
@M1a2n3o43
@M1a2n3o43 4 месяца назад
So i can do this with django aswell? Wow will look into it
@estebanmurcia8451
@estebanmurcia8451 4 месяца назад
I would expect that Laravel being a little oop based it would also support angular
@aarondfrancis
@aarondfrancis 4 месяца назад
It might... but I haven't seen any first-party support options for Angular!
@estebanmurcia8451
@estebanmurcia8451 4 месяца назад
@@aarondfrancisSadly 😥
@DEBUGENTITY
@DEBUGENTITY 4 месяца назад
What about react vs livewire?
@aarondfrancis
@aarondfrancis 4 месяца назад
Up to you! Mostly based on personal preference
@DEBUGENTITY
@DEBUGENTITY 4 месяца назад
@@aarondfrancis i mean livewire is also that much powerfull as react.. Or can u make any full stack project using laravel + livewire.
@aarondfrancis
@aarondfrancis 4 месяца назад
@@DEBUGENTITY You'd need some AlpineJS on the frontend for local only reactivity, but yeah, Livewire is pretty powerful
@Me-vc4sf
@Me-vc4sf 3 месяца назад
I don't like inertia cause every routes is a backend request... doesn't matter if it's a page like the about page which will never change and doesn't needs to be fetched every time but inertia just forces it
@aarondfrancis
@aarondfrancis 3 месяца назад
Yup! It's great if you want your backend to handle routing (which I do)
@JustSteveKing
@JustSteveKing 4 месяца назад
Need more APIs! 😜
@QueeeeenZ
@QueeeeenZ 4 месяца назад
But does Laravel work together with Next.js because Next is awesome and Laravel is awesome
@aarondfrancis
@aarondfrancis 4 месяца назад
Yes... I say that in the video 😂 And there's a link in the description
@axa993
@axa993 3 месяца назад
Ah yes, apples vs oranges let's gooo
@aarondfrancis
@aarondfrancis 3 месяца назад
Did... you watch it
@wtfdoiputhere
@wtfdoiputhere 21 день назад
React is only a frontend framework tho i don't understand the comparison
@aarondfrancis
@aarondfrancis 19 дней назад
You're gonna love this video then!
@patrick-dev
@patrick-dev 4 месяца назад
Inertia is a great tool but unfortunately it seems like its not currently maintained. They should invest in it more, as it may offer so many more features.
@aarondfrancis
@aarondfrancis 4 месяца назад
They just released a new version today!
@patrick-dev
@patrick-dev 4 месяца назад
@@aarondfrancis Yeah true, but it's not being maintained as it used to be. And from i see in the github repo's tasks management, there's alot to work on but nothing so far.
@Tortuex_
@Tortuex_ 4 месяца назад
you kind of look like Preston from the youtube channel "gentleman's gazette" lol, but less skinny
@aarondfrancis
@aarondfrancis 4 месяца назад
Less skinny... You mean fatter? 🧐
@Tortuex_
@Tortuex_ 4 месяца назад
@@aarondfrancis ahahahahhaa I would never dare 🛐
@swordali
@swordali 3 месяца назад
thx nice
@Yusuf-ok5rk
@Yusuf-ok5rk 4 месяца назад
it takes one /s to go from aaron to saaron. which scares me btw.
@bosphoramus
@bosphoramus 4 месяца назад
love inertia
@germanje6772
@germanje6772 18 дней назад
truck vs dolphin
@aarondfrancis
@aarondfrancis 18 дней назад
did... did you watch the video?
@ingloriouspancake7529
@ingloriouspancake7529 3 месяца назад
Let’s face it the best frontend platform will be the one that AI can do the best
@aarondfrancis
@aarondfrancis 3 месяца назад
do not go gentle into that good night
@vikkio88
@vikkio88 4 месяца назад
leareaveal?
@kobibr9362
@kobibr9362 4 месяца назад
PHP did me so wrong that I will never touch it again. I promised my self to never look back.
@aarondfrancis
@aarondfrancis 4 месяца назад
That's ok, good luck!
@kobibr9362
@kobibr9362 4 месяца назад
Do you guys still need “XAMP” to run it? I am exploring Payload CMS because the beta versions is now fully interacted with NextJS and that means being able to deploy it with SST. Unlimited scalability. The entire thing can run as an edge function.
@DEBUGENTITY
@DEBUGENTITY 4 месяца назад
One vs All
@monciego
@monciego 4 месяца назад
4 месяца назад
I like your new haircut
@aarondfrancis
@aarondfrancis 4 месяца назад
I'm cutting it short again in 2 hours ☠️
4 месяца назад
SPICY
@aarondfrancis
@aarondfrancis 4 месяца назад
🌶️
@SaiyanJin85
@SaiyanJin85 4 месяца назад
Inertia is goat
@faridguzman91
@faridguzman91 4 месяца назад
laravel gang reactsux gang
@FGj-xj7rd
@FGj-xj7rd 4 месяца назад
Nah, I prefer Vue.
@aarondfrancis
@aarondfrancis 4 месяца назад
That's fine
@sibow
@sibow 4 месяца назад
Kick ass combo
@thedavistheory7674
@thedavistheory7674 4 месяца назад
Good luck finding a better ecosystem than react's
@aarondfrancis
@aarondfrancis 4 месяца назад
@@thedavistheory7674 it's ok to like different things
@FGj-xj7rd
@FGj-xj7rd 4 месяца назад
@@aarondfrancis That guy is correct though.
@jdnoc
@jdnoc 4 месяца назад
Commented
@aarondfrancis
@aarondfrancis 4 месяца назад
Thank you for your service
Далее
Laravel First Impressions From A JavaScript Dev
21:08
Просмотров 132 тыс.
Laravel + Livewire todo app (and so much more)
16:41
Просмотров 45 тыс.
Avaz Oxun - Yangisidan bor
14:29
Просмотров 388 тыс.
You don't need a frontend framework
15:45
Просмотров 126 тыс.
PHP on the frontend! No more Javascript!
14:47
Просмотров 123 тыс.
Laravel vs Rails for Javascript developers
19:50
Просмотров 2,4 тыс.
PHP doesn't suck (anymore)
10:48
Просмотров 207 тыс.
Why Don't We Have A Laravel For JavaScript?
12:36
Просмотров 104 тыс.
Every React Concept Explained in 12 Minutes
11:53
Просмотров 662 тыс.
Coding Was HARD Until I Learned These 5 Things...
8:34
Write Laravel, not PHP (feat. Aaron Francis) | 029
58:45
Front-end web development is changing, quickly
3:43
Просмотров 1,1 млн