I'm pleased to introduce to you all a new project I've been working on. We're calling mach <https://github.com/mjijackson/mach>.
https://github.com/mjijackson/mach mach is a web server, much like connect/express, except the entire thing is based around promises instead of callbacks. Of course, it works fine if your stack includes callback-based code. But it really shines when you're using promises to manage asynchronous operations. One of the major goals of mach is to make writing web servers simpler and more robust. A web app in mach is simply a function that takes one argument: the request. It returns the response, or a promise for the response. Please refer to the Introduction<https://github.com/mjijackson/mach/wiki/Introduction>page on the wiki <https://github.com/mjijackson/mach/wiki> if you'd like to know more about how mach handles requests and responses, and automatically propagates errors back up the call stack so you don't need to do it manually. There's a bunch of other stuff on the wiki as well if you're interested. We're going on 6+ months of active development on this project, so it's not exactly brand new. Thanks to Tom Robinson and Kris Kowal for some early collaboration on the project, as well as Alex Maccaw for providing some great feedback and contributing a cool example of using mach to run a web app that uses generators<https://github.com/mjijackson/mach/blob/master/examples/generators.js>(!). Thanks! -- Michael Jackson @mjackson -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
