Live data from Hacker News

Ask HN: Best web framework in 2018

news.ycombinator.com

21–30 of 41 posts

Re: Ask HN: Best web framework in 2018

#21
Symfony 3 (and recently 4) is a very effective, focused tool that gets out of your way and let you get the job done, once you understand and give in to dependency injection and single responsibility principle

https://symfony.com/

Killer feature: you can use every symfony component in your own app without the framework if you want (console, http router, service container, templating, etc.)

Re: Ask HN: Best web framework in 2018

#23

I'd say rails because the nodejs + PHP codebases I've seen aged poorly, but the rails one are still clean. The problem with node is that things move too fast. What was beautiful in JS 4 years ago now looks like legacy mainframe fortran. Laravel (a popular php framework) is nice at one point in time, but even 0.x.0 migrations will break you application and force you to work for hours...

Maybe as a counterpoint to your Laravel statement. I started using Laravel on some work projects at 5.3 and have upgraded them up to this weeks release of 5.6 without major issues or time spent doing so. I don't know much about the versions before that though. Other than it's not your grandfather's PHP along the bad habits from the early 2000's. I personally think my Laravel code has been pretty clean and concise.

Re: Ask HN: Best web framework in 2018

#24
post #11

Same answer as the many years before: Rails, Django, or .NET. Anything else and you're making serious tradeoffs on mindshare, features, or something else. Of those 3, I know Rails has good realtime support via ActionCable.

I like Rails, but calling ActionCable good realtime support is being a bit generous, no? I was under the impression that scaling ActionCable beyond 1k/users per server was pretty difficult.

Well yes, it's Ruby / Rails. Of course it's not going to handle tremendous concurrency. I don't think that makes it bad.

Re: Ask HN: Best web framework in 2018

#27
Use any, really. If you want "best in 2018," in Node, my recommendation is Next ( https://github.com/zeit/next.js/ ) - it is extremely good if you want to kick something up fast, and get it out as an MVP. And can be extended upon to have a rich application, with a variety of other frameworks.

Re: Ask HN: Best web framework in 2018

#28
Given the want for WebRTC, realtime, chat and messaging I would take a long hard look at Elixir/Phoenix. It is perfectly suited to those problem domains.

As a bonus it has a good community and is in my opinion a pleasure to work with. I've released a couple production projects using it and am currently building my third. Ive also found from my own experience and watching a new team pick it up that the learning curve is fairly small.

Re: Ask HN: Best web framework in 2018

#29
post #11

Same answer as the many years before: Rails, Django, or .NET. Anything else and you're making serious tradeoffs on mindshare, features, or something else. Of those 3, I know Rails has good realtime support via ActionCable.

I like Rails, but calling ActionCable good realtime support is being a bit generous, no? I was under the impression that scaling ActionCable beyond 1k/users per server was pretty difficult.

http://anycable.io is pretty easy to setup. You can run your rails app and have ActionCable run through Go or Erlang.
Post reply on HN