Live data from Hacker News

The One-Person Framework in Practice

link.mail.beehiiv.com

111–120 of 172 posts

Re: The One-Person Framework in Practice

#111

I'd need the opinion of someone who's worked with other acclaimed technologies (his was PHP) to tell me that Rails is indeed that much better

Developer experience and the choice to keep complexity low make a much bigger difference. The things Rails solves for you are, these days, solved problems in all mature languages that are used in web development

(coming from close to a decade of Rails experience on my end)

Re: The One-Person Framework in Practice

#112
post #96

Earlier quoted context omitted.

I found the lack of 1st party auth system annoying. Phoenix, for example gives me a nice starting point (even magic links soon). Adonis for all its features, turns me to what I hate. The JS auth implementations.

Yeah, dealing with auth can be painful. The adonis provided auth and bouncer do a decent job of abstracting some of that away, but like most js implementations, it's got rough edges (the docs and vids really help). I'm not familiar with Elixir/Phoenix, but from reading other recommendations in this thread and after having a quick look, I need to take a closer look :-)

Is there a 1st party auth package? I can't remember any - They were guiding you to the adoniscasts videos, which some are paid. Very hard to get traction like this.

Re: The One-Person Framework in Practice

#113

Earlier quoted context omitted.

I've always seen it spelled stymie, was pretty surprised that stymy is legit and apparently is the American English way of spelling it.

As an American, I've never seen that spelling, and I can't find much evidence that it's an accepted spelling. I'm curious how you came to that conclusion. "Stymy" doesn't appear in Merriam-Webster [0] nor the OED [1]. Wiktionary [2] and Dictionary.com [3] do list it as "variant" or "alternative" spellings, but with no indication that it's an American spelling. [0] https://www.merriam-webster.com/dictionary/stymy [1]…

Reading through the list of Google web search results, collinsdictionary.com said it was American English. I should have put my faith in chatgpt instead of google search.

Re: The One-Person Framework in Practice

#114
post #52
post #18

Earlier quoted context omitted.

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 / le…

I had the opposite experience coming from Django/Flask to Elixir/Phoenix. I found it very comfortable and that there were many similar patterns at the framework level. Now, LiveView is a bit of a different story but basic Phoenix routing and views seem quite similar to Django routing and views. Ecto's model schemas have a decent amount of overlap with Django's model objects.

Was it the LiveView stuff that felt foreign? I'd agree there's a learning curve there as someone coming from Django.

Re: The One-Person Framework in Practice

#115

I don't know if the framework really matters that much? Just choose anything popular and there should be plenty of help available. I've been using Laravel for about 11 years now. I hate it, but it keeps on trucking along so I've resisted the urge to do a complete rewrite. I don't think anything is particularly slow to develop. It's the business side of things that's the hard part.

If you hate it, don't torment yourself....make a business case to switch. Better developer productivity is a thing.

Re: The One-Person Framework in Practice

#116
post #9

Earlier quoted context omitted.

Django is more or less Python's equivalent of Rails. Its admin panel is nice, especially for a solo developer trying to manage something they built in a weekend.

Is there an equivalent of the Django admin panel in the PHP (Laravel/Symfony) world?

Filament, and it’s fucking awesome. I think it’s way better than Django’s admin panel, and I’ve used it to build out both my Laravel admin panel and basically all of the UI for users.

Re: The One-Person Framework in Practice

#119
post #95

Earlier quoted context omitted.

Mind to share why? As someone who likes Rust, has one project (web based) in production in Rust, and considering starting another one, I'd be glad to learn from the experience of other people.

I have several apps in production. I employ sqlx, axum, async_graphql, React frontend. So far I don't know any better way of doing it and I have tried all the classic ways like PHP, Django etc. This is way superior. The only downside is that I am the only one who can touch the backend, but I guess if some of the projects grows enough, there will be enough incentives to find another Rust programmer besides me.

Yes, this mirrors my experience as well. It's just every time I see someone who "quits" Rust in order to go back to Ruby/PHP/Python, I'm interested to know what part they were struggling with.

Re: The One-Person Framework in Practice

#120
post #108

I don't have any experience in Rails, but similar experience with Django. I am running several apps on my own, while still working elsewhere full-time. The largest one has around 250 views, of maybe 80 are just basic admin views. It is basically comparable to an ERP of a medium-side company with various levels of permissions etc. I was able to get most of the functionality into production in just one month -- I was n…

I'm not a huge fan of Ruby, but even if you admit that Rails is superior to Django, it would be a hard sell to invest in Ruby ecosystem instead of Python I'm doing something similar to OP with Django right now

> , it would be a hard sell to invest in Ruby ecosystem instead of Python

Why? The Ruby ecosystem is great, as good as ever. What do you think it's missing?

Post reply on HN