18.04.2013 Views

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

Dissertaç ˜ao de Mestrado Mestrado em Engenharia Informática Jo ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

3. AN APPLICATION RECONFIGURATION FRAMEWORK 3.3. Original to Generic syntax Converter<br />

!!""#$%&'$()*<br />

+$)&,$-.<br />

!/()0$12,&'$()*<br />

0$#-.<br />

!""#$%&'$()*0$#-.<br />

?<br />

5,$1$)&#*'(*1-)-,$%*<br />

.3)'&4*%()6-,'-, !/()0$12,&'$()*0$#-*<br />

!/()0$12,&'$()*0$#-*<br />

$)*(,$1$)&#*.3)'&4<br />

<<br />

$)*1-)-,$%*.3)'&4<br />

7$#-*8(9$0$%&'$()<br />

=<br />

Figure 3.1: SmART Work Flow<br />

;-)-,$%*'(*(,$1$)&#*<br />

.3)'&4*%()6-,'-, !!""#$%&'$()*<br />

!:(9$0$-9*<br />

%()0$12,&'$()*0$#-*<br />

$)*1-)-,$%*.3)'&4<br />

><br />

+$)&,$-.<br />

!:(9$0$-9*0$#-*$)*<br />

(,$1$)&#*.3)'&4<br />

!""#$%&'$()*0$#-.<br />

Component Description<br />

User Interface The User Interface makes the link between the user and the<br />

tool. It can be thought of as a command interpreter, which<br />

reacts to user or<strong>de</strong>rs by calling other tool components. Additionally,<br />

it is used to simplify some otherwise complex<br />

tasks, such as building grammars for configuration files.<br />

Table 3.1: Presentation Layer Components<br />

<strong>de</strong>fines three inter-related tiers, each with its own responsibilities. In this work context, the<br />

tiers are:<br />

Presentation Layer. Contains the presentation logic, including simple control and user input<br />

validation.<br />

Logic Layer. Contains the processing logic and the data access.<br />

Storage Layer. Provi<strong>de</strong>s the data storage.<br />

In this topology, each layer is modifiable without interfering with the others, increasing<br />

modularity.<br />

The three-tier architecture is <strong>de</strong>picted in Figure 3.2. However, the OGC does not follow a<br />

strict three-tier architecture, as later on, it is seen that some components on the presentation<br />

layer interact with those on the storage layer.<br />

The components <strong>em</strong>ployed by the OGC are now briefly <strong>de</strong>scribed. Table 3.1 presents the<br />

components used by the Presentation Layer, Table 3.2 contains the <strong>de</strong>scription of the Logic<br />

Layer components and Table 3.3 introduces the components used by the Data Layer.<br />

3.3.1 Component Description<br />

This section provi<strong>de</strong>s a <strong>de</strong>scription for each component required by OGC. First, the task of each<br />

component is briefly analysed and then, the operations of each component are more thoroughly<br />

25

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

Saved successfully!

Ooh no, something went wrong!