0

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 its implication on the framework.

rgettman
  • 176,041
  • 30
  • 275
  • 357
Olivier Refalo
  • 50,287
  • 22
  • 91
  • 122
  • 2
    I've never used Geddy, but that presentation feels like a sales pitch. ("You should use our framework!") Glancing over the site, it looks like 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. – josh3736 May 31 '12 at 03:28

2 Answers2

2

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

alessioalex
  • 62,577
  • 16
  • 155
  • 122
  • 2
    I'm the author of those slides, and yes, you pretty much hit the nail on the head here. Connect/Express is great if you want a very minimal set of features to help you build an app on node. Geddy takes things a little further, giving you a structure and some best practices to help you get your app (and your team) up and running quickly. – Techwraith May 31 '12 at 19:05
0

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.

mde
  • 196
  • 1
  • 4