ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 03 Dec 2014 20:40:31 -0600Sharing Sage on the Webhttp://ask.sagemath.org/question/25106/sharing-sage-on-the-web/I have a Sage program that takes an integer as input and outputs lots of pretty pictures. I would like to share this program in such a way that someone with no knowledge of Sage could still provide the integer and enjoy the pictures.
For example, I imagine having a website with a form where the user provides an integer, the program executes in the cloud, and the pictures are displayed in the browser. This may not be possible or even advisable, but it's the sort of thing I mean.
What kinds of options do I have to easily share Sage output on the web?Wed, 03 Dec 2014 18:12:18 -0600http://ask.sagemath.org/question/25106/sharing-sage-on-the-web/Answer by kcrisman for <p>I have a Sage program that takes an integer as input and outputs lots of pretty pictures. I would like to share this program in such a way that someone with no knowledge of Sage could still provide the integer and enjoy the pictures. </p>
<p>For example, I imagine having a website with a form where the user provides an integer, the program executes in the cloud, and the pictures are displayed in the browser. This may not be possible or even advisable, but it's the sort of thing I mean.</p>
<p>What kinds of options do I have to easily share Sage output on the web?</p>
http://ask.sagemath.org/question/25106/sharing-sage-on-the-web/?answer=25111#post-id-25111My favorite is [using the Sage cell server to embed](http://sagecell.sagemath.org/static/about.html?v=15adefe8b7e89fcf49eda7af5303abd4#embedding) stuff in ordinary HTML pages. There are various examples of this around the web. Here are a few:
- [Rob Beezer's home page](http://buzzard.ups.edu/)
- [The Sage interact example gallery](http://wiki.sagemath.org/interact)
- [Use R in a web page!](http://statisfactions.com/2013/interactive-r-code-widget/)
I wrote a text for my number theory class using this, in fact, and there are other online texts out there about it. So I think it's quite flexible. I'm sure others will have other favorite ways, though. Have fun!Wed, 03 Dec 2014 20:40:31 -0600http://ask.sagemath.org/question/25106/sharing-sage-on-the-web/?answer=25111#post-id-25111