I didn't explain myself properly. In fact, the stacking process would issue all 
the non-processed script at once in the same script separated by semi-colons, 
and maybe by a very short delay to give the illusion of successive scripts.
I haven't tried yet the signed applet with the new 50ms delay, will keep you 
informed of my progress
-Paul

Le 24 juil. 2010 à 20:00, Robert Hanson a écrit :

> 
> 
> On Sat, Jul 24, 2010 at 2:00 AM, Paul Pillot 
> <paul.pil...@ac-orleans-tours.fr> wrote:
> I think I will implement a kind of script stacking, that would store pending 
> scripts while the applet finishes the current script and would fire the 
> pending scripts in one row, afterwards.
> 
> 
> Oh, I wouldn't recommend that. It would be very difficult to manage and would 
> just be complete overkill. That is precisely what Jmol is already doing -- 
> all the scripts enter a queue and are processed only after the previous 
> script is complete. So I can't imagine that you could do any more than that, 
> except slow that process down. You might remember that that was one of my 
> first contributions to Jmol, which fixed a vexing problem where scripts were 
> running at the same time rather than sequentially. 
> 
> Exactly what you suggest, by the way, is implemented in Jmol Protein Explorer 
> -- See http://chemapps.stolaf.edu/pe/protexpl/js/top_func.js -- so look there 
> if you must -- but really, that was all designed by the ingenious Eric Martz 
> prior to my introduction of the script queue business. In the end it turned 
> out to be sort of useful -- it now allows me to use the signed applet as a 
> "proxy server" for getting the text of any web page into JavaScript -- 
> something that otherwise requires AJAX. And that is how we get the 
> Proteopedia Wiki entries in there. 
> 
> Bob
> 
> 
> 
>  
> -Paul
> 
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
> 
> 
> 
> 
> -- 
> Robert M. Hanson
> Professor of Chemistry
> St. Olaf College
> 1520 St. Olaf Ave.
> Northfield, MN 55057
> http://www.stolaf.edu/people/hansonr
> phone: 507-786-3107
> 
> 
> If nature does not answer first what we want,
> it is better to take what answer we get. 
> 
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- 
> http://p.sf.net/sfu/sprint-com-first_______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to