Abstract
HotJava is a World-Wide Web browser that adds dynamic behavior to hypertext access by supporting the downloading and execution of architecture-neutral, interactive applets from inside a Web page. HotJava is written in Java, a new object-oriented language and environment developed at Sun Microsystems.
This paper describes the design of the documentation for Java’s application programming interface (API), for display and distribution on the World-Wide Web. Following in the footsteps of the literate programming paradigm, the documentation was automatically generated from source code. We designed a syntax for documentation comments which are embedded in the source code and parsed by the Java compiler to produce HTML markup.
The display environment of the World-Wide-Web presented many challenging design requirements for readability, usability, and navigation. This paper discusses the design process, from augmenting the source code commenting syntax to designing the layout for the Web pages. The resulting product is a set of integrated Web pages which are hyperlinked, highly readable, and easily navigated. The API documentation was first published on the World-Wide Web in December of 1994.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bentley J., “Programming Pearls: Sampling,” CACM, May, 1986.
Brown M. and Childs B. “An Interactive Environment for Literate Programming,” Journal of Structured Programming, Vol. 11, No. 1, 1990.
Cordes D. and Brown M. “The Literate-Programming Paradigm,” Computer, June 1991.
ICON Programming Specification. http://www.cs.arizona.edu/icon/www/reference.html.
Knuth D., “Literate Programming,” Computer Journal, May 1984.
Knuth D., Literate Programming, Center for the Study of Language and Information, Stanford University, 1992.
Knuth D. and Levy S., The CWEB System of Structured Documentation, Addison-Wessley, 1993.
Lippman S., C++ Primer, Addison-Wesley, 1991.
HTML Primer. http://www.ncsa.uiuc.edu/demoweb/html-primer.html
PERL Programming Specification. http://www.metronet.eom/0/perlinfo/per15/manual/perl.html
Ramsey N., Literate Programming Simplified. IEEE Software, September, 1994.
HotJava Home Page. http://java.sun.com/
Java API. http://java.sun.com/l.0alpha2/doc/api/packages.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1996 British Computer Society
About this paper
Cite this paper
Friendly, L. (1996). The Design of Distributed Hyperlinked Programming Documentation. In: Fraïssé, S., Garzotto, F., Isakowitz, T., Nanard, J., Nanard, M. (eds) Hypermedia Design. Workshops in Computing. Springer, London. https://doi.org/10.1007/978-1-4471-3082-6_17
Download citation
DOI: https://doi.org/10.1007/978-1-4471-3082-6_17
Publisher Name: Springer, London
Print ISBN: 978-3-540-19985-4
Online ISBN: 978-1-4471-3082-6
eBook Packages: Springer Book Archive