Hacker News new | ask | show | jobs
by Johan-bjareholt 3595 days ago
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 simple and i like python.

As a database i use MongoDB because its easy to set up, i'm sure there's better alternatives but i don't runt anything on a bigger scale so I havn't put much thought into it.

2 comments

>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.

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.