52 lines
1.6 KiB
HTML
52 lines
1.6 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="..\styles.css">
|
|
</head>
|
|
<body>
|
|
<img src="..\..\da.png" alt="" align="right">
|
|
|
|
<!-------------------------------------------------------------------------->
|
|
|
|
<p class="h1">
|
|
<span>Mega Demo Sample</span>
|
|
</p>
|
|
|
|
|
|
<h2>Purpose</h2>
|
|
<p>
|
|
The sample shows:
|
|
</p>
|
|
<ul>
|
|
<li>
|
|
How we can work with several connections to different databases (Northwind - MS SQL and Employee - Firebird).
|
|
</li>
|
|
<li>
|
|
How we can implement security and access rights in our application.
|
|
</li>
|
|
<li>Master-detail relations between tables is implemented via a service that provides a list of orders by user id.</li>
|
|
</ul>
|
|
|
|
<h2>Examine the code</h2>
|
|
<ul>
|
|
<li>Check how the server methods were implemented in <b>OrdersService_Impl.pas</b> and <b>LoginService_Impl.pas</b>.</li>
|
|
<li>See the code needed to invoke server methods in <b>MegaDemoClient_Main.pas</b> </li>
|
|
</ul>
|
|
|
|
<h2>Getting started</h2>
|
|
<ul>
|
|
<li>Compile the entire solution.</li>
|
|
<li>Run the server.</li>
|
|
<li>Run the client.</li>
|
|
<li>Login to client (for login, you just can select appropriate user in the Preconfigured login section)
|
|
<p><b>Note: for login to appropriate database (NorthWind or Employee), you should select the correct connection in the server application (Selected Connection combo box)</b> </p>
|
|
</li>
|
|
<li>Check user privileges. "Bank" page should only be accessible for managers.</li>
|
|
<li>Try to change data on the Customer Management page and post the changes or discard them.</li>
|
|
|
|
|
|
</ul>
|
|
|
|
<!-------------------------------------------------------------------------->
|
|
</body>
|
|
</html>
|