Re: Pyrolite and JavaScript in browser

Irmen de Jong <[email protected]> Sun, 08 Mar 2015 00:56:01 +0100
Newsgroups gmane.comp.python.pyro
Message-ID <[email protected]>
On 8-3-2015 0:49, Irmen de Jong wrote:

> The default is set to "http." and that is probably not what your object names start
> with. Either rename your objects or use a different expose pattern.

Forgot to write:
As the pattern is just a regex, you can set it to ".*" and this will expose *all*
objects. Because it matches any object name. That is okay for testing, but likely not
what you want to ship, because it exposes all your registered objects including the name
server itself. Hence the choice of the default "http." so that only objects starting
with that are exposed via the http gateway.

The browser page of the http gateway lists the exposed objects as well, so as long as
your object names are not shown, they're not accessible because of a mismatching expose
pattern.


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/