No video

Modern monoliths: SPA and API in a single codebase

  Рет қаралды 4,611

Andrew Schmelyun

Andrew Schmelyun

Күн бұрын

Пікірлер: 36
@dominuskelvin
@dominuskelvin 7 ай бұрын
Inertia makes The Boring JavaScript Stack possible and it really is a modern way to build SPAs.
@serialKillerReborn
@serialKillerReborn 7 ай бұрын
Kelvin, Boycott VueJS hehe
@juanmacias5922
@juanmacias5922 7 ай бұрын
Dang, that's sleek! I'll have to look into Inertia.
@aschmelyun
@aschmelyun 7 ай бұрын
You definitely should! I haven't been disappointed with the stack yet. It honestly takes the tedious parts out of frontend dev and leaves the best.
@juanmacias5922
@juanmacias5922 7 ай бұрын
@@aschmelyun Any suggestions on cheap hosting for portfolio projects using Inertia?
@danimatuko
@danimatuko 7 ай бұрын
Very nice introduction, and it's really interesting. Btw, can you share your theme and font? They're nice.
@kwasiezor1630
@kwasiezor1630 7 ай бұрын
Yeah. I like the idea that is great befenit to have a monolith app than using 2 different stacks. I'm great fan of real and laravel. So I will be a real pleasure, if you can help us learn more about inertiajs. 😊 Thanks
@hellodefhellow
@hellodefhellow 4 ай бұрын
Damn your channel is good, start making more videos
@blender_wiki
@blender_wiki 7 ай бұрын
Maintenance of microservices is notably easier and more efficient compared to a monolithic structure. The microservices architecture facilitates streamlined processes for staging, testing, and deployment. Redundancy in code architecture often indicates weaknesses in its design. However, it's essential to note that "inertia" is a valuable and versatile library, offering substantial benefits to various projects, though perhaps not exactly for the reasons presented here.
@user-yq5tw7iv2x
@user-yq5tw7iv2x 7 ай бұрын
Hi Do you think Inertia be suitable for a blog magazine website long-term compared to Laravel API and React frontend seperately? What kind of problems can we bump into using Inertia if the project becomes big?
@blessdarah1256
@blessdarah1256 7 ай бұрын
Remember that this is you building a SPA without having to build a separate API. So if in the long run you will need to develop something like a mobile app, then inertia is not sutied for you because your mobile tenant needs access to your API.
@skia515
@skia515 7 ай бұрын
@@blessdarah1256exactly. this technology is made to make SPA without API, but for a big and long term website that maybe need a mobile application too, it’s not a good choice, cause actually you need to extracting datas one time and using in different devices like phone. but if you need just a website, it’s good
@aschmelyun
@aschmelyun 7 ай бұрын
I'll agree with the comments responding to this that if you grow and need a separate API it's kind of redundant. But at the same time, you can have your API and SPA routes in the same codebase. Instead of having duplicate blocks that fetch the same data, you can abstract that out to a data object layer so you have a single point to update. For me personally, I've built a few large projects on Inertia (including a blog/online magazine) and haven't ran into any issues with performance or scalability. SSR out of the box with Inertia also greatly improved SEO.
@blessdarah1256
@blessdarah1256 7 ай бұрын
@@aschmelyun yes having a separate service layer to handle that also works pretty well.
@SXsoft99
@SXsoft99 7 ай бұрын
@@blessdarah1256 if you don't put your logic in controllers, you just need to double the response in a API controller
@HydeJekyl-gb1cb
@HydeJekyl-gb1cb 3 ай бұрын
Hi. Please tell me what vscode theme you use in this video? Many thank
@bartellconstantin6747
@bartellconstantin6747 7 ай бұрын
I really need Inertiajs tutorials using reactjs because i do not want to leave Vuejs
@blessdarah1256
@blessdarah1256 7 ай бұрын
I’m currently working with React and Inertia
@Dommmin
@Dommmin 7 ай бұрын
Hi, can you share source code? I want to compare next.js and inertia.
@yashasvprajapati6851
@yashasvprajapati6851 7 ай бұрын
you can use nextjs 14/13 to build your backend and frontend inside one project itself.
@amined801
@amined801 7 ай бұрын
is Inertia works well with SEO?
@drugoviic
@drugoviic 7 ай бұрын
inertia has support for SSR so yes
@bohdan.vorona
@bohdan.vorona 7 ай бұрын
It's toooo complicated 😢 You could just use Laravel with Blade…
@Icodestuff
@Icodestuff 7 ай бұрын
inertia is very simple... Plus makes your application much more interactive than plain blade
@DevPenguinBD
@DevPenguinBD 7 ай бұрын
😅😅🙃🙃
@drugoviic
@drugoviic 7 ай бұрын
id recommend livewire, you can just wire:navigate between your blade components
@tanzimibthesam5861
@tanzimibthesam5861 7 ай бұрын
@@drugoviic did you face performance issues with Livewire?
@aschmelyun
@aschmelyun 7 ай бұрын
Livewire is great, but if you enjoy (or have to) work with React/Vue, Inertia just makes it a better experience imo
@sk4yb3n
@sk4yb3n 7 ай бұрын
The only drawback is that your routes are exposed publicly, keep that in mind
@JagdeepSinghKalsi
@JagdeepSinghKalsi 7 ай бұрын
As in - the 99% of the web ?
@dominuskelvin
@dominuskelvin 7 ай бұрын
Not really. You can set up policies or guards for authenticated requests
@JagdeepSinghKalsi
@JagdeepSinghKalsi 7 ай бұрын
@@dominuskelvin I guess I see your point - thanks! Will see if there is a way to prevent this.
When to use Traits, Interfaces, and Abstract Classes in PHP
15:08
Andrew Schmelyun
Рет қаралды 19 М.
Improving Tailwind by doing these 3 things
15:06
Andrew Schmelyun
Рет қаралды 2,9 М.
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 13 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,7 МЛН
Touching Act of Kindness Brings Hope to the Homeless #shorts
00:18
Fabiosa Best Lifehacks
Рет қаралды 17 МЛН
Yummy Lifehack 😋 @artur-boy
00:19
Andrey Grechka
Рет қаралды 4,5 МЛН
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 121 М.
Serverless PHP is pretty good
12:33
Andrew Schmelyun
Рет қаралды 7 М.
What's New and Exciting in PHP 8 4
9:58
php[architect]
Рет қаралды 11 М.
All 17 React Best Practices (IMPORTANT!)
1:46:11
ByteGrad
Рет қаралды 121 М.
Struggling with Laravel + Vite
34:38
Aaron Francis
Рет қаралды 9 М.
PHP on the frontend! No more Javascript!
14:47
Aaron Francis
Рет қаралды 121 М.
My 2 Year Journey of Learning C, in 9 minutes
8:42
VoxelRifts
Рет қаралды 600 М.
Timezone Management In Laravel: Your Complete Guide
9:20
Laravel News
Рет қаралды 7 М.
Learnings from our multi-tenant Laravel application
9:58
Sabatino Talks Dev
Рет қаралды 14 М.
Oh No! My Doll Fell In The Dirt🤧💩
00:17
ToolTastic
Рет қаралды 13 МЛН