Live data from Hacker News

Ask HN: What would be your stack if you are building an MVP today?

news.ycombinator.com

571–580 of 736 posts

Re: Ask HN: What would be your stack if you are building an MVP today?

#571

After working with the PETAL (Phoenix, Elixir, TailwindCSS, Alpine.Js, Liveview) stack at $JOB for a while now, I have to say I've never been more productive. Early on I would still have to lean on Alpine heavily for various JS interactions but with all the features Liveview has been adding and improving on (Hello JS module!) I find myself needing it less and less. Liveview really has been a game changer for me. Tail…

Adding my vote here. Throughout my career I've gone the C#.NET -> RoR -> Clojure -> Elixir/Phoenix route. After spending a year with Elixir, iterating rapidly on a production system, I'd default to it for any MVP or serious project going forward.

LiveView is also very close to becoming default over React for interactive Frontends.

Re: Ask HN: What would be your stack if you are building an MVP today?

#573

- Server: Node.js + SQLite I know JS very well, so writing HTTP handlers is quite fast. Node runs on V8, which is probably the fastest runtime for dynamic code. SQLite makes development easier as it’s just a file, gives you ACID. - Frontend: React/Mobx/Tailwind SPA hosted on firebase hosting. I think the concept of JSX (write your HTML with JS) is good as it gives you a real language instead of a restricted templatin…

What do you use for auth?

Just a normal create-user/login form. Or Firebase Auth if Google and other sign in's need to be supported.

Re: Ask HN: What would be your stack if you are building an MVP today?

#574

After working with the PETAL (Phoenix, Elixir, TailwindCSS, Alpine.Js, Liveview) stack at $JOB for a while now, I have to say I've never been more productive. Early on I would still have to lean on Alpine heavily for various JS interactions but with all the features Liveview has been adding and improving on (Hello JS module!) I find myself needing it less and less. Liveview really has been a game changer for me. Tail…

I feel similarly, except for the AlpineJS part. I think PETL is fantastic and I would 100% choose that for my stack.

Re: Ask HN: What would be your stack if you are building an MVP today?

#576
post #532

Earlier quoted context omitted.

Awesome experience write up. Question for you and OP, do you find that using languages like Elixir makes it so you have to look for a certain kind of dev given that Elixir is a pretty niche community or are folks with no experience able to adapt with relative ease?

Not one of the OPs but can happily echo their experience/praise for PETAL and think I can answer your dev search question: Anyone with a can-do attitude can learn Elixir. People with a “no thank you, I already know XYZ” mindset you really don’t want on your team. Almost 20 years ago @pg wrote the “Python Paradox” post: www.paulgraham.com/pypar.html The same holds true for Elixir (and Rust) these days. The people you…

I'd argue the other way. Yes anyone with a can-do can learn Elixir. But there's a difference between learn and LEARN..

I work with a pile of rails devs writing code in elixir. In that I mean you can feel the rails in their code. It "tastes" like rails. A few python devs also write python with elixir syntax.

Finding people who know the language is hard. Finding people who are willing to risk their time on the language is also hard.

By risk. If I spend 2 years writing Elixir and then go looking for a job I'm looking at getting a job with a language that's not popular. So my pool of place that will even look at me is smaller. Hiring managers/gate keepers might not see..

After 12 years of c++ I got a job where I needed to code in Delphi-Script for a year. When I told recruiters what I'd been doing I got "Oh.... Okay um... We'll call you."

I switched to rails for 6 months (same job) and recruiters were calling me non-stop. Working in low popularity langs limits my options. (even if they are great langs)

I'd say picking a language that's not yet popular limits your pool not just to the can-do's, but also to the can get my next job with this on my CV.

Re: Ask HN: What would be your stack if you are building an MVP today?

#577

Earlier quoted context omitted.

Holy smokes! I had no idea this project existed, and it just solves so many issues out of the box. I'm a backend/infra developer, and I had been dreading having to learn a new front end framework because the work flows just look hideous. This looks like I can sidestep most of that problem entirely.

phoenix has been the inspiration for a lot of stuff comming out of the other frameworks. phoneix channels -> django channels and actvecable but phoenix's version is much more powerful liveview -> livewire, hotwire. both are copies of liveview but neither of them are as powerful since only liveview can spinup a persistent thread PER user allowing active stateful sessions that can push and recieve events from the clien…

Not claiming LiveView is not most powerful (probably is because erlang is most suited to this). But saying that Livewire or Hotwire are copies is not fair at all. I am not sure why they are named in so similar way but they are all green field projects.

Livewire has started at pretty much same time as LiveView and AFAIK both projects influenced each other over the years. Both authors are in contact and the frameworks are quite a bit different because Livewire (in PHP) does everything over http so it has to employ different tactics than LiveView that can run over websockets.

Hotwire on the other hand is from Basecamp who have been using this approach forever. They just packaged their experience into a framework they released. Theoretically hotwire is the oldest of the three.

I am saying this because i don't think you need to use LiveView. All of them are super productive and are used for many real projects. They are just a bit different and better at different things.

Re: Ask HN: What would be your stack if you are building an MVP today?

#578
post #532

Earlier quoted context omitted.

I second this. I would say that I am pretty advanced with Python (and Django) and same with JavaScript (Vue and Nuxt) and have written applications that got used by multiple users. I saw a sharp rise in my productivity when I knew enough about the frameworks. But Elixir + PhoenixLiveView + Tailwind has been life changing. I learned Elixir for the sake of the joy of learning a new programming language and I kept playi…

Awesome experience write up. Question for you and OP, do you find that using languages like Elixir makes it so you have to look for a certain kind of dev given that Elixir is a pretty niche community or are folks with no experience able to adapt with relative ease?

I'll more or less echo what nelsonic said.

No one where I work has come in with Elixir experience. We look for people that are motivated to learn. Elixir has been one of the easier languages in my career to learn, and I think others that I work with would agree with that.

Re: Ask HN: What would be your stack if you are building an MVP today?

#579
Django backend. HTMx on the front end. Possibly an SQLite dB in a mounted volume, or a postgresql server if I need those features and expect more traffic. Might build the django app into a container and host on ECS or another container platform (like on DO or Vultr).

Re: Ask HN: What would be your stack if you are building an MVP today?

#580
post #430

Plain js on the frontend. Complex logic handled in rust-wasm. Backed handled in Rust using the Actix Web http server, using websockets, proxied through a very basic nginx instance with TLS. My own servers for the entire cloud, maybe with CloudFlare as a CDN. Avoid anything else as much as possible. If you need AI/ML, you're going to have to pull in some difficult extra stuff, so make sure the value is there. Owing bo…

What's the advantage of doing complex logic in rust-wasm? I assume you mean in the frontend?
Post reply on HN