skip to main content
OSTI.GOV title logo U.S. Department of Energy
Office of Scientific and Technical Information

Title: Add Java extensions to your wiki: Java applets can bring dynamic functionality to your wiki pages

Abstract

Virtually everyone familiar with today’s world wide web has encountered the free online encyclopedia Wikipedia many times. What you may not know is that Wikipedia is driven by an excellent open-source product called MediaWiki which is available to anyone for free. This has led to a proliferation of wiki sites devoted to just about any topic one can imagine. Users of a wiki can add content -- all that is required of them is that they type in their additions into their web browsers using the simple markup language called wikitext. Even better, the developers of wikitext made it extensible. With a little server-side development of your own, you can add your own custom syntax. Users aware of your extensions can then utilize them on their wiki pages with a few simple keystrokes. These extensions can be custom decorations, formatting, web applications, and even instances of the venerable old Java applet. One example of a Java applet extension is the Jmol extension (REF), used to embed a 3-D molecular viewer. This article will walk you through the deployment of a fairly elaborate applet via a MediaWiki extension. By no means exhaustive -- an entire book would be required for thatmore » -- it will demonstrate how to give the applet resize handles using using a little Javascript and CSS coding and some popular Javascript libraries. It even describes how a user may customize the extension somewhat using a wiki template. Finally, it explains a rudimentary persistence mechanism which allows applets to save data directly to the wiki pages on which they reside.« less

Authors:
Publication Date:
Research Org.:
Pacific Northwest National Lab. (PNNL), Richland, WA (United States)
Sponsoring Org.:
USDOE
OSTI Identifier:
951039
Report Number(s):
PNNL-SA-61192
TRN: US200911%%185
DOE Contract Number:  
AC05-76RL01830
Resource Type:
Journal Article
Journal Name:
JavaWorld, (August 12, 2008 )
Additional Journal Information:
Journal Name: JavaWorld, (August 12, 2008 )
Country of Publication:
United States
Language:
English
Subject:
99 GENERAL AND MISCELLANEOUS//MATHEMATICS, COMPUTING, AND INFORMATION SCIENCE; JAVA; WEBSITES; DICTIONARIES; IMPLEMENTATION; java; wiki; mediawiki; clustering; extensions; applets

Citation Formats

Scarberry, Randall E. Add Java extensions to your wiki: Java applets can bring dynamic functionality to your wiki pages. United States: N. p., 2008. Web.
Scarberry, Randall E. Add Java extensions to your wiki: Java applets can bring dynamic functionality to your wiki pages. United States.
Scarberry, Randall E. 2008. "Add Java extensions to your wiki: Java applets can bring dynamic functionality to your wiki pages". United States.
@article{osti_951039,
title = {Add Java extensions to your wiki: Java applets can bring dynamic functionality to your wiki pages},
author = {Scarberry, Randall E},
abstractNote = {Virtually everyone familiar with today’s world wide web has encountered the free online encyclopedia Wikipedia many times. What you may not know is that Wikipedia is driven by an excellent open-source product called MediaWiki which is available to anyone for free. This has led to a proliferation of wiki sites devoted to just about any topic one can imagine. Users of a wiki can add content -- all that is required of them is that they type in their additions into their web browsers using the simple markup language called wikitext. Even better, the developers of wikitext made it extensible. With a little server-side development of your own, you can add your own custom syntax. Users aware of your extensions can then utilize them on their wiki pages with a few simple keystrokes. These extensions can be custom decorations, formatting, web applications, and even instances of the venerable old Java applet. One example of a Java applet extension is the Jmol extension (REF), used to embed a 3-D molecular viewer. This article will walk you through the deployment of a fairly elaborate applet via a MediaWiki extension. By no means exhaustive -- an entire book would be required for that -- it will demonstrate how to give the applet resize handles using using a little Javascript and CSS coding and some popular Javascript libraries. It even describes how a user may customize the extension somewhat using a wiki template. Finally, it explains a rudimentary persistence mechanism which allows applets to save data directly to the wiki pages on which they reside.},
doi = {},
url = {https://www.osti.gov/biblio/951039}, journal = {JavaWorld, (August 12, 2008 )},
number = ,
volume = ,
place = {United States},
year = {Tue Aug 12 00:00:00 EDT 2008},
month = {Tue Aug 12 00:00:00 EDT 2008}
}