25.10.2014 Views

Thesis full text (PDF) - Politecnico di Milano

Thesis full text (PDF) - Politecnico di Milano

Thesis full text (PDF) - Politecnico di Milano

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Through the entry unit in figure 4.1 we can create new user on the social network. When the user<br />

presses the submit button, chain of operations is triggered: a new user instance is created and add<br />

a property value to the instance called ID.<br />

Figure 4.1: Example of WebML hyper<strong>text</strong> specification<br />

The example in figure 4.2 shows the WebML model of a page called Create New Group,<br />

allowing the user to create a new group. Through the entry unit the user can create a group in the<br />

social network. The get unit retrieves the data of the current user from the session. When the user<br />

submits, a chain of operations is triggered: a new Group instance is created and also add its<br />

property and is associated to the current user (relationship creator, member) and to the current<br />

Group (relationship membership, creation).<br />

The WebML language is extensible, allowing for the definition of customized operations and<br />

units. The WebML models are provided with primitives for representing Web Services<br />

interactions [56][57], workflows constraints [58], con<strong>text</strong>-aware behavior [59], and Semantic<br />

Web Services [60]. WebML has been implemented in the tool WebRatio 3 [61], a C.A.S.E.<br />

3 http://www.webratio.com<br />

67

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!