Symbian3/SDK/Source/GUID-BDDDF68F-F7C3-43AF-8B6C-C77C701FD2A9.dita
changeset 8 ae94777fff8f
parent 7 51a74ef9ed63
child 13 48780e181b38
equal deleted inserted replaced
7:51a74ef9ed63 8:ae94777fff8f
    15 different architecture solutions to meet their requirements. One example of
    15 different architecture solutions to meet their requirements. One example of
    16 a common approach includes the Model - View - Controller (MVC) pattern used
    16 a common approach includes the Model - View - Controller (MVC) pattern used
    17 in GUI-based applications. In this approach, the application is split into
    17 in GUI-based applications. In this approach, the application is split into
    18 three separate logical parts. Each part contains a different aspect of the
    18 three separate logical parts. Each part contains a different aspect of the
    19 entire application, and has a specific role.</p>
    19 entire application, and has a specific role.</p>
    20 <fig id="GUID-5E3A844B-CCF3-4F2A-82A9-DA7A5B65A572"><title>Logical dependencies in the MVC pattern</title><image href="GUID-A5E152B2-F15C-4809-A52A-BCDDBCD93255_d0e41998_href.png"/></fig>
    20 <fig id="GUID-5E3A844B-CCF3-4F2A-82A9-DA7A5B65A572"><title>Logical dependencies in the MVC pattern</title><image href="GUID-A5E152B2-F15C-4809-A52A-BCDDBCD93255_d0e36431_href.png"/></fig>
    21 <p>In this approach, the model:</p>
    21 <p>In this approach, the model:</p>
    22 <ul>
    22 <ul>
    23 <li><p>contains and manipulates the data in the application</p>
    23 <li><p>contains and manipulates the data in the application</p>
    24 </li>
    24 </li>
    25 <li><p>is owned by the controller</p></li>
    25 <li><p>is owned by the controller</p></li>
    51 architecture</xref>.</p></li>
    51 architecture</xref>.</p></li>
    52 <li><p>requires the implementation of <xref href="GUID-4F825D83-47A4-36C9-9A25-943A6D799F84.dita"><apiname>CAknApplication</apiname></xref> and <xref href="GUID-935C59EE-AD66-33FE-987B-BD97F5147CC1.dita"><apiname>CAknDocument</apiname></xref> derived
    52 <li><p>requires the implementation of <xref href="GUID-4F825D83-47A4-36C9-9A25-943A6D799F84.dita"><apiname>CAknApplication</apiname></xref> and <xref href="GUID-935C59EE-AD66-33FE-987B-BD97F5147CC1.dita"><apiname>CAknDocument</apiname></xref> derived
    53 classes.</p></li>
    53 classes.</p></li>
    54 </ul>
    54 </ul>
    55 <p>The pattern is implemented with the following classes.</p>
    55 <p>The pattern is implemented with the following classes.</p>
    56 <fig id="GUID-B4508A88-B688-4BB7-B42A-31BFF41CD4FA"><title>Relationship between the classes that make up a typical Symbian application</title><image href="GUID-36BB14BD-34B3-4F5D-A670-707710E57585_d0e42116_href.png"/></fig>
    56 <fig id="GUID-B4508A88-B688-4BB7-B42A-31BFF41CD4FA"><title>Relationship between the classes that make up a typical Symbian application</title><image href="GUID-36BB14BD-34B3-4F5D-A670-707710E57585_d0e36549_href.png"/></fig>
    57 <p>The <xref href="GUID-4F825D83-47A4-36C9-9A25-943A6D799F84.dita"><apiname>CAknApplication</apiname></xref>-derived class:</p>
    57 <p>The <xref href="GUID-4F825D83-47A4-36C9-9A25-943A6D799F84.dita"><apiname>CAknApplication</apiname></xref>-derived class:</p>
    58 <ul>
    58 <ul>
    59 <li><p>provides the application object expected by the application
    59 <li><p>provides the application object expected by the application
    60 framework when the application is launched.</p></li>
    60 framework when the application is launched.</p></li>
    61 <li><p>defines the application properties.</p></li>
    61 <li><p>defines the application properties.</p></li>