Live data from Hacker News

Ask HN: Best web framework in 2018

news.ycombinator.com

1–10 of 41 posts

Ask HN: Best web framework in 2018

#1
I'm trying to choose right web framework for my startup. The problem is that I haven't followed last trends in web dev for a couple of years. Previously I used Python/Django for all of my web projects.

Initially I decided to choose Python/Django because I am familiar with that tech stack and I can be productive from first day. But I have some doubts because our web app will use heavily a lot of interactive stuff like a WebRTC, realtime whiteboard, chat messaging etc.

So, do I need to choose something like NodeJS based web frameworks or I can stay with Django using builtin Channels library?

If I need to choose NodeJS based solution, what kind of libraries do I need to use? Express, React, MongoDB, etc. Is there a some recommended ways of building such apps and do it have standard functionality with common cases like user authorization, session etc.

Maybe some another good alternatives here?

Re: Ask HN: Best web framework in 2018

#3
I'm going to be a bit harsh here, but I think the answer is:

Whatever you're good at and can get a decent MVP out of the door with.

That might be Python and Django like you mentioned above, it might be NodeJS, or it might be anything from React to Angular to any other framework you can imagine.

Because at the end of the day, whatever you actually write the product or service in matters far less than what you actually do with it. Indeed, unless your audience are programmers and run your software themselves, your audience won't give a toss what your software was built in.

Pick whatever you want to write this thing it, but always remember that being early to market it usually a hell of a lot better than being late because you spent tons of time learning an all new framework for it.

Re: Ask HN: Best web framework in 2018

#5
Unpopular answer, but it's what we use here: Angular SPA front end + .NET backend

The "best" is what you can get the best product done the most efficiently, and what you're able to hire for. If a niche new thing comes out that might be 1% faster in synthetic tests, but you'd have to spend 4 months learning it as well as what you know now and there are no people near you to hire, it's not really the "best" for you.

Re: Ask HN: Best web framework in 2018

#7
As far as front end libraries go, I learn quite a few of them in my free time, and I found Vue.js insanely simple to pick up. One of the things I like so much about it is the tooling can be incrementally adopted. If you don’t mind paying quite a bit for a membership I would recommend the 4 hour course on frontendmasters.com by Sarah Drasner. That’s how I learned.

Re: Ask HN: Best web framework in 2018

#8
post #3

I'm going to be a bit harsh here, but I think the answer is: Whatever you're good at and can get a decent MVP out of the door with. That might be Python and Django like you mentioned above, it might be NodeJS, or it might be anything from React to Angular to any other framework you can imagine. Because at the end of the day, whatever you actually write the product or service in matters far less than what you actually…

Agreed.

There will always be arguments around the "optimal solution", but the only solution that matters is the one that gets your product to market the quickest and with the least resistance.

If you know Python and Django, keep on keeping on.

Of course, there is always room to experiment and try new things for learning purposes.

Don't get lured in by the clickbait articles and twitter stack-of-the-month evangelists.

There are very few framework choices that are 'bad'. And I'm willing to bet that a dev that knows a 'bad' framework inside and out is more effective than someone who hops around to the current flavor of the month.

Re: Ask HN: Best web framework in 2018

#10
There are many good frameworks out there that are a viable choice.

The main reason should be the people you want to hire and how you structure your team. Also, you need to consider if you need high performance or data science

Rails - good choice to start off. Fast to bootstrap a product. If you do not need high performance, you can get old with it otherwise, you will move.

Java Spring - a lot of people know Java

Python - framework is not the fastest and modern, but python is a good skill to have in your team if you need data science

.net mvc -- became an interesting choice.

Elixir Phoenix - smallest community but fun to work with and awesome performance (like .net or spring) will scale very well.

Go/Iris -- best performance and easy to learn. Is missing strong abstractions but an awesome community and libraries.

Javascript (express) - ever changing environment. Your developers can work on frontend and backend. It's an advantage to have just one language.

My favourites are Go and Elixir but in the end, I would decide on the people you will hire.

Post reply on HN