|
Website Analysis
The relational model presented here is the result of the analysis of a set of requirements for a simple but well structured Website. The Website has one Home Page that displays a number of graphical and textual links to corresponding Sub Pages which have the actual content. A UML Class diagram of the Website model is shown below:
 |
There are several areas of interest in the model. The diagram's central structure is the Page super sub type relationship. A web Page can either be a Home Page or a Sub Page displaying content. The Layout super sub type relationship set out opposite, simply defines what things make up a Page. All pages have a Logo in the top left corner, a Banner across the top and a Copyright notice at the bottom. Only Sub Pages (content pages) have a Menu. It is made up of several links to other Sub Pages. The content for a Sub Page is drawn from a Body Text object that holds HTML code for the content area for the Sub Page. The Body Text object is included as a means of simplifying the model (as are the file spec attributes distributed around the diagram). Home Pages have a two dimensional array of links contained in a Nav Matrix. Each Nav Matrix can have several rows called Nav Blocks and each Nav Block is formed from a number of Nav Block Cells which contain a picture, title and subtitle. They all provide a link to the relevant Sub Page.
|