Home arrow Howto arrow Howto Start with UiaML
Howto Start with UiaML PDF Print E-mail
Written by Alex   
Monday, 08 October 2007
Article Index
Howto Start with UiaML
The UiaML sitemap view
The UiaML contentarea view
- The Welcome contentarea
- The Liquorice information contentarea
- The Menu contentarea
- The Assortment contentarea
- The Order contentarea
- The Ordermail contentarea
Documenting it all

The UiaML sitemap view

Done with the preliminary phase, we can continue by modeling the UiaML sitemap view (SMV). This phase requires the following steps:


    • Draw a sitemap (representation of a single application window) and name it

    • Define the contentarea's that will cover you goals as specified on the semantic level

    • Define the containers (pages) that will hold the contentarea's

    • Define flow between your pages and additional contentarea's in as required to support you goals.


We'll exercise those steps by continuing our Drop Shop example.

We start by drawing a sitemap symbol , that represents the application window that holds our order site and will name it: “De Drop Shop”.

Image

 

Next we determine the contentareas that will hold the information we want to provide. In our example case we will need at least contentareas for:

  • the location and opening hours of the shop

  • liquorice background information

  • and a menu that will enable us to navigate the site.


Image

We further add the required documentation belonging to the image above.


Contentarea ID

Liquorice information

Description

Information about the liquorice plant and the production process of the liquorice sweats.


Contentarea ID

Menu

Description

Navigational menu


Contentarea ID

Welcome

Description

Opening hours and location information of the shop.


Next we will place the contentarea's into pages . Since the menu contentarea is required by each page, we duplicate it. For each page we need to define whether it is a homepage (there can only be one, indicated by a thick frame) and/or a landing page.

Image


Page ID

Information page

Startpage

No

Landingpage

No


Page ID

Homepage

Startpage

Yes

Landingpage

Yes

 

You might have noticed the menu consistently drawn on the left side. This is no problem, because the UiaML core is about the semantic design. The UiaML graphical design plugin will solve this issue.

Next we add the navigational links to the model. Each link starts within a contentarea and point toward a page. Of each different contentarea there is exactly one contentarea the defines the links. That contentarea has its contentarea identifier underlined. As you can see from the image below; the liquorice information contentarea has no links and the defining contentarea of the menu contentarea is the one within the homepage. The menu contentarea of the information page inherits the links from the menu contentarea of the homepage.

Image

By inheriting the links the menu from the information page inherits a link from the menu contentarea toward the homepage. So instead of drawing the defining contentarea of menu within the homepage (see image above) we could have also chosen to draw it within the information page (see image below).

Image

 

Adding the use cases

As you might have noticed: we skipped the contentareas / pages that will show the assortment and handle the order respectively the ones that express the “Order licquorice” use case.

For documentation purposes we want to model those contentareas / pages separately in order get the focus right and to avoid a crowded sitemap that might hold several use cases.

We start with an empty sitemap that has the same identifier than the sitemap we used above.

Next we add a contentarea that will show the licorice assortment and will allow us to order them by entering a quantity per product and providing the delivery address, email-address and comment field as stated in step 2 of the main scenario of the use case.

We further a contentarea that will give us an overview of the order (see step 4.2 of the use case). And finally one contentarea that will hold our e-mail message (see step 6 of the use case).

Image


Contentarea ID

Assortment

Description

List of products that can be ordered online, as wel as fields to provide the delivery address, the email address and a comment.


Contentarea ID

Order

Description

Overview of the ordered products and entered field values. The order will be definitive as soon as the customer hits the submit button.


Contentarea ID

Ordermail

Description

Same information as provided by the order, but this time there will be no submit button and the information will be e-mailed toward the shop owner and the customer.

In order to support the alternative scenario of step 3 and 5 we'll add the menu contentarea to our model. And place the contentareas within page containers .

Image


Page ID

Productpage

Startpage

No

Landingpage

No


Page ID

Order page

Startpage

No

Landingpage

No


Page ID

Ordermail

Startpage

No

Landingpage

No

 

The last step to finish our sitemap is adding the links. First we will add a link from the assortment toward the OrderPage. But as step 4.1 of the use case states, the system will have to check whether the provided information is valid and in case it's not will navigate back toward the Productpage (see alternative scenario at 4.1 of the use case). To express this within the UiaML sitemap view we use the Choice element .

Image

 

 

Choice ID

Validate

Decision description

Check if an email address and a delivery address has been provided and whether or not there has been ordered any product.

Decision base

We need to model the contentarea view first to determine the decision base.

 

Next we need to think about the integration of our sitemap with the rest of the site. Let's say that we will be able to reach our Productpage from the contentareas Welcome and Menu. To express the link from the menu/welcome contentarea toward the Productpage without drawing the Productpage itself within our first sitemap we use a reference page symbol . In the sitemap that holds our Productpage we'll use reference contentarea symbols to express the origin of the links toward the Productpage.

We will use the same trick to express a link from the order contentarea toward the Homepage.

Image

 

We also adapt the SMV that shows the Homepage to get a consistent navigation model.

Image 

The last thing we'll need to take care of is to express that our email get send as soon as the link from the order contentarea toward the Homepage is fired.

We'll do this by using an associative link from the submit link toward the OrderMail page.

UiaML currently can not express that our OrderMail page is actually an e-mail. It might also be a file that will be written to our harddrive or a page that will be printed. That it will be an e-mail has to be expressed within your documentation.

 

Image



Last Updated ( Monday, 07 January 2008 )
 
< Prev   Next >