Skip to content
visionmedia edited this page Apr 15, 2012 · 12 revisions

This roadmap is a WIP and does not represent any final decisions.

Connect

Connect 3.x may serve as a collection of high-quality, fully tested modules, and not provide any concept of "middleware", aka .use() etc. The middleware system would then become the responsibility of Express. For example when used with a regular node http server:

var send = connect.static(root);
http.createServer(function(req, res){
  send(req.url, function(err){
    // handle errors
  });
});

HTTP utility methods

Effectively all of the express.response and express.request prototype methods could be separated into npm modules for use within the community. To do so we'll need to also create npm modules out of many of Connect's utilities.

View system

The view system in many respects could also be abstracted into a separate module, which would use consolidate for template engine support. This system would have to extend the response prototype if it were to provide the same res.locals / res.render() features.

Clone this wiki locally