Live data from Hacker News

The One-Person Framework in Practice

link.mail.beehiiv.com

51–60 of 172 posts

Re: The One-Person Framework in Practice

#51
post #14

Is there any other framework which can claim that it compares well to Ruby on Rails speed of development? I.e. conventions over configurations? Asking as I don’t want to learn ruby

I’m curious if .NET can compare here, though I have limited experience with rails or ASP.NET both seem to give you a lot to work with. Though the overlap of rails devs with .NET devs seems minimal.

I still don't get why .NET barely ever gets mentioned in these threads. Even new or niche frameworks like Phoenix, loco.rs and others get mentioned, but almost never .NET. It's as "convention over configuration" as it gets.

Re: The One-Person Framework in Practice

#52
post #18

Is there any other framework which can claim that it compares well to Ruby on Rails speed of development? I.e. conventions over configurations? Asking as I don’t want to learn ruby

Elixir Phoenix https://x.com/whizzaf/status/1916541502408323313

I've been slowly / occasionally dipping my feet into Elixir / Phoenix dev over the past year or two, building an app idea that's been floating around in my head for a while. It's a bit of a steep learning curve for me, coming mainly from Python land (Django / Flask / FastAPI); I understand that it's designed to be a gentler learning curve for those coming from Ruby / Rails land. Phoenix is also a lot less mature / less feature-complete / less thoroughly-documented (than I had hoped, and) than Django / Rails (many of my Phoenix questions I've only found answers for in the forums, rather than in the official docs). Nevertheless, I agree, BEAM / Elixir / Phoenix is awesome, I'm hoping to get into it more in future.

Re: The One-Person Framework in Practice

#53
post #6

Is there any other framework which can claim that it compares well to Ruby on Rails speed of development? I.e. conventions over configurations? Asking as I don’t want to learn ruby

Django is the closest I can think of. Many unicorns built on Django. Both Rails and Django are horribly slow though, so once you get to some critical scale you gotta start doing some real weird stuff like Instagram did with turning off Python's GC [1], etc. [1] https://instagram-engineering.com/copy-on-write-friendly-pyt...

Most slow queries / endpoints / things can be cached! But, of course, every time you stick a cache in front of something, now you have two problems...

Re: The One-Person Framework in Practice

#54

Excellent write up. I worked with Rails and Phoenix in their early days and got plenty of value from each. If you're building a traditional web 2 app, look no further...similar to choosing Postgres, start there until you have really good reason to venture off. Without taking away anything from these frameworks and as someone that spent over 10 years building app frameworks, sometimes it's not what I want. I'm using C…

It’s funny you mention clojure, cause I when I saw “one-person framework” I instantly thought of Biff. I haven’t used Biff (clojure web framework, does not sound comparable to rails), but there’s a great episode of The Repl with the dev who created it. It’s one of those interviews that reminds you how fun and creative programming can be

Episode 48 for anyone else who's interested: https://www.therepl.net/episodes/48/

Re: The One-Person Framework in Practice

#55

Is there any other framework which can claim that it compares well to Ruby on Rails speed of development? I.e. conventions over configurations? Asking as I don’t want to learn ruby

Laravel. Massive batteries included ecosystem and the mental model for PHP programming fits the web so freaking good. Rails 8 tried to catch up by beginning to shape the first party queue story, while Laravel has been there for a decade and the tools have been vetted at scale.

For a skilled developer who knows any of the major MVC web frameworks, they’re all really productive, just in slightly different ways.

Re: The One-Person Framework in Practice

#56

Excellent write up. I worked with Rails and Phoenix in their early days and got plenty of value from each. If you're building a traditional web 2 app, look no further...similar to choosing Postgres, start there until you have really good reason to venture off. Without taking away anything from these frameworks and as someone that spent over 10 years building app frameworks, sometimes it's not what I want. I'm using C…

I had to google the definition of "stymy".

Re: The One-Person Framework in Practice

#57
I think you're not giving yourself enough credits and you're giving Rails too much.

I know a developer who followed a similar approach in PHP.

A relative of mine is running his company as a single dev in node.js + react.

My company runs on Python.

The key skill is being a good generalist willing and capable to do all the roles you need. Every tech stack can be automated for most small business needs, so that you can reduce the time spent on it.

Re: The One-Person Framework in Practice

#58
post #12

Honojs is another good one. No depdancies. Frontend react as well as SSR included as jsx. Faster than fastify. JS/ES/TS runtime agonstic. Native tsx jsx support.

Those type signatures mismatches on the handler still bring me nightmares.

Hono really needs something like axum's debug_handler

Re: The One-Person Framework in Practice

#59
Let’s be clear - the success is not because of Ruby on Rails.

You could build the same thing with nodes or python or golang or whatever.

There’s nothing special about rails, except that the developers speak like it’s special.

There’s nothing that can be quantified in any tangible way to indicate it’s actually better in any way. Rails has enthusiastic words, but it’s not actually better.

Re: The One-Person Framework in Practice

#60
I'm currently building out an app using AdonisJS. Its billed as a Rails like experience but in node. https://adonisjs.com/

I did a comparison between Rails, Adonis and Fiber (a Go "framework") before settling on Adonis (mostly due to node ecosystem and type safety).

It's been excellent so far, and the creator has an excellent series of tutorial videos that can get you up to speed quickly https://www.youtube.com/watch?app=desktop&v=jf5hHU0KT3Q. The documentation is also good. LLMs can get tripped up by older versions which you need to look out for.

Post reply on HN