Live data from Hacker News

Ask HN: What stack would you use to build a CRUD web app in 2018?

news.ycombinator.com

141–150 of 184 posts

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#141

I work with startups, so I make this decision every 2-3 weeks or so. Language: Python. Python is easy to learn for those that don't know it, and all-around liked. It's not hard to find engineers with existing experience if you need to grow. Framework: Django. Django does everything you might want in a framework. It scales with larger teams, and the admin is still one of its killer features. Frontend: SCSS/SASS, and v…

All of this except Django, overkill for many small and mid sized projects. I use a lightweight Bottle/uwsgi api to get json into _underscore templates. Up and running in ten mins :)

I have a CloudFormation template that sets it all up for me in about 5 minutes (gets a little tiresome to do the same thing over and over again). Booting an EC2 instance and installing the necessary packages takes the bulk of that time. I spend about 30 seconds setting the project name and domain name, make some coffee, and by the time I'm done everything is up and running. The template sets up the GitHub repository, provisions the entire stack, and sets up auto-deployment, amongst a lot of other things.

Shameless plug: I'm currently looking for beta testers to use this provisioning tool, so if you're interested in trying it out for your stack, send me a note (email in profile).

Another commenter mentioned that EC2 was relatively expensive. Technically, that's true, but the sheer power of being able to automate everything in the infrastructure is pretty awesome.

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#142
post #24

Great question. The funny thing is, 6 years ago, if you'd ask the same question (and I'm guess that's what you're coming from) the go-to answer on HN would've been Rails / Django something. Where both will allow you to build a basic crud app in 20 minutes. Since then, everybody has gone heavily into various javascript stacks, and the norm has become to deal with 20 different packages to build (somewhat) the same thin…

Do you even Docker?

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#143
post #91

Earlier quoted context omitted.

> The landscape got complicated because now we build beautiful and elaborate things As someone who works at a large company which has TONS of crud web apps, let me just say ... No. We don't. We build ugly disasters, badly, with loads of bugs and unusable interfaces. And of course, only very rarely are 2 crud apps built using the same stack. We have everything from Oracle WebForms to Ruby on Rails, to AngularJS on Nod…

As someone who builds SaaS sites the shit I build now are miles more elegant and functional than the apps I used to build back in the Visual Basic days, or even earlier when I was writing software for DOS. We may bitch and moan all we like but the fact is that the average web app of today is way more usable than the average windows app some twenty years ago. I won't argue that the situation with web development is lu…

Well, perhaps it's that I used Delphi back in the days, but I have a different experience. Delphi apps the equivalent of tiny webapps were orders of magnitude simpler.

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#144

Tcl/Tk/SQLite, obv

Tcl/Tk supports doing web stuff?! There's gui frameworks that can produce a web interface and a native gui now?

As a Tcl fan, I was just clowning around; but as a matter of curiosity, there do happen to be a number of possibly-credible Tcl web frameworks. I haven’t done any homework on any of them. https://wiki.tcl.tk/40649

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#145

Twenty 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…

I'd really like to use a tool like Anvil, but my experience with one-click magic solution tools is that it oftens greatly limits the customization options or doing something outside what it's built for.

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#146

If you're using Postgres and want to get something done today, use PostgREST: https://postgrest.com/en/v4.4/ It is the fastest, leanest, and most powerful way to interface to postgres with an API. I've been using Python for 25 years an can tell you with certainty that Django is a slow, leaky, autocommit-infested, memory hogging pile of crap with a degenerate half-ORM that cannot model even the simplest aggregates. ht…

For the API server, unfortunately we don't have better magic frameworks yet. Here I have listed pros and cons of couple of frameworks, and mentioned wishlist for an ideal API REST JSON server

https://github.com/RestyaPlatform/board/issues/1250

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#147
post #7

The boring Java enterprise way, 2018 edition. Back end: Java 9 JVM, Spring Boot web service, Kotlin, plain SQL via JdbcTemplate working with Kotlin data classes, Liquibase for DDL and migrations, Spring caching with redis if need be, Postgres, deployment via docker to AWS Fargate Front end: Angular... but I’d like to try Vue. Nginx and docker to Fargate

I'd like to know what you think of http://jhipster.tech/ . Is it something you'd consider using?

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#149
post #138

You 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.

What should I use to write a CR app?

Probably Object Oriented

Re: Ask HN: What stack would you use to build a CRUD web app in 2018?

#150

I work with startups, so I make this decision every 2-3 weeks or so. Language: Python. Python is easy to learn for those that don't know it, and all-around liked. It's not hard to find engineers with existing experience if you need to grow. Framework: Django. Django does everything you might want in a framework. It scales with larger teams, and the admin is still one of its killer features. Frontend: SCSS/SASS, and v…

I picked all of these things for my startup 6 months ago except I'm using Vuetify with Vue. just like it doesn't make sense to rebuild everything that Django provides it doesn't make sense to rebuild all the UI components Vuetify provides.

what does this mean in English?
Post reply on HN