Live data from Hacker News

Ask HN: Fastest/easiest framework to build a web application in 2020?

news.ycombinator.com

41–50 of 93 posts

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#42

Django. Nothing has ever surpassed Django for me. It is soooo much faster to prototype with than anything I've ever used (especially when you know all the amazing shortcuts, but that's not a requirement as their docs are incredibly good). It can do anything you could possibly want to do with a standard web app and if you really want to do crazy Javascript things you can always just use it as an extremely powerful bac…

How is deploying Django? Is it easy to integrate with Nginx or Apache? I know PHP is super easy but wasn't sure how it was for Python frameworks?

For Apache, the easiest is just using mod_wsgi and pointing it at your source folder. It takes 3 trivial lines of Apache configs if you're using system-wide Python and 2 additional slightly longer ones to use a virtualenv instead (recommended) - all nice and copy-pastable from the official docs.

Nginx has a similar module, but I haven't used it personally.

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#43
post #9

Earlier quoted context omitted.

> Use React’s declarative JSX syntax, JavaScript components, and a rich component library to build, deploy, and operate your Im sorry but why would someone want to use a templating language to configure infrastructure? It’s like using CSS syntax for defining an HTTP API. Doable, but... why? It’s not any easier to pick up or reason about than any existing configuration language. On React + node, this assumes no render…

A template language suggests something that uses code points to inject dynamic values. JSX is a bit more than that in that it bundles a template plus the corresponding assigned logic. It is more of a component language than a template language. At any rate the reason why somebody might want to do this is purely because its declarative. I prefer imperative programming myself, because I want to know exact what the logi…

In my opinion, the power of the React/JSX model is really about allowing you to declaratively specify everything that can/should be specified that way. But then also allowing you to selectively use imperative constructs where they're needed, all while making it fairly seamless to move back and forth between the two at any level of abstraction.

Of course, with great power comes great responsibility...

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#45
post #4

My 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…

I have never been a big fan of javascript on the backend(or the frontend for that matter but we have no choice). A 200 l.o.c. promise chain vs a 10 liner in Python or PHP or Ruby? Just feels dirty to me.

You shouldn't need promise chains nowadays since async/await is available. Also, I'd be interested to see 200 lines of idiomatic JS being written in 10 lines of idiomatic Python, PHP or Ruby if you have an example.

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#46
Rails is less "easy" than it used to be due to the integration of Webpack (via the Webpacker gem) and thus the entire world of frontend JS development…yet that move in many ways "saved" Rails as a serious tool for modern web professionals.

So while I'm not sure Rails is easiest to pick up for a complete newbie, I am sure that there is still no framework that can touch Rails when it comes to fast/easy to build an entire web application from scratch that is truly broadly deployable and maintainable for years to come and won't cause you to tear your hair out every other day. :)

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#47

Rails is less "easy" than it used to be due to the integration of Webpack (via the Webpacker gem) and thus the entire world of frontend JS development…yet that move in many ways "saved" Rails as a serious tool for modern web professionals. So while I'm not sure Rails is easiest to pick up for a complete newbie, I am sure that there is still no framework that can touch Rails when it comes to fast/easy to build an enti…

I'm a bit tired of all this react and javascript mubojumbo and keen to learn more about rails. what would be the best tutorial that isn't outdated? so much things are just old...

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#48

I'm building a new application this year and I'll be using Go for the backend and Flutter for the frontend (both web and mobile).

How's your experience using flutter web? I love flutter and dart used it for a few mobile apps. Tried using Flutter Web and felt like it was missing a lot to make it usable in production.

I haven't used it yet, actually. I'm hoping that it's good enough for what I'm doing (which is more or less just a fancy CRUD app), but if it's not, then I can always wait on the web app until it's ready.

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#49

Rails is less "easy" than it used to be due to the integration of Webpack (via the Webpacker gem) and thus the entire world of frontend JS development…yet that move in many ways "saved" Rails as a serious tool for modern web professionals. So while I'm not sure Rails is easiest to pick up for a complete newbie, I am sure that there is still no framework that can touch Rails when it comes to fast/easy to build an enti…

Yeah - I'm still a bit confused how not much has changed in more than 10 years. Seems like setting up a rails app with your typical gems — devise, stripe ruby, puma, carrierwave, sidekiq, railsadmin, etc. is still by far the fastest way to build a functioning, production ready SaaS app.

Re: Ask HN: Fastest/easiest framework to build a web application in 2020?

#50

>think how easy Rails was in 2006 So why not use Rails?

Idk. I haven't done any web dev in years. So that's kind of what I'm asking here. If Rails is still the answer then I guess that's it. I would have assumed there'd be something new by now.
Post reply on HN