What does (NodeJS) Express provide over just using Connect?
Asked Answered
I

1

11

What does Express provide over just using Connect?

Most of the features of Express seem to be features of Connect.

Is there a list of what Express provides?

Injury answered 30/3, 2011 at 16:30 Comment(0)
H
8

What does Express provide over just using Connect?

Higher level of abstraction (web framework centric), template engines, view rendering.

Is there a list of what Express provides?

I would say Express guide lists quite good summary of it's features with examples.

Habited answered 30/3, 2011 at 17:49 Comment(2)
Thanks for your answer. Connect has routing, auth, etc. and the template engines work without express. Many features in the guide are just features of Connect. Express just seems to load template files from disk and use a template engine to render them. Am I missing something big here?Injury
I would say that Connect's purpose is to offer quick and simple (modular) web server features from the lower level point of view than Express which is more like a web framework with API crafted for making websites. Their functionality may overlap but target audience is somewhat different.Habited

© 2022 - 2024 — McMap. All rights reserved.