DEV Community

loading...

Discussion on: Introducing the Best 10 Node.js Frameworks for 2019 and 2020

Collapse
ozzythegiant profile image
Oziel Perez

I agree. Not sure how it stacks up against Hapi but this definitely needs to be #1 or at least a #2 behind Express. My approach to learning frameworks is to have one monolithic framework and one micro framework learned per programming language. For PHP, I use Slim and Laravel. For Python, I use Flask and Django. For Java, I use Spark and Spring Boot. In Node.js so far I've only learned Express, but I would say it's like Flask and Slim, it's a micro framework, but for when I'm needing to save time and have something that includes all of the essentials, I would take a look at Adonis.

Collapse
avidcoder123 profile image
avidcoder123

It is healthy to learn a microframework but I feel like Express can't really be compared to Flask. Flask does all the basics for you like cookies, sessions, and templating engine but Express doesn't. Express is a bit too flexible; you shouldn't have to worry about such rudimentary things when making servers.

Thread Thread
ozzythegiant profile image
Oziel Perez

We'll I put them side by side because both of them require you to patch in your own libraries for some things, like ORM. A full framework will include most, if not all things that are commonly used to build apps