I am new to Javascript frameworks and nodejs. Recently, I came across a requirement which made me think if I can use them.
Requirements: --A lightweight website which can be run off a usb stick (kind of portable webapp) without a need to install a complete webserver on client machine. --The website should be available to users on the local network. The webapp will be maily used for (a)capturing user responses to a questionnaire (b) showing graphs, data, reports (c) showing clickable diagrams
I want to build a very responsive, rich-client kind of webapp.
From whatever I searched on the Internet, I think I should use node.js (as webserver) + express.js (MVC framework) + Twitter Bootstrap (for building nice UI).
I am not sure, if my choices of frameworks/tools is correct, so want to know what experts recommend.
Thanks.
The only requirement is to download a portable version of node.js. For example, windows x64 v0.8.18. All the distributables are located here.
That's all. All your modules need to be installed locally.
I have just downloaded and compiled node.js to evaluate. Great tool, builds and runs nice also under Ubuntu and is also supported on Mac OS and Windows. Very interesting possibilities. Surely can be recommended.
To have it really cross platform, you can simply drop several nodejs executables for different platforms into NTFS formatted USB stick. Linux guys may need to tweak mounting permissions but they are used to.