3 ms·
I have written a few apps in ExpressJS and one of the things that I found annoying at first was how minimal and unstructured it was. I found a way of doing thin
by mathrawka 15y ago
I have written a few apps in ExpressJS and one of the things that I found annoying at first was how minimal and unstructured it was. I found a way of doing things in an organized manner that I like, so it has become easy to get things in my own structure. Perhaps that is the charm of Express, it gives you freedom to structure (or not) in the way you desire.
RailwayJS seems to provide a common structure to be used with Express. It does provide a lot, and a part of me feels that it provides too much. But you can always choose which parts to make use in your application.
I'm on the fence about if I would recommend it to a new Express user or not though.
- wavephorm 15y agoThere certainly is no shortage of other options: https://github.com/joyent/node/wiki/modules#wiki-web-frameworks-full https://github.com/joyent/node/wiki/modules#wiki-web-framewo...
- mathrawka 15y agoIt's like that with almost everything in node.js now...
- firefoxman1 15y agoYeah and the problem is that you have to sort through tons of them to find the higher quality modules.
- 1602 15y agoThis resource provide improved listing (same modules, but sorted but forks/watchers): http://modules.node-js.ru/ http://modules.node-js.ru/
- mcantelon 15y agoYeah, Express is deliberately minimal. In addition to frameworks like Railway there are a number of helper modules, like express-resource, that build on Express it as well. Express is good for new users as it's minimal enough that it forces them to get the lay of the land, but its Connect underpinnings remove some of the sharp edges of just using Node's http module.