Pregunta

From this presentation http://techwraith.github.com/presentations/2012/nodepdx

The author states the following:

  • "Connect also give you problems"
  • "Connect buffers some responses"
  • "Connect has no structure"
  • "Express gives you all the problems Connect has"

With that said, most node frameworks are built on top of Connect...

So what makes Geddy significantly better than connect?
Does it scale any better?
Does Connect has issues?
Aside from the qualities of the framework, are the arguments above pertinent as of 2012?

Note: This is not a Express vs Geddy, we are comparing the thin layer above node.js (connect<->geddy) and it's implication on the framework.

¿Fue útil?

Solución

Geddy is not better than Connect / Express, the big thing that differs is the structure of it. Like @josh3736 said in his comment, "Geddy makes a lot of assumptions about how you want to build your app (like Rails), which may or may not be a good thing".

The author of Geddy didn't like to see different structures for each project he saw built with Express and how the middleware feature was implemented, so he decided to make Geddy and enforce a structure.

For more details, listen to this episode of NodeUp: http://nodeup.com/seventeen

Otros consejos

The previous answer is basically correct, but the real answer is that Geddy pre-dates Connect. Node's baked-in HTTP support is such that there would not have been any real value in rewriting it to use Connect.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top