Это видео недоступно.
Сожалеем об этом.

Laravel Folio First Look

Поделиться
HTML-код
  • Опубликовано: 19 окт 2023
  • 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 10 месяцев назад +4

    You are just my programming hero, Jeff 😊

  • @User.Joshua
    @User.Joshua 9 месяцев назад +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 8 месяцев назад +1

    I think currently route approach is best way and more flexible

  • @kladdelic
    @kladdelic 10 месяцев назад

    Nice! Thank you for covering this, Jeffrey. 😊

  • @Torres158
    @Torres158 8 месяцев назад

    Great video! It reminds me of Nuxt routes

  • @PacificDev
    @PacificDev 9 месяцев назад

    Great video as always! thanks Jeffrey 👍

  • @hyphy25
    @hyphy25 9 месяцев назад +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 9 месяцев назад

    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 8 месяцев назад

    Next js based laravel folio

  • @bulent2435
    @bulent2435 10 месяцев назад +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 10 месяцев назад

      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 9 месяцев назад

      But for a small project like a Doc or Personal site, this is perfect

    • @bulent2435
      @bulent2435 9 месяцев назад

      @@DougLopes yes it's.

    • @haroldsomehands4271
      @haroldsomehands4271 9 месяцев назад +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 9 месяцев назад +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😅

  • @Matheusrrocha
    @Matheusrrocha 7 месяцев назад

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

  • @raident29
    @raident29 7 месяцев назад

    great video jeff! i just don't like the way folio is doing it's routing.

  • @saytaimoor
    @saytaimoor 9 месяцев назад

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

  • @devKazuto
    @devKazuto 9 месяцев назад

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

  • @anti5895
    @anti5895 9 месяцев назад +1

    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 9 месяцев назад +2

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

  • @returnZeroo
    @returnZeroo 7 месяцев назад

    basically folio make laravel to nextjs ?

  • @codedusting
    @codedusting 9 месяцев назад

    NextJS, is that you?

  • @johnsonhoward9201
    @johnsonhoward9201 10 месяцев назад

    Jeffrey,What does the screen recording app use?

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

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

  • @ajzack983
    @ajzack983 9 месяцев назад

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

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

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

  • @garetts8156
    @garetts8156 9 месяцев назад

    Nuxt 3 in Laravel

  • @josephmakram4342
    @josephmakram4342 10 месяцев назад

    What is the name of this cool terminal app?

  • @martinsonuoha
    @martinsonuoha 10 месяцев назад

    What is this simplistic editor?

  • @samishkaz
    @samishkaz 10 месяцев назад

    What is this IDE?

    • @JohnnyBigodes
      @JohnnyBigodes 10 месяцев назад

      PHPStorm the Jeffrey way and simplyfied.

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

    Are you f..ng kidding me? OMG

  • @jovanthegreat
    @jovanthegreat 10 месяцев назад +1

    Whats the need for this? Reinventing plain php, making the app handle less requests, slowing it down. Overengineered crap essentially

    • @haroldsomehands4271
      @haroldsomehands4271 9 месяцев назад

      This is to keep Laravel in the playing field. If it won't keep up with the times, man idk.

    • @mityaboy4639
      @mityaboy4639 9 месяцев назад +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 9 месяцев назад +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 9 месяцев назад

      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 9 месяцев назад +1

      Literally looks like the old way of folder based routing like people did in the 90s

    • @vasiovasio
      @vasiovasio 6 дней назад

      This specially is for the JS community - the [id] thing is like you watch SvelteJS tutorial...

  • @lancelot4765
    @lancelot4765 10 месяцев назад

    noice