Post by Adam Morris on Apr 1, 2016 13:58:00 GMT
Greetings, I found this software via the Podcast.__init__ podcast, and am really curious about it, as I have a potential use case.
I'm a K-12 teacher turned full-stack developer. I worked in China for a few years where the state of the Internet is what it is, and that meant that schools had to do a lot of self-hosting of open source things like Moodle. I got into programming professionally working with my school at the time to improve the stack. Then I moved to Malaysia, where the internet is much more open, and so schools really love using GAFE (Google Apps for Education). So I started digging into that, too, as a part of my job, and to customize that, we need to use Google Apps Script, which is based on Javascript.
The way the programming works in Google Apps Script is that you open a browser window, and use some pretty basic debug tools, and the module situation with Javascript is what it is .... imagine my horror when I was used to having Python on my local machine, and all the wonderful tools that I have to go with that. I did look into some Python -> JS stuff, but found them not really able to solve the problem I had, which is, "Please let me code in Python and translate it into JS."
What I am really curious about is if Transcrypt could somehow be used as a kind of supplemental development environment for building Google Apps Script (GAS) stuff. I am imagining writing some really great, functional code in Python (with multiple inheritance, really!?), and then being able to seamlessly bring it over to the GAS environment. One issue will be that not all of JS is implemented in GAS, and from the podcast there is a way to write pure JS. For example GAS has a lot of pre-defined objects that simplifies a broader API, like in this line:
var sheet = SpreadsheetApp().getActiveSpreadsheet().getSheetByName(name);
I am about to travel for a few days, but I am really curious to start a conversation and would be very interested in hearing initial thoughts from the developer on this idea.
I'm a K-12 teacher turned full-stack developer. I worked in China for a few years where the state of the Internet is what it is, and that meant that schools had to do a lot of self-hosting of open source things like Moodle. I got into programming professionally working with my school at the time to improve the stack. Then I moved to Malaysia, where the internet is much more open, and so schools really love using GAFE (Google Apps for Education). So I started digging into that, too, as a part of my job, and to customize that, we need to use Google Apps Script, which is based on Javascript.
The way the programming works in Google Apps Script is that you open a browser window, and use some pretty basic debug tools, and the module situation with Javascript is what it is .... imagine my horror when I was used to having Python on my local machine, and all the wonderful tools that I have to go with that. I did look into some Python -> JS stuff, but found them not really able to solve the problem I had, which is, "Please let me code in Python and translate it into JS."
What I am really curious about is if Transcrypt could somehow be used as a kind of supplemental development environment for building Google Apps Script (GAS) stuff. I am imagining writing some really great, functional code in Python (with multiple inheritance, really!?), and then being able to seamlessly bring it over to the GAS environment. One issue will be that not all of JS is implemented in GAS, and from the podcast there is a way to write pure JS. For example GAS has a lot of pre-defined objects that simplifies a broader API, like in this line:
var sheet = SpreadsheetApp().getActiveSpreadsheet().getSheetByName(name);
I am about to travel for a few days, but I am really curious to start a conversation and would be very interested in hearing initial thoughts from the developer on this idea.