Live data from Hacker News

Ask HN: What web framework should I use nowadays?

news.ycombinator.com

21–30 of 50 posts

Re: Ask HN: What web framework should I use nowadays?

#21

If you want to do real time, give a shot also to Elixir/Phoenix.

Not just real time Phoenix with Elixir is the most exciting framework for me today. Its what RoR was 10 years back. Developer happiness complemented with crazy fast response times.

Re: Ask HN: What web framework should I use nowadays?

#22

If you want to do real time, give a shot also to Elixir/Phoenix.

Not just real time Phoenix with Elixir is the most exciting framework for me today. Its what RoR was 10 years back. Developer happiness complemented with crazy fast response times.

Agreed, anything performance sensitive - and a lot of apps are - is worth the shot.

At the same time, you have to be aware the ecosystem is far from being mature. I am trying right now to use MongoDB and the last Ecto adapter seems to not be compatible with the other libraries.

Re: Ask HN: What web framework should I use nowadays?

#23

There is no best. What I would recommend though is creating a webpage that is static and gets updated dynamically with angular/react/vue with a rest server like tomcat/flask/express with the database of your choise. When i first found angular i loved it, I never really given react a fair chance and i have recently started to use vue.js which is great. As a rest server i am using flask with flask-restplus because its…

I think there is no best, but there are technologies you want to avoid.

Like my lastest rant will be against Angular. First load is usually with ugly {BLABLA} everywhere, last version breaks everything, ugly performance compared to vanilla JS or react, unnecessary complicated, academic mindset...

Re: Ask HN: What web framework should I use nowadays?

#24

There is no best. What I would recommend though is creating a webpage that is static and gets updated dynamically with angular/react/vue with a rest server like tomcat/flask/express with the database of your choise. When i first found angular i loved it, I never really given react a fair chance and i have recently started to use vue.js which is great. As a rest server i am using flask with flask-restplus because its…

I think there is no best, but there are technologies you want to avoid. Like my lastest rant will be against Angular. First load is usually with ugly {BLABLA} everywhere, last version breaks everything, ugly performance compared to vanilla JS or react, unnecessary complicated, academic mindset...

> ugly {BLABLA} everywhere

It's been a while since I used angular (1.4) but from what I remember, ng-cloak handles this.

Re: Ask HN: What web framework should I use nowadays?

#25
post #3

Which programming languages do you know? React is the most popular clients ide framework, Rails is still the most popular serverside.

I don't think rails is the most popular worldwide. Almost certainly that is PHP. Perhaps in your circles rails is popular. I know view few rails programmers myself.

PHP isn't a framework though.

Re: Ask HN: What web framework should I use nowadays?

#26
post #8

Here is what I settled with for my website after trying a few things over the years. In the process I have discarded nodejs, JAX-RS, maven, Undertow, JQuery, bootstrap (partially) etc. Currently, pure java servlets serve json over REST-like API. The jar dependencies are servlet-api.jar, a couple of json-related jars and an sqlite jar. Multiple fine-grained sqlite files for data. Tomcat as the servlet container with n…

Your system of minimal dependency java is interesting. Do you have anything open source I can look at or otherwise get a dive into this technique?

Re: Ask HN: What web framework should I use nowadays?

#28
post #3

Which programming languages do you know? React is the most popular clients ide framework, Rails is still the most popular serverside.

Sorry, I think React was not Client-side framework, it's only "A JAVASCRIPT LIBRARY FOR BUILDING USER INTERFACES" (taken from it's website). As we know, it's like jQuery, few people call it "Javascript Framework", but it's only "Javascript Library". CMIIW, thanks before :))

Re: Ask HN: What web framework should I use nowadays?

#29

There is no best. What I would recommend though is creating a webpage that is static and gets updated dynamically with angular/react/vue with a rest server like tomcat/flask/express with the database of your choise. When i first found angular i loved it, I never really given react a fair chance and i have recently started to use vue.js which is great. As a rest server i am using flask with flask-restplus because its…

>and gets updated dynamically with angular/react/vue

Does this mean that the page won't load if the user has Javascript disabled? As in, you can't see the content w/out JS?

The fact that it's so unfriendly to those select about their browsing habits (i.e those who don't want to run any and all code thrown at them by a random guy on the web) is why I've been reluctant to use it. And if there's a fallback, why not just use that in the first place?

I don't think users ought to have to download JS, or have such a download to be the primary option, when really they're just there to see a blog post or something. It's as if we've gone back in time.

Re: Ask HN: What web framework should I use nowadays?

#30
Personally, I highly recommend Django.

- It is very powerful, elegant, and extremely fun to use. - It has amazing resources and documentation. - It is written in Python. That's a major advantage because pyhon is used everywhere, and if you get good at it - you'll be able to easily experiment with other areas of programming.

The easiest way to start is to watch tuts+ Django Unchained course[1]. It's a great and easy to understand introduction that takes you through the process of creating a hackernews clone.

Then you should buy 2 Scoops of Django [2], it's the best resource to learn Django in more depth.

[1] http://code.tutsplus.com/courses/django-unchained [2] https://www.twoscoopspress.com/products/two-scoops-of-django...

Post reply on HN