Closed th3l0g4n closed 10 years ago
Hej thanks for taking the time to add some great ideas. Could you elaborate a bit more on how this could be accomplished? Do you have an example I can look at? Thanks!
Im afraid i have no example to hand, but i could try to modifiy an existing app this way so you can have a look if it comes to question. The basic concept is explained by the creator of express in this video: http://vimeo.com/56166857
Maybe instead of exporting various configurations in the index.js files, the apps should be build off express applications. This would make routing, maintaining, etc of the apps a lot easier as they can implement custom middlewares, routes and so on. These apps could be mounted under the foldername they resite in the bootstrapping process.