SageCell as back-end engine for the website

36 views
Skip to first unread message

Parth Dubal

unread,
Jun 19, 2019, 1:23:06 PM6/19/19
to sage-devel
Hi,

I am trying to build a website where students can go online, learn math and do assignments. I want sagecell to be in the back-end for the computations. Let's say I have one assignment in the website. I have 10 questions in that assignment. The student will solve each of the questions and put the answer. I want sagecell to confirm the answer by using its computations. Once the student have submitted the answer, it will go to sagecell and then return to us whether it is right or wrong. I am very new to the sagecell so I have no idea if this thing can be implemented/possible. If you have any ideas to achieve this please let me know from where should I start, which programming language or framework should I use for this kind of website.

Paul Masson

unread,
Jun 19, 2019, 5:24:52 PM6/19/19
to sage-devel
I put together some notes a while back on accessing SageCell as a web service. The results are returned as JSON and can be processed with JavaScript in the browser. That would be the simplest way to implement your site.

Parth Dubal

unread,
Jun 19, 2019, 5:26:56 PM6/19/19
to sage-devel
What exactly does it return from the server and what type of data can we send to the server?

Paul Masson

unread,
Jun 19, 2019, 5:43:49 PM6/19/19
to sage-...@googlegroups.com
You can send any SageMath expression. The result is returned as JSON. It’s all in the notes.
--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/pfZvzEn54EU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/011cf14d-1af7-4301-8b38-ed69eb7156ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages