gbishop / outfox

Automatically exported from code.google.com/p/outfox
Other
1 stars 0 forks source link

Service dynamic JS API extension #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As the response to a service start command, let the service return a valid,
anonymous JS object with methods defining the API for that service. The
base outfox object in JS should assign this object to outfox.<service name>
for use. It should then call the init method on that JS object to give it a
chance to communicate with its server backend to get any initial
configuration it needs before invoking the callback for a successful
service start. If the object needs no additional info from the backend,
init should invoke the callback immediately.

Original issue reported on code.google.com by c...@unc.edu on 18 Sep 2008 at 1:46

GoogleCodeExporter commented 9 years ago
In services branch rev 110

Original comment by c...@unc.edu on 23 Nov 2008 at 6:23