Open edjafarov opened 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?
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:
The main question though... should same functionality be build in the framework itself? Maybe dispatcher?