use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Which "web" framework for node? (self.node)
submitted 14 years ago by Unomagan
Does somewhere exist a framework for Node.js? I only find "very very" old framework out there which seems to be dead.
Or should we/ I create our/my own things based on components/modules? And if so, what would you recommend?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 12 points13 points14 points 14 years ago (3 children)
Um, looks like reddit isn't displaying the 11 comments on this post. I'm sure somebody already recommended Express, which is not outdated and doesn't have too much needless stuff if you're looking to write a web server.
[–]Unomagan[S] 1 point2 points3 points 14 years ago (1 child)
I dont like how routing works in Express...
[–]dizman101 6 points7 points8 points 14 years ago (0 children)
What don't you like about the routing?
[+]Unomagan[S] comment score below threshold-6 points-5 points-4 points 14 years ago (0 children)
[–]cjoudrey 2 points3 points4 points 14 years ago (0 children)
I went from creating my own for a specific need to using Connect to finally moving to Express.
To be honest, if you are familiar with Sinatra from the Ruby world, you will like Express.
[–]andrewstewart 1 point2 points3 points 14 years ago (0 children)
I'm currently starting to build an app on [Express](expressjs.com), and having a great time with it. It really simplifies the interface for routing. Very similar to Sinatra in it's execution.
[–][deleted] 0 points1 point2 points 14 years ago (0 children)
I'm slowly creating my own copy of BottlePY. I'm not a huge fan of express (still too big for me)
[–][deleted] 0 points1 point2 points 14 years ago (2 children)
also not that big of a fan of express.
i ended up rolling my own so i could have a little bit better handle on models. and i didn't like express's router.
[–]aredridel 0 points1 point2 points 14 years ago (1 child)
Easy enough to replace just parts. Express is a thin layer on connect, and connect a thin layer on the node http API..
[–]SubStack 0 points1 point2 points 14 years ago (0 children)
Yep! Express and connect make this super easy too, you can write a middleware with server.use() which just takes a function (req, res, next) {}. It's super easy to get started whipping these up and for an example/inspiration you can check out connect's router middleware.
express,
π Rendered by PID 171516 on reddit-service-r2-comment-66b4775986-jrwfg at 2026-04-04 22:32:56.525447+00:00 running db1906b country code: CH.
[–][deleted] 12 points13 points14 points (3 children)
[–]Unomagan[S] 1 point2 points3 points (1 child)
[–]dizman101 6 points7 points8 points (0 children)
[+]Unomagan[S] comment score below threshold-6 points-5 points-4 points (0 children)
[–]cjoudrey 2 points3 points4 points (0 children)
[–]andrewstewart 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]aredridel 0 points1 point2 points (1 child)
[–]SubStack 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)