Re: Pyrolite and JavaScript in browser

Irmen de Jong <[email protected]> Sat, 07 Mar 2015 12:25:14 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 7-3-2015 11:23, Richard wrote:
> My idea is to run csound synthesizers on a headless, GUI-less Raspberry Pi.
> A client running in a browser should provide the interface in the form 
> of sliders, etc, written in jQuery, JavaScript.
> The interface to csound would be a Pyro Python program running on the Pi.
> Could I use Pyrolite for the browser part to connect to JS?
> 

Pyrolite is for .NET and Java, not javascript.

Have a look at the recently introduced httpgateway in Pyro, which offers a simple REST
interface that talks Json. You can easily access that via javascript.

Irmen


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/