Live data from Hacker News

Ask HN: Easiest way to build a CRUD app?

news.ycombinator.com

51–60 of 239 posts

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

#53
Building a CRUD app is easy. You can write it in any number of languages, I wrote them in Turbo Pascal back in the 1980s.

Then you mention "static site generator", which implies the web, and all the layers that come with it. That will never be easy, nor stable.

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

#54

I would consider Django and just using its Admin framework for building your UI, you can achieve so much very quickly with almost no code. I believe it’s a brilliant tool for building internal CRUD type db apps. Knowing how to use the admin framework well is basically a developer super power. You won’t need any external libraries, it has brilliant docs and important tools like database migrations are built in.

I'm not a python/Django developer but I'm playing with it for my personal project. It's really nicely made, a lot of things are very easy to do,etc. Couldn't recommend enough.

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

#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 later recompile it with graalvm [3] and produce a single, static binary, like cool kids these days does with golang and rust.

[1] https://vaadin.com/

[2] https://start.vaadin.com/app/

[3] https://www.graalvm.org/

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

#57

I find it a little disappointing that everyone (including the OP) assumes a CRUD app must be a web-application. In a web-application you are NECESSARILY breaking, in all but the most exotic cases, the "multiple programming/scripting languages to learn" AND "external dependencies" requirement. Almost always, the "simple and resilient, can last for a long time" requirement goes out the window as well. If the requiremen…

>I find it a little disappointing that everyone (including the OP) assumes a CRUD app must be a web-application.

Because in the modern era cross device compatibility is a requirement, not an option. And the only truly universal write-once-run-everywhere VM in existence is the web browser.

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

#59

.NET, razor pages, sqlite, entity framework. Its hard to build anything non-trivial with a gui without involving a few languages these days. You can package your .NET server as completely self contained and run it on anything, just need a web browser. Edit: python might get you close with a simple html framework.

.NET Core and Razor Pages are a solid option!
Post reply on HN