If the application is going to be around longer than 5 years, roll your own MVC or ROA pattern in Java. Write your own DAO and database calls (stay away from ORMs). Keep 3rd party library use down to a minimum, limiting your vulnerability exposure and rewrites due to upgrades.
Ask HN: What stack would you use to build a CRUD web app in 2018?
41–50 of 184 posts
Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#42Twenty years ago, a simple CRUD app would have been written in Visual Basic or Delphi. It would have needed one programming language, and one framework. The tool support would be good: everything would talk to everything else. Heck, you'd even have an IDE with autocomplete! Today, a typical web app requires no fewer than five different languages (JS, HTML, CSS, Python/Ruby/whatever on the server, SQL). And that's bef…
Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#43Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#44For the compute back-end I'd use Serverless Lambda or Google Functions, nodejs.
For the database I' d use Firestore or datastore
For the communication between client and back, I'd use GraphQL.
Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#45Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#46Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#47I re-wrote it last night in the LAMP stack in about 30 minutes. So I would write a CRUD app in PHP in 2018, I would suggest you do too tbh; PHP7 is a joy to work with. For backend framework I'm using https://www.slimframework.com/
Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#48Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#49Re: Ask HN: What stack would you use to build a CRUD web app in 2018?
#50You should not write a CRUD app in 2018. Update and delete are remnants from the times where memory and disk were expensive, and update in place was a necessity. This is no longer the case. Apart from a few very specialised use cases, there is no need any more for update or delete. Record new facts and don’t destroy the older ones.