Componentes.Terceros.RemObj.../internal/6.0.43.801/1/RemObjects Samples/Data Abstract for Delphi/Server/DASampleServer.Sample.html
2010-01-29 16:17:43 +00:00

63 lines
3.5 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">Data Abstract Sample Server</p>
<p>
This application is one of available samples that can act as a server for the client applications in the PCTrade Sample Suite.
It provides almost all information about the underlying activities of Data Abstract.
</p>
<p>
While "real life" middle-tier servers are usually black boxes that run without any user interface as Windows Services or Daemons,
this sample - for illustration purposes - takes the opposite approach and for each request made from a client provides
textual descriptions of the processing that the Data Abstract library did underneath the hood to service the request.
Thus, it provides a great opportunity to learn how Data Abstract works.
</p>
<p><b><font color="red">NOTICE</font></b><br/>
The Data Abstract for Delphi PCTrade samples suite ships with a precompiled sample server. The executable file along with some
support files necessary can be found under \Bin subdirectory of the sample directory, as well as in the Windows Start Menu.<br/>
The precomipled server executable was built using AnyDAC data access suite, available as separate product, to provide more data access options.
Please visit <a href="http://www.anydac.com">http://www.anydac.com</a> for more information.
In addition to AnyDAC, the server uses dbExpress components for data access to Firebird.<br/>
When you compile the sample server yourself, the executable file produced will also be placed into \Bin subdirectory.
The executable file should be located there for the server to work correctly.<br/>
<b>WARNING:</b> if you are going to build the server with Delphi version prior to 2010 you must rename or delete the
dbxdrivers.ini file from the \Bin directory and have a properly configured dbExpress suite installed.
</p>
<p>
<b>NOTICE:</b><br/>
Unfortunately, our preferred out-of-the-box databases for this sample, SQLite and Firebird,
have problems with accessing Unicode fields in <b>Delphi 7</b>. We are trying to resolve
this for a future release, but until then, please set up a Microsoft SQL Server or MSDE
test database with the provided .backup file, to run these samples. You can also use the precompiled
server executable in this case.
This only affects <b>Delphi 7</b>, and only when you manually rebuild the server. We apologize for the inconvenience.
</p>
<p class="h2">Examine the sample</p>
<p>
Majority of the server code was written to support logging of Data Abstract internal activity or other things rarely used in real life.
Such code is not related to any sample in particular.
There are several exclusions, please read corresponding samples descriptions for required server code references.
</p>
<p class="h2">Getting started</p>
<ul>
<li>Launch the Sample Server executable.</li>
<li>Check if the default database connection was successfully established (examine the log window).</li>
<li>
You may change the database server connects to. Click desired connection description in the list box
and examine the log window to find out if connection was established successfully.
</li>
<li>Run the samples supplied and examine the log output to see Data Abstract internal data processing details.</li>
<li>Use Clear Log button to get rid of text written to the log window.</li>
</ul>
</body>
</html>