Laravel Folio First Look

  Рет қаралды 11,320

Laracasts

Laracasts

Күн бұрын

Laravel Folio is a powerful and unique new page-based router for your Laravel applications. Announced at Laracon US 2023, it offers an alternative ways to organize your routes. Simply create a new file and, bam, your route is ready to go! Though not for everything, you may find this new approach to be just what the doctor ordered for your next app!
Laravel Folio: github.com/lar...
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way

Пікірлер: 45
@jkg_1
@jkg_1 11 ай бұрын
You are just my programming hero, Jeff 😊
@User.Joshua
@User.Joshua 11 ай бұрын
Funnily enough, I assumed folio-like routing is how it worked from the start... the web.php file totally confused me the first time I tinkered around with Laravel. Thanks for the content!
@brmj
@brmj 9 ай бұрын
I think currently route approach is best way and more flexible
@Torres158
@Torres158 9 ай бұрын
Great video! It reminds me of Nuxt routes
@kladdelic
@kladdelic 11 ай бұрын
Nice! Thank you for covering this, Jeffrey. 😊
@PacificDev
@PacificDev 11 ай бұрын
Great video as always! thanks Jeffrey 👍
@hyphy25
@hyphy25 11 ай бұрын
It's for svelte, nextjs, and nuxtjs user that's been forced to use Laravel for the company project. I don't hate it.
@anti5895
@anti5895 10 ай бұрын
ppl already moaning in the comment section. this is freaking optional stuff for a very particular setup and needs. if you don't install it, it wont be there. it's not being forced upon you. what's the point of all the hate?
@TheRafark
@TheRafark 10 ай бұрын
Remember when functional react was optional? A lot of these features start as optional but end up becoming the norm
@dadomultimediamusic
@dadomultimediamusic 10 ай бұрын
Thank you Jeffrey for sharing this new Feature for Laravel. I got a question: I understood to make it work, it´s necessary to build the folder Pages, I was wondering how it would work if I want to build Livewire 3 Full page Components (including the use of wire:navigate) I will appreciate any suggestion or comment. Greetings
@bulent2435
@bulent2435 11 ай бұрын
I really don't like the notion of embracing JS frameworks' way of doing things as if they are doing right way.
@SXsoft99
@SXsoft99 11 ай бұрын
Actually I remember php frameworks were back in the day But I do prefer logic not to be in the templating engine, except maybe for some template specific formating methods......maybe
@DougLopes
@DougLopes 11 ай бұрын
But for a small project like a Doc or Personal site, this is perfect
@bulent2435
@bulent2435 11 ай бұрын
@@DougLopes yes it's.
@haroldsomehands4271
@haroldsomehands4271 11 ай бұрын
We have the exact opposite of thinking. Because when i saw this, i immediately thought that oh so this is how PHP or Laravel keeps up with the game. They make their own representations of the modern ways. No wonder PHP is still alive.
@nimmneun
@nimmneun 11 ай бұрын
It's actually similar to how you would have done things before frameworks. Your folders were basically your routing. Except back then it all lived in the public folder. That's why so many JS only devs were complaining about SSR looking like the old PHP and plain HTML ways😅
@raident29
@raident29 8 ай бұрын
great video jeff! i just don't like the way folio is doing it's routing.
@theavazov
@theavazov 9 ай бұрын
Next js based laravel folio
@Matheusrrocha
@Matheusrrocha 8 ай бұрын
What Jeff uses for browsing? I would love to use this spotlight for navigating...
@returnZeroo
@returnZeroo 8 ай бұрын
basically folio make laravel to nextjs ?
@codedusting
@codedusting 10 ай бұрын
NextJS, is that you?
@saytaimoor
@saytaimoor 11 ай бұрын
Looks cool, but how can we have routes that might return JSON response?
@johnsonhoward9201
@johnsonhoward9201 11 ай бұрын
Jeffrey,What does the screen recording app use?
@scott_itall8638
@scott_itall8638 4 ай бұрын
Starting to wonder what Laravel can't do...
@devKazuto
@devKazuto 11 ай бұрын
So Folio basically makes Laravel to Nuxt, Next or SvelteKit xD
@ajzack983
@ajzack983 11 ай бұрын
so the traditional way is MVC, what is this one called ?
@adev_312
@adev_312 3 ай бұрын
Laravel doesn’t need to cater to the NextJS crowd, routing is great as is…
@garetts8156
@garetts8156 11 ай бұрын
Nuxt 3 in Laravel
@josephmakram4342
@josephmakram4342 11 ай бұрын
What is the name of this cool terminal app?
@RobertOhlzon
@RobertOhlzon 11 ай бұрын
I belive it's Warp
@martinsonuoha
@martinsonuoha 11 ай бұрын
What is this simplistic editor?
@WillWilson
@WillWilson 11 ай бұрын
PHPStorm
@samishkaz
@samishkaz 11 ай бұрын
What is this IDE?
@JohnnyBigodes
@JohnnyBigodes 11 ай бұрын
PHPStorm the Jeffrey way and simplyfied.
@jovanthegreat
@jovanthegreat 11 ай бұрын
Whats the need for this? Reinventing plain php, making the app handle less requests, slowing it down. Overengineered crap essentially
@haroldsomehands4271
@haroldsomehands4271 11 ай бұрын
This is to keep Laravel in the playing field. If it won't keep up with the times, man idk.
@mityaboy4639
@mityaboy4639 11 ай бұрын
usually i dont mind automation (and some level of slowdown with that - which can be compensated by some clever caching) but this here felt only okay up to the point of mixing concerns AND introducing a separate routing (foilo’s route file) if its for a basic static page or unauthorised wordpress like function… well yeah… good. but when it tries to step out of that and moves business logic and whatnot into the view file… thats a wrong idea. and with the new route file? yay… another layer of complexity whrn you need to debug something its cool that you can just pull data out from the db without much interaction between YOUR code and the system below… but don’t mix stuff… why not add a nice liettle sql in there and just merge even the model into the view… and then just like that… you travelled back in time to 2003 and its PHP3 again :) but i see that frontend frameworks do a lot of these things … when they disguise the the thing by making every fronted element an “object” and therefore mixing the rendering with the data and controller functions. because you need to dynamically parse an H1 object into an html tag to always show the same text :) welcome to Nuxravel powered by the SCC (Spaghetti Code Convention) :)
@SiriusBlackNuar
@SiriusBlackNuar 4 ай бұрын
Are you f..ng kidding me? OMG
@hentype
@hentype 11 ай бұрын
Whatever happened to separation of concerns and all that MVC, lol. Laravel is starting to turn into a wordpress of some sort and losing focus. The laravel team probably is doing these dumb stretches to gather all kinds of users.
@kladdelic
@kladdelic 10 ай бұрын
Beg to differ. Seems more to be inspired by the stuff next.js does. Not really that WordPress-like. And of course, very optional, so nothing forced on anyone.
@TheRafark
@TheRafark 10 ай бұрын
Literally looks like the old way of folder based routing like people did in the 90s
@vasiovasio
@vasiovasio Ай бұрын
This specially is for the JS community - the [id] thing is like you watch SvelteJS tutorial...
@lancelot4765
@lancelot4765 11 ай бұрын
noice
How to Make a Passwordless Login System In Laravel
19:51
Laracasts
Рет қаралды 10 М.
The Intermediate Developer Trap
18:39
Laracasts
Рет қаралды 21 М.
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 13 МЛН
The Joker wanted to stand at the front, but unexpectedly was beaten up by Officer Rabbit
00:12
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
Laravel Pulse, First Party Packages, & the Future of Laravel
40:33
Laravel Podcast
Рет қаралды 3,4 М.
Execute Code After a Response is Returned?
14:00
Laracasts
Рет қаралды 4,7 М.
PHP is the future
34:27
Aaron Francis
Рет қаралды 176 М.
Using Generics with PHP
25:55
Laracasts
Рет қаралды 11 М.
Laravel CRUD in 50 minutes for Beginners  from Scratch
49:58
Devtamin
Рет қаралды 212 М.
The secret behind FrankenPHP: Will it revolutionize PHP?
12:40
Chris Fidao
Рет қаралды 41 М.
Learn Web Development And ACTUALLY Get A Job | Ultimate Guide
1:33:52
James Cross
Рет қаралды 1,3 МЛН
Laravel Pennant: first-party feature flags
14:21
Aaron Francis
Рет қаралды 18 М.
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 13 МЛН