I am trying to create a small tool very similar to https://www.circuitlab.com/ I am thinking of using HTML5 canvas to create diagrams ( possibly with kinetic.js) and make use of Javascript to create graphics. I want each diagram to be mapped to a model which will run on the server side when called. For this I want to call python functions from java script and return the output of python functions to the same javascript code.
I have looked at this forum for similar questions. I found many but the answers were not related to what I want.
If I go to python based web packages like cherrypy or mod_python most documentation deals with creating HTML/javascript pages as output with a new url.
I do not want to go for pyjamas or skulpt.
Is it possible to do what I want using Javascript/Jquery/Ajax ?
I have been learning Javascript for a week now, Even though I am confident about my coding abilities, I am not familiar with the web terminologies.