Live data from Hacker News

Ask HN: Go-to web stack today?

news.ycombinator.com

321–330 of 453 posts

Re: Ask HN: Go-to web stack today?

#321
If you want to bring complex applications to market quickly then use .net Core for the backend, Vue for the front end, Postgres for the db server.

We researched this to death recently and unless you have prior affinity or are saddled with technical debt the time has come to ditch React, Angular and Node for new from scratch development.

Re: Ask HN: Go-to web stack today?

#322

- On the frontend, use React with TypeScript. Create React App now makes it dead easy. Just do: npx create-react-app myapp --typescript - Do not use redux until you know React well. You might not need it. If you do need it, use `redux-starter-kit` offered by the core Redux team. - For backend, just use Django (or Rails). Elixir's Phoenix is also very well thought out. - If you use node: express, sequelize. Async/awai…

I also wouldn’t forget to mention GraphQL. Once you get a hang of it, it’s just beautiful to use. Hard to go back. If you use Sequelize with node you can hook it up in a morning.

Re: Ask HN: Go-to web stack today?

#323

Storage: Postgresql Backend: Go (no framework, just the standard library) Frontend: Vue Working great so far. A little longer to get things up than using Rails/Django, but the extra speed and control is really nice. Using Go's templating engine to assemble Vue components into HTML tags works well.

Sounds interesting cause I like to use Go everywhere. Do you have any example we could look at? Thanks.

Re: Ask HN: Go-to web stack today?

#324
GRANDstack: GraphQL, React, Apollo, Neo4j Database.

The neo4j-graphql integration allows you to drive everything (including the database) from GraphQL type definitions. Resolvers are auto-implemented so no need to write boilerplate CRUD operations just to get your app up.

There’s a starter project here that bundles everything together: https://grandstack.io/docs/getting-started-grand-stack-start...

Re: Ask HN: Go-to web stack today?

#325

- On the frontend, use React with TypeScript. Create React App now makes it dead easy. Just do: npx create-react-app myapp --typescript - Do not use redux until you know React well. You might not need it. If you do need it, use `redux-starter-kit` offered by the core Redux team. - For backend, just use Django (or Rails). Elixir's Phoenix is also very well thought out. - If you use node: express, sequelize. Async/awai…

Would recommend Vue as a front end framework. It’s much simpler than the others, and every web dev I spoke to in 2018 recommended learning it. Backend, Flask for smaller stuff, moving up to Django or maybe Go for bigger stuff. Database Postgres. YMMV depending on what you’re doing, but the above is a good bet if you want to make the project accessible to other programmers, and it doesn’t need to quickly scale.

The biggest benefit of Vue isn't necessarily Vue itself, it's Vuex. Contrary to React, you do use the store from the start because it makes things simpler.

Re: Ask HN: Go-to web stack today?

#326

- On the frontend, use React with TypeScript. Create React App now makes it dead easy. Just do: npx create-react-app myapp --typescript - Do not use redux until you know React well. You might not need it. If you do need it, use `redux-starter-kit` offered by the core Redux team. - For backend, just use Django (or Rails). Elixir's Phoenix is also very well thought out. - If you use node: express, sequelize. Async/awai…

We've been following this stalk for quite a while and are super happy with it. But there's huge downside: It's really hard to find Django/ Python engineers - let alone phoenix devs. Right now I'm considering a move to JVM. But the frameworks i've seen are all far behind Django. Any thoughts?

What features from Django are you missing and in which frameworks? Comparing Django(admittedly, from few years ago when I worked with it) with Spring, I'd say the latter is more feature-rich and way more customizable because of its modular design. Unfortunately, it's also much more complex and setting up a new project properly with all can be overwhelming so if you want to play around with it I'd recommend to start with JHipster template - it generates a React/Angular SPA with backend in Spring.

Re: Ask HN: Go-to web stack today?

#327

For static websites, https://getstatik.com/ For “dynamic” websites, Mithril ( https://mithril.js.org/ ) and Redux written in Haxe ( https://haxe.org/ ) on the front end with Rocket ( https://rocket.rs/ ) and SQLite on the backend, proxied behind nginx with Let’s Encrypt on the backend. Personal projects hosted on a VM at Linode, company projects hosted on VMs at Google Cloud. It’s a somewhat unique stack but I love i…

That is a very interesting stack. Thanks for pointing to statik and mithril, I didn't know about them.

Re: Ask HN: Go-to web stack today?

#328
post #319

Earlier quoted context omitted.

Would recommend Vue as a front end framework. It’s much simpler than the others, and every web dev I spoke to in 2018 recommended learning it. Backend, Flask for smaller stuff, moving up to Django or maybe Go for bigger stuff. Database Postgres. YMMV depending on what you’re doing, but the above is a good bet if you want to make the project accessible to other programmers, and it doesn’t need to quickly scale.

Just my experience, but every comventional web app I've worked on that used Flask ended up recreating a lot what Django does, but in a less standard way that took more time to develop and onboard new people for.

I have the same experience with Sinatra and Rails. A small app in Sinatra grew larger than expected so we added gems basically recreating Rails... Lesson learnt, going with rails new now!

Re: Ask HN: Go-to web stack today?

#329

PHP /laravel and react.

Laravel even more then rails and django comes with pretty much everything you need for modern web dev built in. Full auth system, feature and unit test infrastructure, background jobs, push notifications integrated with a scalable third party websocket service, integrated with vuejs, webpack wrapper and more. It also has a prebuilt development VM that has supporting services such as mysql and redis or you can use various docker solutions for that. There is also excellent laracasts video course platform with free series on getting started with laravel and there is also codecourse video casts that has examples of full blown websites built with laravel

Re: Ask HN: Go-to web stack today?

#330
post #311

Backend: Clojure Datomic Luminus Frontend: ClojureScript Regent Datascript Datsync Some advantages: Immutability down to the database Database reads scale horizontally Impossible SQL injection from reading API Cache TTLs can be set to infinity Can ask for data at any point in time or do speculative writes Same programming language front and back Running queries within loops are performant due to data locality Query r…

This is very cool and certainly unique compared to some of the other responses. How much have you used this in production? Have you worked at companies that do?
Post reply on HN