Guidelines: Rational Unified Process StyleTopicsThe Rational Unified Process Style Guide describes what conventions to use when developing the Rational Unified process online, organized in the following subsections: The style of the process site is enforced in a number of ways: theme, style sheet, and templates. These are covered below together with some additional style issues. These are guidelines. Stick to them to keep a uniform look throughout the documentation. If applying them in a given situation makes it look strange or confusing -- skip the guideline and use common sense. Cascading Style Sheets
Each page is linked to a Cascading Style Sheet. The style sheet for Rational Unified Process 5.1, is located at the top-level folder of Rational Unified Process 5.1. To link the stylesheet file to a page the following line should be included in the header (the section between <head> and </head>): <link rel="stylesheet" href="../../rop.css" type="text/css"> (The path given above assumes that rop.css is located in the parent-parent-folder. Adjust according to your actual relative path.) The Rational Unified Process templates have a link to the rop.css file already. In most cases Microsoft® FrontPage® manages to figure out the relative pathname once you save the new file in your file structure. If it does not work for some reason, simply edit the HTML code appropriately. There is a potential for overlap between the theme and the style sheet. Put everything that can be specified by the theme there, and the rest in the style sheet. In the style sheet, there are so called classes defined for different HTML markups. When a file linked to a style sheet is loaded in the Microsoft® FrontPage® editor, the style list will display these classes for you to choose from. Updates to the style sheet are immediately reflected, without any changes in the actual files. Sometimes the Microsoft® FrontPage® editor does not register the change, however, but a web-browser will, once you reload. You will find information on syntax and other details for stylesheets on Cascading Style Sheets. Style classes for Rational Unified Process
Different Browser SupportMicrosoft Internet Explorer 4.0 supports all the stylesheet features we are using. (Rational Unified Process 5.1) Netscape Navigator 4.04 - 05 shows the following signs of lack of support:
Theme
A theme governs navigation buttons, bullets, background, link colors, font styles and sizes for regular text and headings, and more. Here are some of the features and disadvantages:
If You are Using a Microsoft FrontPage ThemeA Microsoft® FrontPage® theme can be edited using the Theme Designer, which can be installed from the Microsoft FrontPage CD. It takes quite a while to re-apply a theme to a site of this size, because every file is visited. This means that all files have to be checked out when re-applying a theme. Theme files are kept in the "themes" folder in the Microsoft FrontPage installation folder. The Sizes of the Different ButtonsMicrosoft FrontPage dictates certain sizes for theme button images, in order to be compatible with pre-defined themes. If your buttons have other sizes, things will move around when you apply another theme. The current theme does not follow these guidelines, as a matter of fact, but here are the required dimensions:
The actual image can be smaller than specified, but the bitmap should have the above dimensions. Templates
When creating a new page, there are templates to get you started and they help you stay with the style of the site. These templates need to be installed in the Microsoft® FrontPage® "pages" folder.
See also the Authoring Web Pages. TopIn order to let the user quickly return to the top of a page, you should place a top bookmark there and after each major heading add the top-arrow with a link the top.
Note, that the icon file is "top.gif", and that the icon "up.gif"
refers to the up-button that will navigate you to the parent page. Bullets
Be consistent using capital or lower case letters, periods, and commas within a set of bullets. Use the style best suited for the information. Use bullets for unordered lists. Example: Full sentences
Example: A comma separated list
A comma separated list where Example: Simple listWhen you only have a list of concepts, names, etc. begin each bullet with a lower case letter. Don't use any commas, periods or similar. For example:
There are four different models in the Rational Unified process: Numbered ListsUse numbered lists for ordered lists, such as a sequence of steps. Let each item be a full sentence. Alpha listsUse style Numbered List.alpha to create ordered list with a, b, c, ... Italics and Bold
Use bold to emphasize. Do not use italics. Italic fonts are hard to read online, and may not work correctly in all web browsers. Chapter and Section Numbering
Whether to number headings or not is still a debate. Customers have requested a way to easily and uniquely reference sections of the material. Because of the dynamic nature of hypertext, numbered headings are hard to interpret, since the headings may be displayed outside the context of the numbered 'document'. To avoid confusion, use unique names for section headings, and full qualify section references using the name of the page as well as the name of the subsection where the subsection is ambiguous. Where you must number (as in brief outlines for documents), use the following convention: 1 Heading level 1 (three spaces between the number and the heading title) 1.1 Heading level 2 1.1.1 Heading level 3 Heading level 4 - 6 (no numbering) Deeper heading levels than 6 should not be used. An appendix is named using letters: Appendix A, Appendix B, Appendix C, etc. Examples
Normal.exampleExamples described separately from the body text should have the Normal.example style. Of course things can be exemplified directly in the body text as well. Every text with the Normal.example style should be preceded by a line with the text "Example:" as a Heading 5 (H5). Title Banner
In Rational Unified Process we do not use the Microsoft® FrontPage® component for page banners. (One reason is that they require updating in the Navigation View, which is a central file. Another reason is that we do not need the Navigation View for anything else, such as navigation bars, and it leaves one less thing to worry about.) Well, what do we use? There are two styles in the stylesheet for the top title: Heading 1.bannerand Heading 2.banner.Heading 1.banner is used in major workflow chapters and other "big" titles with few words. Heading 2.banner is used for all the objects in the process, e.g., Activity, Worker, Guideline, because these typically have long names. The templates show when they are used. Unfortunately Netscape Navigator and Microsoft Internet Explorer treat background color for text differently. Explorer colors the entire line from margin to margin, but Navigator only colors the area occupied by the text. Banners, Navigation View, and HTML Tag <title>If you do ever use the Navigation View and the Microsoft® FrontPage® component for banner, this might be good to know:
Pictures
Printed DocumentationFor pictures that go into printed documentation as well as online, do NOT use bitmaps. Exception to this rule is screen dumps. CorelDraw have been used to draw the diagrams in Rational Unified Process, which are exported from CorelDraw format to GIF-format. When creating printed documentation, the original CorelDraw picture is inserted into the proper chapter in Microsoft® Word. Some pictures are smaller than the minimum size that CorelDraw allows for exporting to GIF. These may need a CorelDraw version as well as a separately made bitmap version. See next section. Small Images for Online OnlyIcons, bullets, buttons, etc., that are only used online, can be created with a bitmap paint tool, such as Image Composer that comes with FrontPage, or CorelPaint. (Adobe PhotoShop is my current favorite. All these tools require some experimentation to get familiar with.) Export pictures to GIF-format. (CorelDraw has a minimum size for exporting GIF-files, and if it is not small enough you have to scale the picture and that usually gives an ugly result.) If icons are to be included in the printed version too, you need corresponding CorelDraw icons for that. CorelDraw TipsThis is not meant to replace the CorelDraw manual, but to share experience.
Exporting to GIF from CorelDrawTo export a picture to GIF
Reusing Pictures in Many PlacesYou can reuse a picture, even hotspot pictures, by placing them in an HTML-file by themselves and include them where you want them. This is useful for pictures that appear in more than one place.
Hotspot Pictures
It is very easy to create hotspots in pictures in Microsoft® FrontPage®.
Using Colors
First of all: colors take up lots of space -- think twice before using it! The web-browsers use 216 colors from what is known as the color cube. Using the RGB scheme, the 216 colors are made up from a triplet of {00, 51, 102, 153, 204, 255} (in hex that is {00, 33, 66, 99, cc, ff}). These are the ones already in CorelDraw's standard palette. We use a subset of these colors to keep the online version colorwise harmonious. In the picture below, you see the colors in our subset, plus what they are used for. As you can see, we aren't using all of them yet. The names of the colors are indicated to help you choose the right ones in CorelDraw. The RGB value is also indicated. There is a custom palette that you can use, with only the colors below included, plus black and white. Do as follows:
Tables
For headings in tables use style Normal.tableheading. The theme rules that there should be no borders around tables. In fact, they are there, but they are white. If you really want visible borders, override with local settings. Tables' placement:
Text alignment in cells
References
A 'thing' is a 'worker', 'artifact', 'guideline', 'activity', etc. And a 'thing page' is a page with an activity, worker, artifact or guideline, etc.
General guidelines for cross-references:
Return and Shift-Return (Vertical White Space)
File naming
The current file naming convention uses the abbreviations in the table below, and an abbreviated name of the contents of the file, separated by an underscore. For example, the artifact Use-Case Model is called ar_ucm.htm, and the modeling guideline for the Use-Case Model is md_ucm.htm. We are thinking of a different way of naming files, to accommodate the requirements of "unambiguous page referencing". Customers have expressed a need to be able to reference things in the process in an easy way, and it makes sense to use the same numbering or code in the filename (or at least some sort of obvious mapping).
Microsoft Word Template
There is a Microsoft® Word template for creating manuals for printing on paper. It is called rup.dot. A suggestions is to create a separate folder for Rational Unified Process Microsoft Word templates, for example named "RUP" in Microsoft Word's template folder (typically C:\Program Files\Microsoft Office\Templates) and place a copy of this template file, and others, there. For more information on using Microsoft Word see Working in Microsoft Word to find out how (not) to use Microsoft Word for HTML authoring, and the section Produce Manuals to find out how to create Microsoft Word manuals. Index Online
See The Rational Unified Process Tools User Guide, for information on how to generate an index. See the KeyWordIndex for more information on how to enter keywords into Rational Unified Process pages. |
|
|