Тёмный

PHP on the frontend! No more Javascript! 

Aaron Francis
Подписаться 37 тыс.
Просмотров 116 тыс.
50% 1

Laravel Livewire allows you to write PHP on the frontend (kind of!) so you don't have to futz about with Javascript anymore (mostly!)
Looking for PHP jobs or looking to hire PHP devs? Check out Larajobs: larajobs.com/?partner=108.
Check out the docs at laravel-livewire.com
01:44 Installing Livewire
02:26 Updating our default views
03:28 Making a Livewire component
04:37 Adding state
05:08 Binding state
06:45 Inspecting the network tab
09:35 Calling methods
11:28 Events, nested components, file uploads
12:16 Alpine.js
13:30 Livewire V3

Наука

Опубликовано:

 

6 июл 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 751   
@teej_dv
@teej_dv 10 месяцев назад
aaron makes me love php
@aarondfrancis
@aarondfrancis 10 месяцев назад
Pinned it
@orenders
@orenders 10 месяцев назад
Laravel is NOT php.
@dputra
@dputra 10 месяцев назад
​@@orenders you can't run laravel on c#
@mihajlocolic01
@mihajlocolic01 10 месяцев назад
@@dputra goteem
@omegaman7377
@omegaman7377 10 месяцев назад
Aaron is an incompetent. JavaScript support Unicode (think foreign language). PHP no not support. Unless you want to limit yourself to the anglophone market. PHP is a waste of your time.
@dmdboi
@dmdboi 10 месяцев назад
"Have you ever had a thought..". None, I have a zero thought policy. Even thought I don't use PHP, your videos are entertaining!
@aarondfrancis
@aarondfrancis 10 месяцев назад
Zero thoughts, zero suffering. You may be onto something here
@Icodestuff
@Icodestuff 10 месяцев назад
Fellow Laravel content creator here, absolutely love your style of video. You have really nice personality & charisma in this video, keep it up man!
@aarondfrancis
@aarondfrancis 10 месяцев назад
That means a lot to me, thank you so much!
@isurujn
@isurujn 10 месяцев назад
I've been a mobile developer for the past 10 years but PHP has a soft spot in my heart, no matter how much hate it gets. I built a little backend for a mobile app I developed for a software competition way back in 2012 (and won 3rd place!). All vanilla PHP, no frameworks. I wasn't aware of Laravel back then. I tried it here and there but my career took me elsewhere. Your videos on PHP makes me wanna learn Laravel again.
@ryanlak1234
@ryanlak1234 7 месяцев назад
What tech stack do you use for your career now?
@isurujn
@isurujn 7 месяцев назад
@@ryanlak1234 I'm in mobile development now. Mostly iOS development with Swift.
@carloslfu
@carloslfu 8 месяцев назад
I started watching PHP content again after 6 years of working with other languages, all because of your videos. I was surprised to see PHP added types! Also, Laravel and all of the PHP ecosystem have advanced a ton! Great content Aaron!
@David-ng9qh
@David-ng9qh 10 месяцев назад
Another great video! Livewire is honestly so cool and magical. Keep up the great PHP/Laravel content!
@V3LOXy
@V3LOXy 10 месяцев назад
For anyone using Symfony, Symfony UX works similarly and has support for vue/svelt/react components too
10 месяцев назад
After each video that I watch from you, I have a big smile on my face. ❤
@khanalpride
@khanalpride 10 месяцев назад
been waiting for Livewire v3.0 so long... Your videos are the best. :)
@holonaut
@holonaut 8 месяцев назад
Great video! One thing worth explaining in the counter example: Every time you click the increment button, you not only send to the server that the "increment" function should be called, but also send the entire previous state of the component in the "memo" field. First the component gets hydrated, e.g. $counter gets set to 22 or whatever the "memo" says, and then the function is applied. The backend then increments it to 23 and sends the new view out, but also the new memo which is then stored by the frontend. Took me a day or two to figure this out. Before that, I thought some cache or db sorcery is going on.
@MrNichuya
@MrNichuya 10 месяцев назад
I've been using Livewire since version 1 and have never thought to use anything else since then, even started my first open source package for the TALL stack called tall-kit components
@siyabdev
@siyabdev 10 месяцев назад
Your style of explanation makes the topic more interesting. Great !!!
@aarondfrancis
@aarondfrancis 10 месяцев назад
That's nice of you to say, thank you!
@patricknelson
@patricknelson 9 месяцев назад
Also worth a look for backend lovers: HTMX. Its functions very similarly, but is not tightly coupled to any particular backend language.
@elementxyz
@elementxyz 9 месяцев назад
That was the first thing that came in my mind. Is it similar to htmx. 😊
@JeremyAndersonBoise
@JeremyAndersonBoise 6 месяцев назад
@patricknelson Laravel + htmx is my next experiment, full-on!
@_alexlazar_
@_alexlazar_ 10 месяцев назад
Been watching your videos for the past week. It's this weekend that I'm building something with Laravel. I've been skimming through the docs a lot, and I'm hopeful
@aarondfrancis
@aarondfrancis 10 месяцев назад
I too am hopeful! Best of luck
@Blamethemsm
@Blamethemsm 2 месяца назад
I just finished writing a router/ controller framework. 😂 Then i learned about htmx and loved life. This is just a whole 'nother level of amazing.
@janedawg09
@janedawg09 20 дней назад
cool. just watched two of your vids. contents' both entertaining and educative. your explanation's very easy to follow too
@tinpa1756
@tinpa1756 18 дней назад
Bro this guy talks to me like I'm a toddler and I'm here for it, love the vibes
@raident29
@raident29 10 месяцев назад
i just found your channel and subbed to it. ive been using php for the past 9 years. ive known live wire for the past year but havent dared to try it. i will try this now.
@aarondfrancis
@aarondfrancis 10 месяцев назад
Enjoy!
@throbicon
@throbicon Месяц назад
I just fell in love with PHP. Thank you Aaron!
@Rikco.337
@Rikco.337 3 месяца назад
Life changing :D Great video .. thanks a lot ! *Loving PHP for 20 years now.
@ronaldbarcat
@ronaldbarcat 10 месяцев назад
I think this is good for quick prototyping or showing quick mvp and for relatively smallish projects. Since I started with API driven development with Laravel, I never wanted to go back to tightly coupled monolithic web development. As fullstack web dev, embrace the new tech stack, frontend frameworks are there for a reason and it's inevitable if you want your skillset to be marketable.
@DanteMishima
@DanteMishima 10 месяцев назад
Thank you so much for this. I would love more tutorials of maybe building a project from start to finish
@tannercampbell
@tannercampbell 10 месяцев назад
i been using Laravel + Vue for several years and its been great! The one off time I need some SSR or related thing I just use Blade. I haven’t really found the need for Livewire (because my experience with Vue has been so good) but this makes me want to give it a shot and mess around
@ernestharuna
@ernestharuna 10 месяцев назад
I've been on this path for a long time. I used Blade previously, but now, I'd use Livewire instead, it has some interesting features found in other Javascript frameworks
@TheJobCompany
@TheJobCompany 10 месяцев назад
My only problem with the "HTML over the wire" pattern is that it makes it too easy to build applications that require too much server interactions for trivial state changes that can just as easily take place on the client entirely. This results in poor design, such as the way GitHub has to make a request just to render a markdown preview. That's why I prefer how React Server Components by design make it so you cannot, for instance, use state on a server component, forcing you to make it clientside.
@aarondfrancis
@aarondfrancis 10 месяцев назад
Servers are great though! Super powerful, very awesome. And I'm not sure using GitHub as the negative example is very compelling. I get it though, HTML over the wire isn't right for every situation. It is right for more situations than it gets credit for though!
@Stopinvadingmyhardware
@Stopinvadingmyhardware 9 месяцев назад
That’s what WASM is for.
@TheSaintsVEVO
@TheSaintsVEVO 6 месяцев назад
@@Stopinvadingmyhardware What does that mean? Are you saying use WASM for managing state?
@Stopinvadingmyhardware
@Stopinvadingmyhardware 6 месяцев назад
@@TheSaintsVEVO Why are you managing state machines in browsers? That’s the opposite of secure
@TheSaintsVEVO
@TheSaintsVEVO 5 месяцев назад
@@Stopinvadingmyhardware UI state
@amponsahhubert4884
@amponsahhubert4884 10 месяцев назад
You speak with so much conviction😃. I would like to see an overview of PHP for backends/APIs
@jamesrosemary2932
@jamesrosemary2932 10 месяцев назад
I remember in the early days of the web that you could install a DLL or a plugin in your browser which made it possible to interpret any language you wanted (as long as that language was designed for the web, of course). So there were websites that were made with VB or Java or JS. Or you could write the plugin yourself and interpret your own favorite programming language (not an easy job, but the possibility was there). All thanks to a property of the tab script: type. All that is over. I miss those times.
@_akuma06
@_akuma06 10 месяцев назад
You can still kind of do that with wasm. Like PyScript does to execute python in the front end instead of javascript.
@MrShaheer
@MrShaheer 10 месяцев назад
you could also use JS on the server side in the early days of web programming (IIS supported it. ). You could also write STYLESHEETS with JS. Those were called JSS instead of CSS (Javascript Style Sheet).
@folkrav
@folkrav 10 месяцев назад
Those often came with the very "fun" caveats that security was abysmal and compatibility with different OSes/browsers was crap. From a developer perspective, they may have been fun, but from a user perspective, I can safely say I don't miss this _at all_.
@jamesrosemary2932
@jamesrosemary2932 10 месяцев назад
@@folkrav Well, although what you say is true for the general public, there are specific cases where it has practical application and is even desirable, for example in a backend application for a company's intranet.
@folkrav
@folkrav 10 месяцев назад
@@jamesrosemary2932 Then you end up with situations like at some Fortune 100 place I did consulting at, where most developers outside those working on said internal tools used Linux. Pretty much all had to keep a Windows VM around just to run IE cause that intranet software relied on Silverlight 🤷
@joaolima3780
@joaolima3780 10 месяцев назад
Great!!! I wanna start to learn php and your videos helps a lot! tks man =D
@donald5297
@donald5297 10 месяцев назад
This is the first time i feel like hitting the like button more than once on a RU-vid video 😊
@imqqmi
@imqqmi 10 месяцев назад
Wow, looks like such an elegant way of reducing js frameworks! In my next php project I'll be sure to check it out. I've been ripping out react and angular from projects and replacing it with vanilla javascript and server side code as much as possible. Made a tremendous improvement in speed and maintenance and readibility. Haters of php haven't used php 7.4 onwards and all the new features it provides. And lets be honest, many who use async, dependency injection and inheritance in C# or java make an absolute mess of things, including myself.
@orenders
@orenders 10 месяцев назад
very strange comment, we allready as several years use php 8
@timebroua
@timebroua 9 месяцев назад
I love PHP! Thanks for loving even more!
@miguelcaf
@miguelcaf 10 месяцев назад
I'll re-watch this video many times because I just searching this, a way to use php on front-end. I don't know if is the best pratice but I'll exercise my code this way! Thaks a lot!
@heyalejandro175
@heyalejandro175 Месяц назад
That was awesome! Thanks Aaron!
@johnforeverrules
@johnforeverrules 10 месяцев назад
great stuff. livewire is fun. now, more devs can have fun with livewire. keep it up
@carlosviniciusmonteirodeso5060
@carlosviniciusmonteirodeso5060 10 месяцев назад
I still haven't got around to programming with PHP, but after watching this video, I was curious about this 'Livewire'. I'm going to send this video to my friend who loves PHP and Laravel
@dinoskostas5728
@dinoskostas5728 10 месяцев назад
That was very intresting! But i have one question. The section that you showing that the input updates the ouput via http post request like the ngModel in angular. So my question is if this is secure or not. Because everyone has access to the dev tools and they can easily see those updates and i assume that can lead to an html injection or more am I right or am i missing something?
@str2254
@str2254 5 месяцев назад
This is actually mindblowing. I cant believe i'm hyped to learn php
@Xcombo
@Xcombo 10 месяцев назад
It seems like it works very well, but I am concerned about the excessive http requests. It may be fine for small sites, but if you scale to a couple thousands of users, you are going to want as little backend requests as possible in order to not crash your server.
@yoskokleng3658
@yoskokleng3658 10 месяцев назад
laravel protect it.
@loicknsenda673
@loicknsenda673 10 месяцев назад
@@yoskokleng3658 How ? can you tell us more about that ?
@yoskokleng3658
@yoskokleng3658 8 месяцев назад
@@loicknsenda673 go to larvae’s document and find it. In code we will found it in config of laravel project. Laravel project protect too many request from the same ip and we can set how many request that allow user request per minute in the same ip. Remember -> in the same ip Laravel can handle thousands request. Your service won’t crash at all.
@imdtap1448
@imdtap1448 10 месяцев назад
It's a sign from the heavens..Dary and Gio had me thinking about learning PHP...Now A-A-Ron...Been thinking about this for at least 3 years (im JS loser wannabe)... Imagined if I would have listened to myself and committed? I would be well on my dream of working from home in my pj bottoms and tshirt...
10 месяцев назад
The advantage of PHP is that hosting is so cheap. With this technology it becomes even more interesting! Thank you
@DevlogBill
@DevlogBill 10 месяцев назад
I actually like PHP, it was my very first backend technology which I dabbled with for about 2 months and afterwards jumped into Django with Python which is OK. There is so much you can learn with PHP as your first programming language. I only wish there were jobs for PHP developers in NYC, there are barely no jobs here.
@aarondfrancis
@aarondfrancis 10 месяцев назад
Yeah I wish there were more PHP jobs as well. You might check out larajobs.com if you're open to remote!
@DevlogBill
@DevlogBill 10 месяцев назад
@@aarondfrancis Thank you I will check out the site.
@ditzdee1
@ditzdee1 10 месяцев назад
been an fullstack and backend developer but, currently more interested in backend. PHP is my first language in this industry. while trying other language, I find it's simpler not to think how to manage garbage collector (PHP only keep it until the request is done), and to manipulate array and more of them. Only it's sytax take longer than other few languages. I love this language, but still the market job requrements in my country is rare for this language for backend.
@igorskyflyer
@igorskyflyer 10 месяцев назад
Oh, wow, this is like PHP and JavaScript had a child, love it 😙
@ThePandaGuitar
@ThePandaGuitar 10 месяцев назад
Wow you're a really good teacher!
@aarondfrancis
@aarondfrancis 10 месяцев назад
Thank you. That means a lot
@vinayghael3490
@vinayghael3490 10 месяцев назад
Thanks Aaron for share useful content👍👏👏
@jasper2virtual
@jasper2virtual 8 месяцев назад
I always don’t know should I implement spa backend (php page routing), or spa frontend (restful api + JavaScript routing)? Can anyone suggest a good article or book to guide me the designs decision. Thanks
@christianlembke3410
@christianlembke3410 3 месяца назад
Omg that's amazing, thanks for sharing 😊
@baadrqaaba9529
@baadrqaaba9529 10 месяцев назад
I have done in a project last year and i was quiet surprised how good that was , still have some improvements buts its great .
@dsuess
@dsuess 10 месяцев назад
I love PHP!! Hands down, I'd prefer to do more of the code in PHP and less in React/Angular, especially if this is going to execute faster than JS. Great breakdown, thank you!
@davidstephen7070
@davidstephen7070 10 месяцев назад
this framework built on top JS. So it never execute faster than JS. This framework hides JS implementation. Like Blazor.
@dputra
@dputra 10 месяцев назад
@@davidstephen7070 blazor wasm is different if I understand correctly, they have their own "shadow DOM"
@Dutep
@Dutep 10 месяцев назад
Your videos are awesome! Would love more Laravel+Livewire content :D
@grim.reaper
@grim.reaper 10 месяцев назад
Very interesting, I don’t know php but this is pretty neat concept
@krtirtho
@krtirtho 10 месяцев назад
As a svelte fanboy this thing burns my soul Just imagine storing state in server It breaks REST, frontend and abuses HTTP requests I thought Angular was the worst. This is beyond Angular 😂 Btw, nice video ❤
@aarondfrancis
@aarondfrancis 10 месяцев назад
Nah state is on the frontend it just gets sent to the backend to rehydrate the state on the backend. PHP builds and destroys the world on every request, so there's no stored state
@RockyPrabowo
@RockyPrabowo 10 месяцев назад
Ah yes. This is a typical post-2020 frontend developer saying bullshit about a mature tech they never tried. PHP is stateless by design. It never stores states beyond a lifetime of a request.
@thedailycutline278
@thedailycutline278 10 месяцев назад
As a nextjs dev, Angular aint bad, php is on its own level of being bad
@MrSandvich03
@MrSandvich03 10 месяцев назад
@@thedailycutline278 It's still better than JS
@liquidsnake6879
@liquidsnake6879 10 месяцев назад
You do realise most roundtrip applications are vastly outperforming "modern" SPA crap right? We deal with network latency, you deal with 30 megabytes of javascript bundles and tons of nonsense from libraries you don't even understand blocking your thread.
@fernandoboueres
@fernandoboueres 7 месяцев назад
Laravel Blade has this for some time, great to see expanded in livewire!
@sidatsuarezgarcia5062
@sidatsuarezgarcia5062 5 месяцев назад
Please just make a course on PHP and Laravel, your way of explaining things it´s awesome man!!!!!
@austinedeclan10
@austinedeclan10 10 месяцев назад
I am an "anything but JavaScript" type of guy. I welcome this.
@viragjacint
@viragjacint 10 месяцев назад
No way!!!! I just finished your mysql course! It was epic! Really happy that I found your personal channel! Can't wait to see more videos from you!
@aarondfrancis
@aarondfrancis 10 месяцев назад
You made it! I'm here! Glad you enjoyed the course 🤗
@hamzahakoun1072
@hamzahakoun1072 10 месяцев назад
what is the advantage of making multiple http requests to change an input value instead of using javascript to do that ?
@aarondfrancis
@aarondfrancis 10 месяцев назад
All depends on the use case! You can defer or debounce the input like I mentioned. In reality, you'd be using it for things you would normally need ajax for.
@chriscjjones8182
@chriscjjones8182 9 месяцев назад
Very interesting. Might have to finally check out laravel properly now
@aarondfrancis
@aarondfrancis 9 месяцев назад
Ladies and gentlemen... we got him! ❤️
@MrShaheer
@MrShaheer 10 месяцев назад
You could also use JS on the SERVER SIDE in the early days of web programming in 1999! long before NODE.JS was a thing (IIS supported it. ). You could also write STYLESHEETS with JS. Those were called JSS instead of CSS (Javascript Style Sheet).
@Eloii_Xia
@Eloii_Xia 10 месяцев назад
JSS is a bad thing !
@jefestar
@jefestar 10 месяцев назад
an all frontend and backend in vanilla javascript would be 🔥
@MrShaheer
@MrShaheer 10 месяцев назад
@@jefestar oh yeah. It could have been that, but the support wasnt good enough, only Microsoft supported it and their version wasnt as powerful as Node.
@eugrus
@eugrus 9 месяцев назад
​@@jefestarif that emoji stands for hell 😂
@jefestar
@jefestar 9 месяцев назад
@@eugrus 😂
@adolfomoram
@adolfomoram 10 месяцев назад
I tried for one year, maybe more, I think SPAs are a bit complicated to implement with livewire I also found it hard to work with JavaScript libraries like tagify or file pond, when it reloads it overwrites the state messed up the library. I then changed to Inertiajs and Vue and I am loving it so far...
@aarondfrancis
@aarondfrancis 10 месяцев назад
Inertia is great! I'm a big Inertia fan
@harshwebdev
@harshwebdev 10 месяцев назад
Really i liked your video 💖💖
@mackynyxz
@mackynyxz 10 месяцев назад
I love this livewire thing!
@alaminjumamagoti5045
@alaminjumamagoti5045 10 месяцев назад
Aoran what tool do you use to record both the screen and your face ?
@aarondfrancis
@aarondfrancis 10 месяцев назад
Screenflow!
@DCBlogdev
@DCBlogdev 10 месяцев назад
I love Livewire it’s all a php dev needs!!
@lagcisco
@lagcisco 10 месяцев назад
So much happier our team got rid of NextJS/React/GraphQL/MaterialUI for regular boring vanilla Rails+HotWire+Tailwind+AlpineJS. So much code was deleted and accumulated cruft to support the graphql api and the entire massive React app. We can put out features a lot faster now and even performance improved, less complex deployments as well, wins all around.
@aarondfrancis
@aarondfrancis 10 месяцев назад
The vibes are shifting. We're so back!
@mikopiko
@mikopiko 10 месяцев назад
Turbo frame are something incredible!
@mikopiko
@mikopiko 8 месяцев назад
@@americanhero3881 What is it you don't enjoy with Rails?
@mikopiko
@mikopiko 8 месяцев назад
@@americanhero3881 Oh okey, their design regarding the "convention over configuration" can be hard to work with if you don't fully grasp it.
@celebritydev1
@celebritydev1 8 месяцев назад
I use livewire but when performance matters, I use react. Between, great content.
@dfrontierit2114
@dfrontierit2114 8 месяцев назад
I have been using pure PHP for the past 12 years. All modern frameworks seem so complicated and just reinventing the wheels, by the way these frame works just come and go with the trends. Also the frameworks seem to just cater to the capabilities of the moment whereas all the modern cool features yet work best and simple on pure codes. Also I am literally able to code out a project by the time a person tries to setup and configure frameworks. The long way worked well for me after all than the shortcuts and trends.
@muhammadroushan8906
@muhammadroushan8906 10 месяцев назад
Been using Livewire for an year now - its fantastic!
@devxperienceofficial
@devxperienceofficial 10 месяцев назад
Hey Aaron, thanks for sharing! But what is the big difference between Livewire component and normal blade component?
@aarondfrancis
@aarondfrancis 10 месяцев назад
A Livewire component has a bunch of magic that makes it "reactive" and a blade component does not
@devxperienceofficial
@devxperienceofficial 10 месяцев назад
@@aarondfrancis Thanks :)
@DharmikGohil-bw2ug
@DharmikGohil-bw2ug Месяц назад
Great Video
@ariaieboy_ir
@ariaieboy_ir 10 месяцев назад
TALL STACK for eveeeeeer
@sibow
@sibow 10 месяцев назад
Calm down fascist…😂 Just kidding TALL stack is pretty cool even though I’m a VILT stack kinda guy
@md6886
@md6886 10 месяцев назад
Looks good for simple pages.
@useruser12363
@useruser12363 10 месяцев назад
We are about to start several new projects. I was going to use laravel+Reactjs. But this option is very interesting.
@aarondfrancis
@aarondfrancis 10 месяцев назад
If you're looking at Laravel + React, do look at Inertia.js for that too
@useruser12363
@useruser12363 10 месяцев назад
@@aarondfrancis thanks, I will do.
@behrad9712
@behrad9712 10 месяцев назад
Thank you very much!🙏
@victorpinasarnault9135
@victorpinasarnault9135 8 месяцев назад
Did you saw PHP in a sandbox enviroment with WebAssembly? They did that a few weeks ago.
@underflowexception
@underflowexception 10 месяцев назад
Great video
@neelkamal7837
@neelkamal7837 8 месяцев назад
it's really a nice information
@VictorBorah-Invincible
@VictorBorah-Invincible 5 месяцев назад
I think, I am living in an era defined by "War of the Frameworks". You wake up every morning and find a new missile. Anyway, being from PHP background, I believe, we engineers love to make things fancy and complicated when it can actually be achieved in a much simpler way.
@MarkConstable
@MarkConstable 10 месяцев назад
I would like to have seen the extra download cost of Livewire and Alpine (how big, or not) are they?
@aarondfrancis
@aarondfrancis 10 месяцев назад
Alpine is teeny tiny and so is Livewire. I think Alpine is like 7kb gzipped or something silly like that!
@BartoloIlliano
@BartoloIlliano 7 месяцев назад
PHP is the best language for Web !!! You can build frontend and backend easy, more fast respect React
@imdanielmartinez
@imdanielmartinez 10 месяцев назад
The fact that livewire is made with tailwind too is the bomb
@JonathanRose24
@JonathanRose24 10 месяцев назад
Yikes, this seems kind of crazy. Needing to go to the sever for every minor change feels like a huge over reaction to JS. These sort of changes are really the concern of the client, not server
@aarondfrancis
@aarondfrancis 10 месяцев назад
Eh you can still do stuff on the client, not everything requires a round trip. It's just like Liveview or Hotwire
@JonathanRose24
@JonathanRose24 10 месяцев назад
@@aarondfrancis gotcha, well that’s good at least. Thanks for clarifying!
@cheattube
@cheattube 10 месяцев назад
my plan was using redis at the backend pairing session id and value for glabal state management and frontend alpinejs , buti ll giive a chance to livewire
@ladanski
@ladanski 10 месяцев назад
As a php developer who now does Angular, this looks so familiar.
@aarondfrancis
@aarondfrancis 10 месяцев назад
Yes! Very similar syntax
@cbbcbb6803
@cbbcbb6803 10 месяцев назад
Keep up the good work! We should be able to use any programming language in the browser. LiveWire for C++ or Fortran? Why not? 🤭
@negativerfan
@negativerfan 8 месяцев назад
This is the first time that PHP makes me excited.
@kamalkamals
@kamalkamals 9 месяцев назад
Finally php team weak up , but i guess it still limited and the data binding already exist on other language programming like c# with reactivity value of each variables like in your video, hope in the future php team make more changes :) good video keep up.
@FelonyKNviction
@FelonyKNviction 10 месяцев назад
Not a php dev but I still think this is pretty awesome
@aadamishmael8549
@aadamishmael8549 10 месяцев назад
Awesome! Way overdue.
@lpanebr
@lpanebr 9 месяцев назад
This is awesome.
@pkop4
@pkop4 9 месяцев назад
hard to tell if the livewire namspacing on some of your files and components is due to app name or livewire feature itself. seems using a more unique app name would avoid that confusion.
@kewltune4683
@kewltune4683 8 месяцев назад
Totally love the “hit the dislike button twice” part! Thank you for the great video on this topic!
@windyhen2567
@windyhen2567 26 дней назад
and the poker face while saying it - niceeee
@JasonJA88
@JasonJA88 10 месяцев назад
I'm really loving what HTMX's doing...
@aarondfrancis
@aarondfrancis 10 месяцев назад
Same!
@JoeSmith-kn5wo
@JoeSmith-kn5wo 2 дня назад
Im jumping back into web dev and trying to decide if im going to go with a JS Framework or something like Laravel. I guess i'll play around with Laravel for a week or something and see how I like it. But laravel gives me flashbacks of my Ruby on Rails days.
@werewasyo
@werewasyo 10 месяцев назад
but can the state be so big and complex that it makes livewire/hotwire a bad choice versus choosing something like react/vue?
@wezter96
@wezter96 10 месяцев назад
Does PHP have any reliable way to build web, mobile and server with the same repo with full type safety across the whole monorepo?
@brunoggdev6305
@brunoggdev6305 10 месяцев назад
yes
@aarondfrancis
@aarondfrancis 10 месяцев назад
Mobile I'm not sure about. Haven't done mobile in a while
@wezter96
@wezter96 10 месяцев назад
@@brunoggdev6305 How? :)
@BoolFalse
@BoolFalse 10 месяцев назад
I haven't used php (laravel and stuff) for almost 4 years now, apparently i switched to react and node.. but man, vite replacing CRA and webpack, next.js replacing react, deno and bun replacing node, even during my typing may something had replaced already.. my motivation to learn some stable tech-steck was a lightning talk about JS by Gary Bernhardt from CodeMash on 2012
@OneTwoFf
@OneTwoFf 10 месяцев назад
Awesome video Aaron! I wonder if there is any way to write PHP that runs in the browser?
@OneTwoFf
@OneTwoFf 10 месяцев назад
nevermind, I watched till the end and I quite like the alpine.js approach.
@yousufameer
@yousufameer 9 месяцев назад
Best Explanation
@agiliteach
@agiliteach 4 месяца назад
So gorgeous, I think I'll switch form Symfony to Laravel...
@lakmalp
@lakmalp 10 месяцев назад
This is cool! But, it exchanges a lot of data between the client and the server. It consumes a lot of bandwidth or did I get it wrong?
@aarondfrancis
@aarondfrancis 10 месяцев назад
It's not very much bandwidth, state is pretty minimal. You just have to be thoughtful about which interactions go to the server.
Далее
Make self-healing URLs with Laravel
13:58
Просмотров 38 тыс.
Laravel First Impressions From A JavaScript Dev
21:08
Просмотров 114 тыс.
САМЫЕ ТУПЫЕ МАЖОРЫ С ПАТРИКОВ
33:19
You don't need a frontend framework
15:45
Просмотров 74 тыс.
PHP 8 3 Released
11:03
Просмотров 97 тыс.
I Abandoned Next.js... Again
7:58
Просмотров 3,2 тыс.
Laravel + Livewire todo app (and so much more)
16:41
Просмотров 26 тыс.
Why Don't We Have A Laravel For JavaScript?
12:36
Просмотров 70 тыс.
Would I still use PHP in 2023?
9:51
Просмотров 30 тыс.
Go IS Slower Than PHP | Prime Reacts
5:22
Просмотров 71 тыс.
PHP doesn't suck (anymore)
10:48
Просмотров 194 тыс.
ПК с Авито за 3000р
0:58
Просмотров 1,4 млн
Плохие и хорошие видеокарты
1:00
Fiber kablo
0:15
Просмотров 8 млн