Laravel Folio First Look

Поділитися
Вставка
  • Опубліковано 4 жов 2024
  • 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 місяців тому +4

    You are just my programming hero, Jeff 😊

  • @User.Joshua
    @User.Joshua 11 місяців тому +1

    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 10 місяців тому +1

    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 місяців тому +1

    It's for svelte, nextjs, and nuxtjs user that's been forced to use Laravel for the company project. I don't hate it.

  • @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

  • @theavazov
    @theavazov 10 місяців тому

    Next js based laravel folio

  • @Matheusrrocha
    @Matheusrrocha 8 місяців тому

    What Jeff uses for browsing? I would love to use this spotlight for navigating...

  • @bulent2435
    @bulent2435 11 місяців тому +10

    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 місяців тому +1

      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 місяців тому +1

      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.

  • @codedusting
    @codedusting 10 місяців тому

    NextJS, is that you?

  • @returnZeroo
    @returnZeroo 9 місяців тому

    basically folio make laravel to nextjs ?

  • @anti5895
    @anti5895 11 місяців тому +2

    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 11 місяців тому +2

      Remember when functional react was optional? A lot of these features start as optional but end up becoming the norm

  • @saytaimoor
    @saytaimoor 11 місяців тому

    Looks cool, but how can we have routes that might return JSON response?

  • @devKazuto
    @devKazuto 11 місяців тому

    So Folio basically makes Laravel to Nuxt, Next or SvelteKit xD

  • @johnsonhoward9201
    @johnsonhoward9201 11 місяців тому

    Jeffrey,What does the screen recording app use?

  • @ajzack983
    @ajzack983 11 місяців тому

    so the traditional way is MVC, what is this one called ?

  • @garetts8156
    @garetts8156 11 місяців тому

    Nuxt 3 in Laravel

  • @scott_itall8638
    @scott_itall8638 5 місяців тому

    Starting to wonder what Laravel can't do...

  • @adev_312
    @adev_312 4 місяці тому

    Laravel doesn’t need to cater to the NextJS crowd, routing is great as is…

  • @josephmakram4342
    @josephmakram4342 11 місяців тому

    What is the name of this cool terminal app?

  • @martinsonuoha
    @martinsonuoha 11 місяців тому

    What is this simplistic editor?

  • @samishkaz
    @samishkaz 11 місяців тому

    What is this IDE?

    • @JohnnyBigodes
      @JohnnyBigodes 11 місяців тому

      PHPStorm the Jeffrey way and simplyfied.

  • @SiriusBlackNuar
    @SiriusBlackNuar 4 місяці тому

    Are you f..ng kidding me? OMG

  • @jovanthegreat
    @jovanthegreat 11 місяців тому +1

    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 місяців тому +1

      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) :)

  • @hentype
    @hentype 11 місяців тому +5

    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 11 місяців тому

      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 11 місяців тому +1

      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