4 ms·
There's javascript in the back. And there's javascript in the front. Curious what you use for application development on the frontend and if you have some recom
by nstart 3y ago
There's javascript in the back. And there's javascript in the front. Curious what you use for application development on the frontend and if you have some recommendations for that?
Thanks in advance!
- keyle 3y agoMost of the stuff we do now we do with "Laravel Livewire". It's quite brilliant really, even for modals etc. "look ma, no javascript!". Of course it does JS for you, you just don't see it. That's my favourite kind of Javascript - someone else's problem. Livewire is a mid-way between front-end backend, it's a progressive back-end with long polling like NextJS I suppose. From your end though, it takes care of all the security of running your own API, and correctness. You basically have dynamic front-end from the backend. If you want a full SPA or you need an application that is very responsive without network requests, I recommend VueJS - Livewire recommends AlpineJS, but of course you might be a React guy, that's fine, and use Laravel as a regular API. You can even use GraphQL if you want to die of a young age, have some weird kinky thing going or you have something to prove... Unless you're Facebook of course you probably don't need GraphQL.
- kaba0 3y ago> it's a progressive back-end with long polling like NextJS I suppose It’s kind of funny that this is the new best thing, when this is almost the same model JSF did decades ago.
- deleted 3y ago[deleted]
- robertlagrant 3y agoIt just had so many other issues with its ergonomics that this nice innovation was lost in the weeds a bit.
- kaba0 3y agoThat I agree with, though I found that for internal admin pages with many forms, there was nothing more productive.
- robertlagrant 3y agoI actually used a product that built on top of it, so my experience is probably worse than yours!