Hi, as title says, what framework do you use and why?
I have time to learn something new, but I can’t decide whether to use Svelte or React or any other thing there is… My current job required PHP, Laravel and Codeigniter, which I kinda mastered but I feel that I need to move on.
So from your perspective and experience, which framework do you prefer? Can you maybe send me your favourite tutorial guy that does not have long boring videos just to have watch time ? (I don’t want to sit around and watch someone do it, I want to do it, videos are just for entertainment)
I want to learn something, but not decided yet what to use. Thanks for any advice.
Phoenix LiveView, because it let’s you do 95% of the functionality of an SPA solely on the backend
deleted by creator
You can try a JS frontend framework, Vue for example. You may not like it, but it is worth to try at least
PHP seems to be getting a lot of positives lately, especially Laravel. Many years ago I moved from PHP to Python and Django to now also use a few other Python frameworks like Flask as well. On the frontend, I’ve used Ember.js for two big SPA dashboards and also Vue 3 for WebSockets and API-based dashboard. With the dashboards bias, I would not pick anything that doesn’t have a good data layer :)
Recently I’m also into static site generators like Astro and 11ty which are kinds of frameworks that generate a static site but the effect can be quite lively edited website through various git based headless CMS systems.
More important than learning a framework is to learn how things work beneath the frameworks. Try doing a project without frameworks. Who knows. You might even like it.
this is how I like to do my personal projects. And I can always pull in Alpine.js or HTMX if I need to as the project progresses
HTMX
I’m glad this style of frontend coding (where you use a prebuilt JS library that handles common interactions through simple configuration, rather than writing custom JS) is coming back into fashion. It was common 15-20 years ago, and as web apps became heavier and heavier, I started to think it was a good idea again.
For quick overview of frameworks… there is Brad Traversy and Jeff Delaney (Fireship)
Shop around and pick a few to try out then dive down when you finally find a framework you like ¯\_(ツ)_/¯
HTML::Mason