Earlier quoted context omitted.
+1 for good old Java, rock solid and just works for so many large, mission critical, and high performance (!) systems. As for vaadin - how far can u get without the pro version? None of the samples include a login, and the LoginView seems to be a PRO feature? It looks full of features.
Vaadin is very nice but I would only recommend it when you can afford to keep the state server side. Vaadin works best when you can use sticky sessions
Ask HN: Easiest way to build a CRUD app?
191–200 of 239 posts
Re: Ask HN: Easiest way to build a CRUD app?
#192I made it because I was tired of spending months designing beautiful interfaces, only to realize I was only 30% done with building a full app -- it was exhausting.
So I thought of a simpler way to create a dynamic app: treat HTML as a data structure.
---
Here's how to use it:
Tag your HTML elements as editable and/or containing data.
The syntax for this is simple:
I am an editable page title
This gets converted into: { "pageTitle": "I am an editable page title" }
---Based on just some HTML templates marked up in this way, you'll get a full application with user accounts baked in -- where each user can edit their own copy of the HTML templates you made, filling it with their own data.
It's a super-fast way of building an application with multiple users, when all you have is some HTML and CSS. And it only requires learning ~8 custom attributes to build some pretty powerful apps [1]
---
Here's how it works behind the scenes:
1. The framework scans through the page, converting nested HTML into nested JSON data
2. The framework saves this JSON data to the current user's account
Pretty simple, right? I've spent years improving the syntax and behavior to make it really easy to use. I'd love your feedback.
I even made a client-side-only version, so you can test it out without installing anything [2]
---
Re: Ask HN: Easiest way to build a CRUD app?
#193I'm reading this as a CRUD GUI app. Definitely Ruby on Rails coupled with Avo (shameless plug). It literally takes you less than an hour to create a realistic usable CRUD app (that would take you at least a few days in the traditional way) without learning anything new. Generate a DSL (a Resource) and add one line per field. Avo knows how to read and display in a rich way, handle creating/updating records using your…
Except ruby is dead for literally anything else, so the moment you need it for anything else you're combining languages.
Re: Ask HN: Easiest way to build a CRUD app?
#194Not sure if this qualifies but hasura[1] sounds like it would work well. It’s not REST and you could consider it to be a dependency but you wouldn’t have to write any code and you could deploy it using a docker container. [1] https://hasura.io/
Re: Ask HN: Easiest way to build a CRUD app?
#195I’m surprised nobody had said MS Access. You don’t need to learn any programming languages, it comes with everything you need, and every Access app has lasted way longer than anyone wanted it to. ;)
If Access had straightforward (ideally one-click), rock-solid tools for web deployment, it would be the killer no-code app.
Re: Ask HN: Easiest way to build a CRUD app?
#196Re: Ask HN: Easiest way to build a CRUD app?
#197I would answer at the meta-level - pick the framework in the language you know best. If you are already fluent in Python, use Django. PHP; Laravel? Etc. The benefit of using the “best” CRUD tool (if there even is one) is far less than the cost of learning a new language these days. When Rails first came out, it was so much better than anything else that it was worth it to learn Ruby just to use that toolchain. Nowada…
This is good advice. Django, for example, isn't the hottest tech on the block by far, but that's not necessarily a bad thing. Where some see bloat, others see maturity. There are a lot of QoL features like the ORM, forms etc. etc. that make django a very stress-free option. Also, HN sometimes has a derisive attitude towards turbo-like variants, but still, `htmx` is an objectively good pairing with django as well. It'…
Re: Ask HN: Easiest way to build a CRUD app?
#198Earlier quoted context omitted.
This is good advice. Django, for example, isn't the hottest tech on the block by far, but that's not necessarily a bad thing. Where some see bloat, others see maturity. There are a lot of QoL features like the ORM, forms etc. etc. that make django a very stress-free option. Also, HN sometimes has a derisive attitude towards turbo-like variants, but still, `htmx` is an objectively good pairing with django as well. It'…
Can this be done while substituting Elixir for Erlang?
Re: Ask HN: Easiest way to build a CRUD app?
#199.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.
Re: Ask HN: Easiest way to build a CRUD app?
#200Earlier quoted context omitted.
I love Heroku but build packs are a nightmare. Getting the right libraries installed so I can process HEIC images is frustrating. I should be able to check a box to get this kind of support.
Heroku also supports docker containers if that’s more your style.