Hacker News new | ask | show | jobs
by bergie 5082 days ago
I've been using a quite different approach at structuring my Node.js applications: http://bergie.iki.fi/nodext/

With NodeXT you build the application out of multiple modules (extensions), which you then "mount" into the URL structure you want to use.

Helps keeping code more decoupled and reusable.

1 comments

Interesting. I will take a look, thanks.
One additional possibility is making packaged NodeXT extensions that can be plugged into any website and configured. Here is an example:

http://search.npmjs.org/#/nodext-create