Datastore client API

Robert Olson olson at mcs.anl.gov
Fri Jul 25 17:30:01 CDT 2003


I have committed AccessGrid.DataStoreClient and 
AccessGrid.DataStoreClientUI. These implement a simple high-level interface 
to a Venue datastore.

Within DataStoreClient is a ftp-ish command line client interface to the 
datastore. While useful on its own, it provides a set of examples of the 
interface to the datastore. To try it out, just run DataStoreClient.py at 
the command line

Notably, this module introduces methods that reutrn filehandles for reading 
from and writing to the venue datastore. The current implementation does 
this by simply downloading before read, and uploading after write. However, 
they should simplify the use of a venue datastore when those are the 
natural operations (for instance, with them one could pickle directly to 
and from venue datafiles).

I've committed an initial cut at documentation on this; a PDF of same is 
attached.

Tom - can you have a look at this and see what it'd take to move the 
powerpoint code to using it? I think it should simplify it quite a bit.

The missing piece in all of this is getting the URL to the venue passed to 
client apps that are invoked via the venue client. One way would be to pass 
this information in an environment variable, but it's unclear if wxExecute 
or wxShell pass environment variables through. When we're not executing 
with DDE we should be able to use one of the os.spawn variants to do this tho.

--bob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DataStoreClientAPI.pdf
Type: application/pdf
Size: 11879 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/ag-dev/attachments/20030725/38747117/attachment.pdf>


More information about the ag-dev mailing list