Show HN: Server.js – A modern Express alternative
1–10 of 124 posts
Re: Show HN: Server.js – A modern Express alternative
#2It is designed to work perfectly with Promises and async/await, the new ES7 features that makes asynchronous code awesome. Also, I put a lot of work into making the documentation extensive and clear and I'll keep working on that for the future while preparing for the 1.1.
Edit, release notes: https://medium.com/server-for-node-js/server-js-1-0-released...
Re: Show HN: Server.js – A modern Express alternative
#3[1] : https://github.com/franciscop/server/blob/master/package.jso...
I think around express 3 the guys decided to go with a modular approach and decouple the server from any of those heavy ( render ) libraries, as well as body-parser ( once it was core module in express itself ).
My really friendly feedback is that I think express carries so much experience that it will be really hard to replace it with something so monolithic. I use express for REST APIs as well as full web app, where I need no render engine and having this installed on my server is an overkill.
Best approach I would think of is having someone rewrite express from scratch and call it express 5, while keeping the same balance of core and extra functionality, as well as new async / promise goodies.
Re: Show HN: Server.js – A modern Express alternative
#4> Note: this option can be ignored and server.js will work with both .pug and .hbs (Handlebars) file types. [1] : https://github.com/franciscop/server/blob/master/package.jso... I think around express 3 the guys decided to go with a modular approach and decouple the server from any of those heavy ( render ) libraries, as well as body-parser ( once it was core module in express itself ). My really friendly feedback is…
Re: Show HN: Server.js – A modern Express alternative
#5> Note: this option can be ignored and server.js will work with both .pug and .hbs (Handlebars) file types. [1] : https://github.com/franciscop/server/blob/master/package.jso... I think around express 3 the guys decided to go with a modular approach and decouple the server from any of those heavy ( render ) libraries, as well as body-parser ( once it was core module in express itself ). My really friendly feedback is…
Re: Show HN: Server.js – A modern Express alternative
#6> Note: this option can be ignored and server.js will work with both .pug and .hbs (Handlebars) file types. [1] : https://github.com/franciscop/server/blob/master/package.jso... I think around express 3 the guys decided to go with a modular approach and decouple the server from any of those heavy ( render ) libraries, as well as body-parser ( once it was core module in express itself ). My really friendly feedback is…
Basically what I find Koa does for me: http://koajs.com
Re: Show HN: Server.js – A modern Express alternative
#7Earlier quoted context omitted.
Basically what I find Koa does for me: http://koajs.com
I am in the Koa boat as well, does Express have anything that Koa does not? (not trying to start a framework flamewar, honestly!)
The initial idea is to do the next level express framework using back-then generator functions. What is missing ( for me ) is the smaller community and popularity. So it makes it tough to argue about the business impact between choosing koa over express.
Honestly, being a nodeJS freelancer for the last decade there was not a single project, where koa was in use. Mostly I've seen express or sailsjs [http://sailsjs.com] which is quite a full-blown MVC Rails style solution.
Re: Show HN: Server.js – A modern Express alternative
#8How could the package name "server" be available all these years :D?
Re: Show HN: Server.js – A modern Express alternative
#9> npm install server How could the package name "server" be available all these years :D?
Re: Show HN: Server.js – A modern Express alternative
#10> npm install server How could the package name "server" be available all these years :D?