On Feb 8, 2006, at 4:29 p, Nicolas Vervelle wrote:
Bob Hanson wrote:
Currently I've got getProperty() working from within Viewer, and
only intended for use by the applet; I'd like to know more about
how a "common" interface might be set up. Presumably this means
that the applet and app would have the same interface but
implement these differently -- one using JSON objects; the other
some sort of agreed-upon Java data structures. I don't in any way
want to imply that I know how to do this.
I like Miguel's idea that a common class could generate Java
structures that could then be simply converted into JSON objects
on the fly instead of creating two distinct parallel methods.
Let's try to work on how to make it useable for both Java and
JavaScript.
First, I think we should concentrate on defining the kind of data
structure the getProperty() mechanism should be able to return.
hi all,
I apologize but, at the moment, I am up to my ears in things, and I
don't have time right now to comment thoughtfully on the callback
replacement implementation. that said, though, I think the data
structure will depend a lot on what data the user will want. so how
about posing the question to the users list and seeing what folks think?
my own feeling is that user access to the data should be as simple as
possible, since a large majority of Jmol users are non-programmers.
best,
tim
--
Timothy Driscoll em: [EMAIL PROTECTED]
molvisions - see. grasp. learn. ph: 919-368-2667
<http://www.molvisions.com/> im: molvisions
usa:virginia:blacksburg tx: [EMAIL PROTECTED]
"Let each and every cell rejoice! For today we celebrate the first,
glorious anniversary of the Information Purification Directive! We
have created, for the first time in all history, a garden of pure
ideology, where each worker may bloom secure from the pests of
contradictory and confusing truths."
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers