Live data from Hacker News

Ask HN: Easiest way to build a CRUD app?

news.ycombinator.com

141–150 of 239 posts

Re: Ask HN: Easiest way to build a CRUD app?

#141
post #56

I'll probably be a minority here, but I'd say: java + Vaadin [1] + raw jdbc (no ORM nonsense). On Vaadin site, you can use starter [2] to create an app template. There is no need to write javascript; most Vaadin code looks like good old desktop programming. Due Java stability, that thing will run forever and will be performant. If you want to be "cloud native" (or whatever cool name now is) in the future, you can lat…

+1

Backend: Java, C#, F#

Frontend: Svelte, React

Deployment: AWS with Pulumi

This yields to a pretty good TCO.

Re: Ask HN: Easiest way to build a CRUD app?

#142

If you're going to be doing anything more complex than form validation and CSS animations on the client, you're going to need JS. If it's a constraint that there must only be one language then you have to use JS on the server too. Nowadays the best experience with full stack JS is a full-stack framework like Next.js, Next or the one I recommend, sveltekit. You can easily write client pages & server routes Next to eac…

You could also go long on client side JS and use Firebase

Re: Ask HN: Easiest way to build a CRUD app?

#144

If you're going to be doing anything more complex than form validation and CSS animations on the client, you're going to need JS. If it's a constraint that there must only be one language then you have to use JS on the server too. Nowadays the best experience with full stack JS is a full-stack framework like Next.js, Next or the one I recommend, sveltekit. You can easily write client pages & server routes Next to eac…

Don't listen to this guy, next and svelt are basically legacy at this point. You need remix or solid js. Or wait three months for Naxt or Angular 3.

Jokes aside.

Django Rails Laravel Phoenix < Elixir

Re: Ask HN: Easiest way to build a CRUD app?

#148
No, you don't need a humongous framework.

Install Node.js and an SQLite adapter. Learn to use the standard HTTP/S module. Write plain ol' JavaScript for the frontend and don't make it a SPA. Unless the app is getting a ton of traffic or has a lot of pages, there's no reason it can't be about that simple. In that case you only need 1 language and the only dependency is whatever you use to read/write to an SQLite database. No need for Rails, Laravel, Django, or anything that fancy.

On the other hand, one of those frameworks may be what you're looking for. I'm just saying it could be a lot simpler than that.

Re: Ask HN: Easiest way to build a CRUD app?

#149
If you want something that does not require much maintenance or external dependencies, I would lean towards a hosted data store from an established provider. Google Cloud Firestore [1] is just one example and I know there are others in the same vein.

[1]: https://firebase.google.com/products/firestore

Re: Ask HN: Easiest way to build a CRUD app?

#150

Lots of variables in your question. For simple stuff I am a big believer in building backends with tools like Strapi, it's hard to beat for MVP For more customized stuff I do believe Rails is still the safest choice in terms of ease of use, docs, learning resources, community, available libraries and integrations, etc. etc. Close 2nd/3rd probably something like Django or Express.js based stuff. For more complex stuff…

it's relatively easy to do simple stuff in Phoenix, too, especially if you're used to "having to learn a lot of the ceremony" around a more heavyweight framework like rails.

What is missing is a good database management system (like Django ships with) but on the other hand, the discipline of Phoenix will in the long run avoid your self/staff learning how to "abuse" Django's control panel to do super dangerous stuff (I have seen this happen in several places I have worked)

In the long run, using elixir the language will have far, far fewer head-bashing-in/tableflip moments than, Python and Ruby, in my experience, so if you value your sanity it may be a good choice

Post reply on HN