d33pjs,

"Quick" Question: If you would build a new #web #application, what would currently be "the best" development language and/or #framework (#webframework) for that?

"Best" as in reliable, #secure, easy to get personal and future proof?

Would it be #python with #django or #rubyonrails or #php #symfony or something completely different?

mo8it,
@mo8it@fosstodon.org avatar

@d33pjs For the backend, I would go with #Axum in #Rust. I have multiple backends written in it and the result is a single binary that has the highest performance and uses under 12MB of RAM!

I used Flask before and I can't imagine going back to Python. It is very slow, consumes a lot of RAM and isn't reliable because of the missing strong type system that Rust provides.

I have an Axum tutorial to get a taste 😇
https://mo8it.com/blog/getting-started-with-rust-backends/

#RustLang

livingcoder,

@d33pjs I choose #Rust for everything these days. I love it.
For any kind of web project (website, API, etc.) I just go with the tide and tide-jsx crates for request/response management and constructing HTML components respectively. I love the progress that Leptos is making, but I just don't have any experience making something with it. I've heard great things about actix, axum, and rocket but I haven't had time to dive into them much either.
Tide is super light and simple, leading me to getting out my APIs and web projects quite quickly. With me making my own projects at home just for myself, getting something done fast is important because otherwise it might not get done at all.

Crell, (edited )
@Crell@phpc.social avatar

@d33pjs The biggest factor, honestly, is what you already know. I'm very experienced in PHP, so my go to, if I have the option, is Symfony or ApiPlatform (built on Symfony). There's little I can't do with that.

I'd reach for something else if I need very high performance for many tiny requests. Say, getting telemetry data. PHP's shared-nothing isn't as helpful there. I'd go Rust.

Or for complex IO intensive, you want async or threads. I'd use Go or Rust.

Day job is Kotlin Spring Boot.

Crell,
@Crell@phpc.social avatar

@d33pjs For front end, start with plain boring HTML, add a few web components as needed, and if I get really fancy, HTMX. I actively avoid heavy front end frameworks.

danjac,
@danjac@masto.ai avatar

@d33pjs depends on requirements and time. For most cases Django and htmx.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • web
  • ethstaker
  • DreamBathrooms
  • mdbf
  • InstantRegret
  • ngwrru68w68
  • magazineikmin
  • everett
  • thenastyranch
  • Youngstown
  • slotface
  • cisconetworking
  • kavyap
  • osvaldo12
  • modclub
  • megavids
  • GTA5RPClips
  • khanakhh
  • tacticalgear
  • Durango
  • rosin
  • normalnudes
  • Leos
  • provamag3
  • tester
  • cubers
  • anitta
  • JUstTest
  • lostlight
  • All magazines