4 ms·
(Server) Looks cool. What is the intended benefit over something like express?
by divbit 10y ago
(Server) Looks cool. What is the intended benefit over something like express?
- franciscop 10y agoThank! In v1.0 most of the things that were deprecated from Express 4.0 [1] (and a couple more) work out of the box. On v1.1 you get websockets for free[2] as a router method and a plugin system that goes way beyond what is possible with express middleware so other integrations are possible (think about passport, aws' s3 and the likes). Truth be told, for the initial release I only expect 2 groups of people to truly benefit from this: those creating new projects on a regular basis and those getting started with Node.js. I've taught to some people how to get started with Node.js and since Express 4.0 it's been quite challenging so I expect this to really help. [1] http://expressjs.com/en/guide/migrating-4.html http://expressjs.com/en/guide/migrating-4.html [2] Not yet available (and wouldn't work on jsfiddle anyway): https://jsfiddle.net/franciscop/6ca5gzn7/ https://jsfiddle.net/franciscop/6ca5gzn7/