I have a need for a calculation lib that I want to run on either client or server. I'd like to do it like a ruby gem or java bean, with a directory of files that are packaged for deployment, as well as set of tests that of course are not deployed, but are executed in the IDE.
Does anyone have any tips or links to article about this? It seems that most tutorials or advice is geared toward developing for the browser or, (more recently) SSJS frameworks like Node.
Also, are there any IDEs that have template projects that help with this? They seem to generally set up web apps.