I built a way to write PHP alongside your frontend

Поделиться
HTML-код
  • Опубликовано: 10 фев 2025

Комментарии • 344

  • @diegolealco
    @diegolealco 6 дней назад +22

    As a long time typescript guy, this is pretty sick.

  • @LeonardoHernandezHH
    @LeonardoHernandezHH 6 дней назад +15

    Awesome! Laravel day by day is becoming the Ultimate FullStack Framework

  • @ilyosjon_uz
    @ilyosjon_uz 6 дней назад +11

    Ohh this is why Aaron was talking about parsing PHP and ASTs. Amazing job!

  • @smkoskie
    @smkoskie 6 дней назад +217

    Using PHP as a templating language? We’ve come full circle.

    • @juggy2006
      @juggy2006 6 дней назад +23

      Yeah it's crazy, it's like people have forgotten why we replaced this design pattern years ago.

    • @ibot1988
      @ibot1988 6 дней назад +16

      cant wait for the $249 course on this

    • @fernandofarofa
      @fernandofarofa 6 дней назад +14

      PHP code is transpiled; JS renders the template, not PHP. It's a nice way to get rid of at least some parts of JS nonsense.
      This is now the most productive way to create a web app, dethroning Livewire and yet faster and with no limitations.

    • @siddolo88
      @siddolo88 5 дней назад +6

      Template here is full Vue or JSX. I think you didn’t get what’s all about

    • @brr435
      @brr435 5 дней назад +7

      @@siddolo88 No I don't think You understand what its all about, maybe go through that video one more time. You are literally writing PHP code in the Vue template, this is the same pattern we did years ago when we wrote Javascript in PHP templates. This is a pattern we tried to move away from for few years now and apparently we are back at it again...

  • @faisal.fs1
    @faisal.fs1 День назад +1

    Great job! Hats off to the team! 🌟

  • @dalcod
    @dalcod 6 дней назад +16

    Amazing work Aaron, I can't imagine how efficient and disciplined you are.

  • @joshcool
    @joshcool 6 дней назад +4

    This is awesome!!!

  • @MyBrunohp
    @MyBrunohp 6 дней назад +18

    This is actually very impressive!

  • @dakdevs
    @dakdevs 5 дней назад +2

    "...Idk! Do some programming!" Aaron is great haha. This is amazing!

  • @zamreg655
    @zamreg655 День назад

    Fusion seems like it aims to become what i always felt that was missing with laravel + inertia, bringing the backend and frontend closer. This is amazing work!

    • @wizamit
      @wizamit 21 час назад

      Inertia is fine. Here we have to learn a completely different way of doing things. With inertia you can just start developing with minimal change.

  • @fgilio
    @fgilio 5 дней назад +7

    12:29 “If you don’t like this syntax, there’s an entirely separate syntax that you can use”
    Oh that? That’s just peak Aaron

    • @aarondfrancis
      @aarondfrancis  5 дней назад

      Haha yeahhhhh

    • @andrewpeacock5107
      @andrewpeacock5107 5 дней назад

      @@aarondfrancis And the seperate syntax really is the one that made me go "Nice! Very nice" :-)

  • @nickjbasile
    @nickjbasile 4 дня назад

    Ooo, this is so cool! Was just talking with some devs about how inertia has made state management so much easier and now there's this 🤯

  • @adampatterson
    @adampatterson 6 дней назад +2

    Nice, this is what all the hubbub was about on Twitter!

  • @biodunbamigboye
    @biodunbamigboye 6 дней назад +15

    Your productivity and that of Laravel team needs to be studied and published for the rest of us to learn. Always magical 🚀🚀🚀🚀

  • @rafamorawiec
    @rafamorawiec 6 дней назад +2

    No way. That's amazing. Great work Aaron!

  • @nullzeon
    @nullzeon 4 дня назад +1

    I'm glad I bet on Laravel cuz of you, it just keeps getting better and better

  • @KentCDodds-vids
    @KentCDodds-vids 6 дней назад +6

    Very cool Aaron 👍

  • @aristideherve5748
    @aristideherve5748 5 дней назад

    This is crazy! This is just crazy! I'll support it. Even if I'm not a php developer anymore. Big game guys and thank you so much for your work!

  • @sadkebab
    @sadkebab 4 дня назад

    Skipping contract definition between client and server seemed like the natural next step for laravel, happy to see that you jumped on it and pushed a high standard for the developer experience.

  • @melihbadem7643
    @melihbadem7643 4 дня назад

    is a very remarkable project. I will follow its development closely.

  • @SahilKumar-bt2pf
    @SahilKumar-bt2pf 3 дня назад

    Wow mind blowing. I'm very excited to use this.

  • @MrManafon
    @MrManafon 6 дней назад +6

    This is really nice experience, Aaron! Thank you for doing this, and please, pretty please, don't forget that most of the web is NOT a SPA, and benefits from being mostly server-rendered, with small islands of interactivity. Think ESI or AJAX price fetching in CDN-cached e-commerce websites. Also, I'd love to see this move into a direction where its more clear what goes over the wire, and what is static!

    • @williandamascenomusic
      @williandamascenomusic 6 дней назад +1

      I think it is built on top of Inertia and it supports server side render, so we're safe on that

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

    Wow. Great work, mate! It's a very exciting project. Can't wait to see it flying high. Well done!

  • @fagnerdossantosgoncalves9563
    @fagnerdossantosgoncalves9563 3 дня назад

    Now the fullstack is the future! Great job!

  • @stevebauman
    @stevebauman 6 дней назад +1

    This is so cool dude! Nice work! 👏👏

  • @alexz75515
    @alexz75515 День назад

    Started using livewire, and love it. Hope this will be even better, especially with inertia js 2.0!

  • @joshuaberrios
    @joshuaberrios 5 дней назад

    Bro you have made my dreams come true. You are a mad man!

  • @luxor1687
    @luxor1687 6 дней назад +3

    Oh, I've been thinking about PHP components like these recently! Can't wait for a full release, and to see if it's portable (not using Laravel unfortunately)!

  • @hanszaunere3623
    @hanszaunere3623 5 дней назад

    We're ready for this - much needed!

  • @0xBrunoTS
    @0xBrunoTS 6 дней назад +1

    Aaron is changing the world

  • @wfl-junior
    @wfl-junior 6 дней назад +8

    This is insane, pretty cool, probably the coolest front-back merge concept I've seen.
    Can't imagine how that would work with React.

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

    Woah! This is super cool! I don't envy the work ahead, but if anyone can take it on and make it super cool, you're the one! Good luck - can't wait to see where this goes (and to dig into the open source when available for my own learnings)

  • @mister_reboot
    @mister_reboot 5 дней назад

    best thing Ive seen this year

  • @ericmp1199
    @ericmp1199 6 дней назад +2

    🤯crazy! 🔝

  • @fernandofarofa
    @fernandofarofa 6 дней назад +2

    Gona help on this project for sure!

  • @bboydarknesz
    @bboydarknesz 2 дня назад

    damn you insane! love you guys!
    gonna love to use Vue after this because of the PHP xD

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

    can't wait to see how's the react version going to look !!

  • @Nurof3n_
    @Nurof3n_ 5 дней назад +1

    this looks fun!

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

    Whoaa this is EXCITING!!! I'm definitely checking Fusion out once it's out

  • @DevduttaBain
    @DevduttaBain 4 дня назад

    freakin awesome!!! already hyped!!!!!

  • @3J2A3Y
    @3J2A3Y 5 дней назад

    ❤You're appreciated Aaron!

  • @abedcodes
    @abedcodes 5 дней назад

    hope this would make programming easier for fullstack devs, i'll keep an eye on fusion! great job aaron, keep up inventing 🎉

  • @nabildesign
    @nabildesign 6 дней назад +1

    This looks amazing man , Can't wait to try it out, Some things I think you should cover in future vides are stand alone components and how they interact with each other , classic routing , also the state of tooling like syntax highlighting and code completion for PHP in VS Code/PhpStorm in Vue & JS/JSX/TS/TSX files.

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

    What a great update 👌

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

    What a come back bro!! Love it!!

  • @NoelDeMartin
    @NoelDeMartin 4 дня назад +2

    This is looking great, I'm looking forward to giving it a try :D. For some reason though, I think I'd rather do to follow Vue's conventions. I know it's more typing and all that, but it seems less magical :).

  • @magnetoflux
    @magnetoflux 2 дня назад

    Came to my Google feed. Thanks to the meta tags. Okay so I will be testing this fusion this weekend.

    • @aarondfrancis
      @aarondfrancis  2 дня назад +1

      Haha well I hate to disappoint but I'm open sourcing it on Monday! So maybe next weekend! 🙈

    • @magnetoflux
      @magnetoflux 2 дня назад

      @aarondfrancis next weekend it is then. Anyways subscribed for any new updates

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

    This looks great! Very excited to check this out. Great work as always.

  • @MarijanKopcic
    @MarijanKopcic 5 дней назад

    Great work! Looks cool!

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

    Chapeau! Can't wait for the React Support 🤩

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

    Reminds me of Remix and really blurring the line between front end and back end. Well done 👍

  • @andrere2
    @andrere2 5 дней назад

    this is amazing 🤯

  • @sudeshryan8707
    @sudeshryan8707 6 дней назад +1

    I am HYPED 🤍🤍

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

    OMG this is incredible!

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

    Amazing stuffs Aaron!

  • @SimonDepelchin
    @SimonDepelchin 6 дней назад +1

    You'll end up breaking the internet with all your R&D

  • @yehuda4883
    @yehuda4883 5 дней назад

    Woohoo 🎉
    This looks neeaaaaat!

  • @ardizanki
    @ardizanki 6 дней назад +15

    PHP (Laravel) & Vue = Amazing ✨️

  • @SheikhHeera
    @SheikhHeera 5 дней назад

    Great work ❤

  • @Akshatgiri
    @Akshatgiri 5 дней назад

    this is beautiful

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

    SIR! you are wonderful

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

    Woow. This is awesome!!!!!

  • @naveed-h
    @naveed-h 5 дней назад

    This is 🔥

  • @dmdboi
    @dmdboi 6 дней назад +2

    19 minutes of Aaron saying "That's not the impressive part" then continuing to blow our minds!
    Also, how did you write this AND Solo in the same time period? When do you sleep magic man!

  • @AbnerCarvalho-i2y
    @AbnerCarvalho-i2y 5 дней назад

    That is Amazing!!!

  • @NickPoulos
    @NickPoulos 6 дней назад +2

    We just need a Svelte adapter and we are golden!

  • @aeiou...
    @aeiou... 6 дней назад

    You're crazy!!! Nice!

  • @khouloudhaddadamamou
    @khouloudhaddadamamou 5 дней назад

    Wonderful !!

  • @commie563
    @commie563 10 часов назад

    Final boss of frameworks

  • @Dom-fs8om
    @Dom-fs8om 5 дней назад

    Cool stuff. Keep shipping

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

    This is killer

  • @philliphartin
    @philliphartin 5 дней назад

    Love it.

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

    This is insane. I had trouble with intertia js and the amount of required boilerplate, got high hopes for this.

  • @jonileih
    @jonileih 5 дней назад

    This could be huge

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

    Obrigado pela dublagem em português, amigo, você é um amigo

  • @_TheOldMan_
    @_TheOldMan_ 6 дней назад +3

    This has a lot of potential, cant wait to play around with it!

  • @GoldenSeedConsult
    @GoldenSeedConsult 5 дней назад +7

    You don't have to LIKE it or USE it . Leave it for those who LOVE this way of doing things. Mind absolutely blown!!!

    • @andrejbestuzhev6242
      @andrejbestuzhev6242 5 дней назад +1

      One day you’ll be hired to work with project made in early 2000’s style. And youll have to love it.

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

    This is beautiful. Also, great name.

    • @aarondfrancis
      @aarondfrancis  5 дней назад

      Thanks I made it up (aka stole it from you)

  • @DontFollowZim
    @DontFollowZim 5 дней назад

    The fact that stuff like this didn't exist is why things like Next and Nuxt exist. If only we could bring innovations like this back in time... I might've stayed more of a full stack developer for more of my career.

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

    It is awesome!

  • @michaelpumo83
    @michaelpumo83 5 дней назад

    What a madman. 🍿

  • @QuintessentialDio
    @QuintessentialDio 7 часов назад

    Its great.

  • @pookiepats
    @pookiepats 5 дней назад

    This is so neat, now i can raw dog sql inside php inside my js inside my html-in a type safe way; i might cry.

  • @lonsun9234
    @lonsun9234 5 дней назад

    I love it

  • @kwyaza
    @kwyaza 5 дней назад

    This looks very interesting. Struggling to see where this fits in with Livewire, Intertia, Folio and Volt but very eager to checkout the repo when it's published.

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

    🎉amazing

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

    So we doing Astro with php for templating instead of jsx. Nice 👍👍👍

    • @aarondfrancis
      @aarondfrancis  4 дня назад

      PHP is not used at all for templating. That's all up to Vue or React. The PHP just passes the data over the wire.

  • @adics
    @adics 4 дня назад

    I'll like it 😍😍

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

    Ah cool idea.
    I imagine..
    During npm build, preg_match the php blocks & submit to an endpoint that accepts the body, runs a little bit of static analyzing to figure out the declared vars and pack them into a json payload then saves a file with the component name then registers an effect to fetch from that endpoint and store the state. :)
    I imagine one cool optimization, could be a post build compiler pass that traverse the output AST and finds duplicate calls which it can then cache using like spatie/once and perhaps stick it in a frontend context or store.
    Anyways, I hope it becomes a nice productivity boost without too much complexity overhead 😊

    • @aarondfrancis
      @aarondfrancis  4 дня назад

      Pretty close! Vite means that I don't have to regex it, I can just look for a "custom block" named "php" and then pass it over to Artisan.

  • @CodeWithAbirOfficial
    @CodeWithAbirOfficial 5 дней назад

    🎉 awesome

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

    Amazing

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

    thats Cooooool

  • @narrei666
    @narrei666 6 дней назад +1

    this is so cursed :Dd i'll have to sleep on it.

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

    This is nice!..

  • @djasnive
    @djasnive 5 дней назад

    It's actually pretty good 🤔

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

    Great!

  • @SilverPaladin
    @SilverPaladin 5 дней назад

    This is like a vue version of Livewire Volt.

  • @MauroCasas-c7q
    @MauroCasas-c7q 6 дней назад

    My mind's racing.

  • @macdaddy313
    @macdaddy313 6 дней назад +1

    This looks awesome. Could you summarise how it differs from live wire or volt?

    • @aarondfrancis
      @aarondfrancis  5 дней назад

      1) Livewire doesn't support Vue or React

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

    My dream is that JS will become the new CGI script, you know its there but you never seen. 😂