Create fast pages: Difference between revisions

From Proteopedia
Jump to navigation Jump to search
Jaime Prilusky (talk | contribs)
No edit summary
Angel Herraez (talk | contribs)
some rewording, particularly to avoid "applet" which may now be unknown to users
 
(21 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Simple tips to improve the load and rendering time of your Proteopedia pages.
Simple tips to improve the load and rendering time of your Proteopedia pages.


* '''Keep the Jmol applet down to a reasonable size'''. A larger Jmol applet increases exponentially the resources demand on the browser and the user computer. You may display enough details on an applet of size 300. The user may always click on the popup button to get a full screen applet, if needed.
* '''Keep the J(S)mol object down to a reasonable size'''. A larger J(S)mol object increases exponentially the demand of resources on the browser and the user computer. You may display enough details with a size of 300. The user may always click on the 'popup' button to get a full screen J(S)mol object, if needed.
* '''Keep the opening scene simple'''. Set the Jmol to display a simple and fast loading scene when loading the page. This will allow for the whole page to become ready in the shortest possible time. Give the user access to the heavier and more elaborated scenes via green links. [[Image:Scrolling tool.jpg|frame]]
* '''Use just one J(S)mol object per page''': Unless you really need simultaneous and parallel display of multiple Jmol/scenes within a page, use the ''one applet-scrolling layout'' page format. The many advantages include keeping the Jmol object always visible, enabling the user to scroll the text while reading (see image below), with the green links close to the rendering Jmol object. 
 
* '''Do not use Flash movies''' as [http://http://www.mediawiki.org/wiki/Extension:Flash this extension has been removed from MediaWiki] and thus will not work in ''Proteopedia''. Instead convert the Flash movie to 'mp4' with one of many web resources available, e.g. 'SWF Converter for Mac'. A example of a page with Flash movies converted to an mp4 movie can be seen at: [[User:Jaime_Prilusky/Test/Alpha_Subunit_of_Thermus_aquaticus_DNA_Polymerase_III|Alpha Subunit of Thermus aquatics DNA Polymerase III]].

Latest revision as of 20:13, 6 September 2014

Simple tips to improve the load and rendering time of your Proteopedia pages.

  • Keep the J(S)mol object down to a reasonable size. A larger J(S)mol object increases exponentially the demand of resources on the browser and the user computer. You may display enough details with a size of 300. The user may always click on the 'popup' button to get a full screen J(S)mol object, if needed.
  • Keep the opening scene simple. Set the Jmol to display a simple and fast loading scene when loading the page. This will allow for the whole page to become ready in the shortest possible time. Give the user access to the heavier and more elaborated scenes via green links.
  • Use just one J(S)mol object per page: Unless you really need simultaneous and parallel display of multiple Jmol/scenes within a page, use the one applet-scrolling layout page format. The many advantages include keeping the Jmol object always visible, enabling the user to scroll the text while reading (see image below), with the green links close to the rendering Jmol object.

Proteopedia Page Contributors and Editors (what is this?)Proteopedia Page Contributors and Editors (what is this?)

Jaime Prilusky, Joel L. Sussman, Angel Herraez