Is there any way to implement plugin system in Node.js like the one in 
Atlassian JIRA?
For example, I may have a main page for displaying all the plugins. Each 
plugin is like an independent web app, containing both html and node.js 
backend code. 
If I select one plugin in the main page, the main page is able to render 
the html of corresponding plugin, and all the http requests from the plugin 
html are
handled by the node.js code of the plugin. Thus the main page is just a 
container of bunch of plugins.
 
I know that with npm we can have modules, but I thought modules can contain 
only javascript code? what about html, static files like images?

Thanks very much for the help!

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/e2ddd81e-bd07-44d3-b6f5-54db723f68c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to