Re: Pyrolite and JavaScript in browser

Irmen de Jong <[email protected]> Sat, 07 Mar 2015 16:10:57 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 7-3-2015 15:52, Bzzzz wrote:
> On Sat, 07 Mar 2015 15:41:06 +0100
> Richard <[email protected]> wrote:
> 
>> Thanks! That seems to work. Now I am trying to get the gateway to
>> work. A few examples would be welcome...
>> If I enter:
>>
>> http://localhost:8080/pyro/test/echoserver
>>
>> I get:
>>
>> 403 Forbidden - access to the requested object has been denied
> 
> Clone the repo (https://github.com/irmen/Pyro4) in a nice place,
> cd docs, make html to build docs into html, then point your browser to:
> file:///zeniceplaceiputpyro4/build/sphinx/html/ to read them;
> eventually, juste keep or move /examples & /build.
> 

Or just visit http://pythonhosted.org/Pyro4/    :-)

The httpgateway is described in:
http://pythonhosted.org/Pyro4/tipstricks.html#pyro-via-http-and-json

If you view-source the browser page of the gateway, you can see how I did the couple of
examples there (I used jquery).


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/