On 12/12/2012 12:40 AM, LMH wrote:
> I was thinking of using ruby on rails or ruby sinatra to create the
> webpage (instead of php). This is in part because I am using ruby to
> access the sqlite database. I think that it will not be too bad to
> render the rest of the data in a browser, I just don't know how to
> display the structure.
>
> I guess that the main issue is finding a solution that will easily allow
> the mixing of content on the page. Something like code that will just
> "display this structure here" would be nice.
>
Wouldn't it be much more efficient to precompute the images for all 
structures in the database (if the number is not extremely large like a 
million or so) and then just present tables of images?
For the user it will presumably be much faster, especially after the 
images were cached. The gain will of course depend on the image size 
compared to the speed of the structure drawing application.

We do this for example for the JenaLib 
(http://www.fli-leibniz.de/IMAGE.html) with Jmol for all about 90,000 
structures resulting in about 300,000 precomputed images.

Regards,
Rolf


-- 

Rolf Huehne
Postdoc

Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
Beutenbergstrasse 11
07745 Jena, Germany

Phone:   +49 3641 65 6205
Fax:     +49 3641 65 6210
E-Mail:  rhue...@fli-leibniz.de
Website: http://www.fli-leibniz.de

           Scientific Director: Prof. Dr. K. Lenhard Rudolph
        Head of Administration: Dr. Daniele Barthel
Chairman of Board of Trustees: Dennys Klein

VAT No: DE 153 925 464
Register of Associations: No. 296, Amtsgericht Jena
Tax Number: 162/141/08228


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to