by stanislavb · 2y ago · 0 comments
Second advice, use Ruby on Rails or Django as a web framework and don't follow after the complexities of JS and other newcomers. Phoenix (Elixir) is awesome but that will require much more efforts and expertise compared to the established and time-tested Rails and Django.
Good luck!
p.s. I'm writing this as a person managing a lifestyle business (LibHunt & SaaSHub).
p.p.s. I'd also recommend getting into the IndieHackers community for inspiration and shared experience.
Thus, a tool is the least important part of a project, while choosing the right tools might be one of the most important decision of a project.
I ask, cause I have a service that is a Rust backend (kind of specialized in what it does) + a SolidJS frontend... But I've seen a potential area for growth, I didn't imagine at first, and that would be stuff like user profiles, authentication, and managing stuff. And I really don't want to cut all this more "CRUD" like stuff in Rust and an SPA. I don't know Ruby, but have done some rather large Python projects in the past, just never ventured into Django land.
It comes with a built in admin portal that lets you work with all your data in list views and detail views, with sorting, filtering, and searching. For a lot of scenarios you can get away with just using the admin portal (like we have accounting people log in there and import CSV files, etc).
It’s great for managing a data model, setting up a database schema and managing the migrations for you. And once that is setup it’s pretty trivial to enable API endpoints to do all the CRUD-style stuff, if needed.
In what ways does Django lag behind Rails or Laravel?
Again, I'm saying this within the context of data heavy web apps.
It's my framework of choice and a secret weapon indeed but let's not pretend it's rails-easy. It's just not.
That wasn't the question though. The question was, which is easier? And let me tell you, you can't beat User.first. Even typing this comment I'm proving my point as I can't remember how to do that in ecto. User |> first() |> Repo.one()? after importing and aliasing a bunch of mysterious (to the beginner) things?
Right tool for the job. If i was building a temporary app, i'd use rails and make very very sure everyone was on board with the idea that it was temporary. I might even sabotage it so it couldn't be used long term (us evil old rails devs have.. tricks). Proper long term infra? elixir.
If you're building a typical CRUD app and don't have a VC-backed budget, just use a Django or Rails.
That's a recipe for a very non-lifestyle business