edjafarov / aries

AriesNode is a MVC framework for node.
aries.no.de
10 stars 0 forks source link

Deeper support of connect middlewares #24

Open edjafarov opened 13 years ago

edjafarov commented 13 years ago

Connect middlewares are perfectly fit into flow provided by dispatcher. We got controller that handles routing but we can leverage middlewares for filters and interceptors. I see it like:

CFG.filters = ["connect:bodyParser","connect:cookieParser"]

The main question though... should same functionality be build in the framework itself? Maybe dispatcher?