4 ms·
I assume you use React but which webframe do you use? Rails or Asp.net core?
by InGodsName 8y ago
I assume you use React but which webframe do you use? Rails or Asp.net core?
- strken 8y agoDepends on the team and the project. I've used Express, Loopback, Golang+Chi, Rails, and Flask for API development; Rails, ASP.NET MVC, and Elixir for web. Not all of those were frameworks that I chose to learn, some were already chosen or already in use when I started.
- InGodsName 8y agoIf you've a choice, what framework would you chose for backend api of react app.
- tracker1 8y agoNot the op. But I tend to favor minimizing friction... to me, if I can use the same language on the front end and the backend, that will be my preference. These days I mostly use JS because in general the friction is so low, and I can modularize my code with very little effort. JS is emphatically NOT the best language for anything... but it's good enough for almost everything.
- strken 8y agoDepends on what I'm building. Rails is fast to iterate on, a cobbled-together Go service is great for specific niches, JavaScript and TypeScript plus an ORM are good all-rounders that can help your team work across different parts of the stack and have interesting possibilities when it comes to sharing logic, and I'd probably build a toy project in Rust because Diesel is pretty interesting. The best answer is usually "whatever your company is already using", and unless there was a compelling reason I'd start with that.