Live data from Hacker News

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

news.ycombinator.com

1–10 of 40 posts

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

#1
What are the current recommendations for rapidly building a web application? Back in the day it used to be Rails. It seems like Phoenix is picking up steam.

Are there any other full-stack frameworks that take you from nothing to something fairly robust in a few hours?

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

#3
What are you good at? It'll be tremendously faster to build a web application using a technology or framework you're already familiar with than it will be to LEARN and then build. It sounds like you're looking for something like a MEAN stack generator or the like, check out Yeoman if you're into JS development.

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

#4
Depends on what kind of web app you want to build. If you want a single page app, then React + a rest framework (like Django Rest Framework) seems to be popular. If you want a normal server rendered CRUD app, Rails or Django might be fine.

Also depends on who will maintain this app in the future. The more esoteric a stack, the harder it is to find other devs(or they're expensive).

The ecosystem of pre-built modules(eg FB integration) so you don't have to re-invent the wheel. Python seem to have a really good ecosystem of libraries ranging from datascience to crypto.

What are you performance requirements? Do you need sockets? Django now has channels that provide you with some of that.

The answer as always is "it depends". I personally recommend sticking to what you know best(unless you're using this as a learning opportunity) and work with whatever the community prefers in that language.

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

#5
For speed of development, you want the most normal/boring stack there is, in combination with what you're familiar with.

Note that if there is more than 1 engineer, it is absolutely worth it to work with common technologies. Elm/Elixir are not common technologies (though people love talking about them).

Node + Express for the backend is super simple. Mongo or MySQL/PostgreSQL you will have no problems with (though I am biased towards relational databases) React for the front-end is also simple, very well known and easy to hire for.

If your application is more basic or more CRUD-oriented (as most apps are), Ruby on Rails has always been a solid choice and will continue to be a solid choice for years to come. There is also a very large pool of people who are very well-versed with it.

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

#6
A similar question was asked just 3 days ago:

https://news.ycombinator.com/item?id=15685905

For full stack opinionated frameworks, there are a few like Laravel (PHP), Django (Python), Rails (Ruby), Phoenix (Elixir). They all come with batteries included for the most part. Then there is node/expressjs ecosystem if you are into that.

Then you have micro backend frameworks like lumen (PHP), Flask (Python), Sinatra (Ruby) which can be used to build APIs etc.

For front end javascript, you have react, vuejs and angular as the top 3. You also have elm (compiles to js) and then some other players like mithril etc. Good old jquery is still out there.

For more realtime stuff, you can use websockets (socket.io library etc), google firebase, pusher etc

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

#7
Since you are asking about "rapidly building a web application" I think you also need to consider your hosting platform.

If you use a framework that has full support on one of the big PaaS services, you can save a lot of time configuring and maintaining your production and development environments.

For my most recent web app, I chose Python/Django on Google's App Engine. I spent less than 15 minutes configuring the development environment and new deploys take almost no time. I also spend very little time maintaining the production environment. GAE also has a lot of built-in debug tools (logging, stackdriver) that have made managing my application simpler.

There are a lot of such services now, including on AWS and in Azure.

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

#8
post #6

A similar question was asked just 3 days ago: https://news.ycombinator.com/item?id=15685905 For full stack opinionated frameworks, there are a few like Laravel (PHP), Django (Python), Rails (Ruby), Phoenix (Elixir). They all come with batteries included for the most part. Then there is node/expressjs ecosystem if you are into that. Then you have micro backend frameworks like lumen (PHP), Flask (Python), Sinatra (Ruby…

The shell of a web app/website can be built with white background on black text without any viewing library at first, right? So, would it make sense for a beginner to just pick one of the few frameworks you listed above Note+Express/Laravel/Django/etc. and just get to work on what it means to have a CRUD?

I feel like most tutorials always complicated things by trying to add too much at once -- to a fault, I've never been able to learn Node/Express and build a working app where I could add a record, delete it, update it, etc. Once it gets to "ROUTING" I kind of lose it, unfortunately. Haha.

I would probably be better off with Wordpress for most website needs, anyway...

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

#9
post #8
post #6

A similar question was asked just 3 days ago: https://news.ycombinator.com/item?id=15685905 For full stack opinionated frameworks, there are a few like Laravel (PHP), Django (Python), Rails (Ruby), Phoenix (Elixir). They all come with batteries included for the most part. Then there is node/expressjs ecosystem if you are into that. Then you have micro backend frameworks like lumen (PHP), Flask (Python), Sinatra (Ruby…

The shell of a web app/website can be built with white background on black text without any viewing library at first, right? So, would it make sense for a beginner to just pick one of the few frameworks you listed above Note+Express/Laravel/Django/etc. and just get to work on what it means to have a CRUD? I feel like most tutorials always complicated things by trying to add too much at once -- to a fault, I've never…

The core WordPress software is amazing. The plugin developers and community are another story. I've had cases where WordPress plugins have unlisted dependencies, bundled plugins that completely alter the WordPress Dashboard, build systems that go against established WordPress software patterns, etc etc etc. The majority of the community seems to be fine with this as they treat it like self-hosted Squarespace (set it, forget it, don't need to learn programming, contract any programming that does need to happen as cheaply as possible).

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

#10
post #6

A similar question was asked just 3 days ago: https://news.ycombinator.com/item?id=15685905 For full stack opinionated frameworks, there are a few like Laravel (PHP), Django (Python), Rails (Ruby), Phoenix (Elixir). They all come with batteries included for the most part. Then there is node/expressjs ecosystem if you are into that. Then you have micro backend frameworks like lumen (PHP), Flask (Python), Sinatra (Ruby…

Top answer to that question:

"Use the language your team is familiar with! If it is PHP don't hesitate just because it is not "cool".."

Have to agree with that here too.

Post reply on HN