Use Julia to perform computations on a webpage -
i wondering if possible use julia perform computations on webpage in automated way.
for example suppose have 3x3 html form in input numbers. these form square matrix a, , can find eigenvalues in julia pretty straightforward. use julia make computation , return results.
in understanding (which limited in direction) guess process should like:
- collect data entered in form
- send data machine has julia installed
- run julia code given data , store result
- send result webpage , show it.
do think possible? (i've seen stuff using httpserver allows computation browser, i'm not sure right thing use) if yes, things need into? have examples of such implementations of web calculations?
if using or can use node.js, can use node-julia. has limitations, should work fine this.
coincidentally, done putting example this. rough mockup available here, uses express serve pages , plotly display results (among other node modules).
another option write server in julia using mux.jl , skip server-side javascript entirely.
Comments
Post a Comment