|
|
|
|
|
by gassiss
2893 days ago
|
|
Sorry for my ignorance as I am learning web development. How would Express.js compare to Flask in this scenario? From what I've read it seems they are pretty similar in concept. I do know the basic syntax of both JS and Python, but I thought it would be better to focus on one language, and since JS is so common for the front-end complex stuff it would make sense. |
|
I am also kind of a beginner but I could not stand the way the node ecosystem is spread apart. Do not let others fool you about how npm is a chaos. The problem is the bare boned node ecosystem.
I literally spend hours reading the documentation of passport js for account creation because it did not make sense to me, it implied that you knew how to do some validation, then I had to choose the hashing algorithm of storing passwords, setup the email verification system and even roles and I was about to implement everything by hand. When read about other frameworks like hapi and feathers. Checked them did not really offered that much and ditched js for backed for good.
If I want to do everything from ground I would better choose Phoenix (erlang web framework) at least app would be real multithreaded by default.
I am really frustrated but do not get me wrong node is beautiful, Middleware idea is incredible but you are alone. But There is not even a way to exclude Middleware from routes unless you do a hack as a middleware.
In my opinion node has advanced greatly by the advancing of js itself, but once you start to program you are kind of alone. You are better using rails (not my favorite does a lot of magic) or some python tech (I am using Django btw).