Framework of Your choice and why

3 years ago by BigChungus to c/webdev

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.

silas 14 points 3 years ago

I went from React → Vue → Svelte

Svelte/SvelteKit is just so simple to use and feels closer to vanilla JS/HTML/CSS that I find myself missing it when I use the others. SvelteKit supports SSR, so if you’d like you can build out your whole backend API as well.

Svelte has an awesome interactive tutorial you can jump into right away

Come hang out at !sveltejs@programming.dev if you have any questions!

path: 0 4166517, hotness: undefined, score: 14, children: 2
esscew 1 point 3 years ago

Also did the same and am on solidjs atm. It's been quite a journey.

path: 0 4166517 4169610, hotness: undefined, score: 1, children: 1
arran4 1 point 3 years ago

Done the same, can you sell "solidjs" given that?

path: 0 4166517 4169610 4208631, hotness: undefined, score: 1, children: 0
TootSweet 11 points 3 years ago

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.

path: 0 4157131, hotness: undefined, score: 11, children: 2
0x1C3B00DA 2 points 3 years ago

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

path: 0 4157131 4160113, hotness: undefined, score: 2, children: 1
dan 2 points 3 years ago

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.

path: 0 4157131 4160113 4171036, hotness: undefined, score: 2, children: 0
hyperspace 5 points 3 years ago

Phoenix LiveView, because it let's you do 95% of the functionality of an SPA solely on the backend

path: 0 4160746, hotness: undefined, score: 5, children: 0
kassuro 4 points 3 years ago

Can't recommend Vue 3 enough. It's so much fun to work with, the ecosystem is also caught up after the slow transition. The official docs are very good.

As for the backend try out go-lang or the newer java frameworks.

path: 0 4160652, hotness: undefined, score: 4, children: 0
Pencilnoob 3 points 3 years ago

I like React because these days it's pretty well known and just about anything I need I can find easily. There's newer similar tools like Vue, or entirely different approaches like Next, but React remains a dominant choice for the time being. I'm sure fashion will move the industry along soon enough, but none of the newer tools I've seen really are such a huge leap forward that I couldn't get stuff done in a few days of prep and tutorials. So for now, I'll stick with react until I need to move or a client requests it.

For backend I'm increasingly preferring simple Restful APIs. If it can map an endpoint to a function and convert JSON into a dictionary or object, it's probably good enough. I just wrapped up a project in ASP.Net Core and that pretty much just got out of the way and let me make web API endpoints.

path: 0 4158606, hotness: undefined, score: 3, children: 0
spunkycomics 3 points 3 years ago

If for any reason you wanted to stick with PHP, Symfony + Doctrine has been a delight to work with. For JS projects I pretty much always go Node for easy startup, but the frontend changes based on project needs and my whims.

path: 0 4155572, hotness: undefined, score: 3, children: 0
railsdev 3 points 3 years ago
path: 0 4168346, hotness: undefined, score: 3, children: 0
echindod 2 points 3 years ago

I am interested in Hyperfiddle/Electric, I haven't used it, buts a closure framework where you can call front end and backend functions from the same function, it passes data with streams. Really interesting, someday when I have tons of time I'll look into it

path: 0 4175373, hotness: undefined, score: 2, children: 0
riklaunim 2 points 3 years ago

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.

path: 0 4279037, hotness: undefined, score: 2, children: 0
g6d3np81 2 points 3 years ago

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 ¯\_(ツ)_/¯

path: 0 4182093, hotness: undefined, score: 2, children: 0
yogsototh 1 point 3 years ago

I would use reagent and reitit if I had to start a new project. But the best tools are generally not the most popular (unintuitively).

path: 0 4184041, hotness: undefined, score: 1, children: 0
shasta 1 point 3 years ago

Angular is what I use almost exclusively. It feels to me to be the most framework-like framework. React and Vue just feel like hacky JS shortcuts in comparison.

path: 0 4159989, hotness: undefined, score: 1, children: 0
starman 1 point 3 years ago

You can try a JS frontend framework, Vue for example. You may not like it, but it is worth to try at least

path: 0 4158197, hotness: undefined, score: 1, children: 0
stefstef 1 point 3 years ago
path: 0 4155553, hotness: undefined, score: 1, children: 0
knobbysideup -1 points 3 years ago

HTML::Mason

path: 0 4157067, hotness: undefined, score: -1, children: 0
webdev
webdev

@programming.dev

login for more options
5887
903
336

Welcome to the web development community! This is a place to post, discuss, get help about, etc. anything related to web development

What is web development?

Web development is the process of creating websites or web applications

Rules/Guidelines

  • Follow the programming.dev site rules
  • Keep content related to web development
  • If what you're posting relates to one of the related communities, crosspost it into there to help them grow
  • If youre posting an article older than two years put the year it was made in brackets after the title

Related Communities

Wormhole

Some webdev blogs

Not sure what to post in here? Want some web development related things to read?

Heres a couple blogs that have web development related content

Credits

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

go to feed...