Bob Hanson wrote:
> 3) By pre-specifying what file types will be used, Jmol.js can build an
> applet tag that only loads code for those specific file types,
> or at least a small subset containing them and a few others.
> I suggest something like:
>
> jmolSetFileTypes("xyz,mol,cif,pdb")
>
> or even,
>
> jmolSetFileTypes("file=xxxx.class,file=yyyy.class")
>
> which means simply that you will provide your own .class files for
> the specific readers you need.
>
> 4) By pre-specifying what options will be used, Jmol.js can build an
> applet tag that only loads a limited amount of the functionality
> capable in Jmol. I suggest:
>
> jmolSetOptions("nobio,noxtal,nothis,nothat")
>
Why don't we simply split Jmol into several jars ?
Like it's currently done, but with a better partition ?
The current problem, as I said in a previous mail, is that at least one
class is required in each JmolAppletX.jar for even the most basic stuff.
That's why everything needs to be loaded before Jmol can run.
If we split Jmol into well thought jars, we should achieve the same
speed increase in loading without needing special calls from the web
page designer, and without restrictions on functionality.
>
> Here's how we get there:
>
> 1) We modify Jmol to be more flexible in its file loading. That I
> can do today with no problem. Kind of a pain, but it will be worth it.
>
> 2) We modify Jmol to be more flexible in regard to loaded options. This
> is trickier, because we will have to automatically produce appropriate
> menus. That's easier than it might sound, because we actually do that
> anyway, but it will take more considered thought.
>
> 3) We modify Jmol.js to deliver different sets of jar files depending
> upon user specifications.
>
> 4) We do some road tests to see how much of a difference all this makes.
>
>
> I'm starting on (1) now.
>
> If someone else could work on the Jmol.js part, that would be great.
>
> If someone has better ideas, tell us now!
>
Several jars ;)
Nico
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers