A Pattern from the HTML Pattern Language at Anamorph

Node-Based Documents

This pattern might be the most interesting to programmers...

I'm thinking out loud here; I don't have a lot to say about this yet other than it seems that the documents here are divided into nodes. The Introductory Node is the top node; it contains a Table of Contents that points to the other nodes in the document.

In moving to an all-cgi environment, in which all HTML is stored in a database and served as needed, it might be useful to work with a Node class, each instance of which can be retrieved and used in as many documents as necessary. Subclasses would include Index Node, CGI Node, Discussion Node, etc...


Related Patterns

Readable Documents
Document-Format Consistency
Document-Content Listing
Evolving Documents


Discussion

Has this been done? Is it being done? Does it make sense? Let me know.


References


A Pattern from the HTML Pattern Language at Anamorph
Last Updated: May 17, 1995. Created May 17, 1995
Copyright 1995 Robert Orenstein. Your Comments are welcome: atempaddress@netscape.net