For me it is Clojure(script) + libraries, no frameworks.
Ask HN: Fastest/easiest framework to build a web application in 2020?
81–90 of 93 posts
Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#82https://www.simplecto.com/django-my-go-to-application-framew...
Following on that, enough HNers have laid out the Django story, but I want to give some more depth to it. This is my entire stack:
- Linux Server/VM Hosted anywhere (I like Azure, Digital Ocean, or Scaleway) - Docker. Just plain docker - Postgresql running in docker - Django in a container - Intercoolerjs for easy and slick Ajax-like front-end work - Traefik for reverse proxy and TLS with LetsEncrypt - Sentry for catching production bugs (easy three-lines added to your config) - Bitbucket pipelines for CI/CD
For smaller projects I run tests locally in docker containers and then push directly into produciton. I dont bother with full CI/CD because I don't need the complexity of it all.
Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#83https://wordpress.tv/2019/04/23/corey-maass-build-a-web-app-...
There are a number of large web apps that use it, so it's not just for MVP's. I also heard the book "Building Web Apps with WordPress: WordPress as an Application Framework" will be getting a second edition this year.
It's not the coolest, shiniest option, but a solid one, I think.
Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#84Earlier quoted context omitted.
Do most people actually use a js front-end and a rest backend? It's still brittle, it's still user hostile and it's still slow. Seems like a massive waste of time and a vanity project to me. I'm still mainly doing server-side templates coupled with complicated js widgets when I really need them.
A js front end itself (versus templates) is probably a wash for most use cases, but the benefits of having a REST back end that imposes a clear separation between the front end and the back end is enormous. IMHO the benefits are big enough to make it worth re-writing the front end over again every 5 years until the front end folks eventually get their act together. Just try to make sure you're doing as little logic a…
Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#85- Front-End: Vue.js with Bulma.css - Webpack/Gulp for building JavaScript/SCSS. (I have the blueprint here: https://github.com/omarabid/front-root but there is still no docs and rough edges). The website is/will always be static files generated by Gulp. First frontier for scaling is eased.
- API: I use a GraphQl server. This avoid the mess that is RESTful. It also give me a nice explorer, so I can make my application and be able to roughly work with it before I have an interface ready. This part is also easy to scale.
- Application: Rust. Technically, you can use anything here. But since I don't have any web components (the site is static and the API is served through GraphQl) then I use Rust which I find very productive. Rust generates a compiled program which run inside a container and makes deployment more enjoyable.
- Database: Postgres/Redis.
- Deployment: Everything runs in a container. I use Hashicorp software for deploying and orchestrating the servers. Terraform if I have a simple single server app. Or Consul/Nomad/Vault if I'm running multiple servers.
It might sound complicated but beyond the initial investment to set things up, you have a stable/reliable micro-services app.
Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#86My personal picks would be: - React for the front end ( https://reactjs.org ) - Node.js for your back end ( https://nodejs.org ) - Deploy using Adapt, which ties your front and back end together using React-like components. ( https://adaptjs.org ). - (Optional) If this project is larger or commercial, definitely use TypeScript on all 3 of the above ( http://www.typescriptlang.org/ ) [Disclosure: I'm a maintainer of A…
Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#87Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#88Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#89Re: Ask HN: Fastest/easiest framework to build a web application in 2020?
#90If you know JS, just stick to Node + Express.
I stick to Go or Node for the backend, and create-react-app for the web client. I prefer Go in most cases because I don't need to rely on many external deps, and I have my own starters for both Go and Node to create services quickly (rest, real time, assets, data/repository)