git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@68 b6239004-a887-0f4b-9937-50029ccdca16
39 lines
1.6 KiB
HTML
39 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">Reduced Delta Sample</p>
|
|
|
|
<p>
|
|
This sample shows how to use <b>Reduced Deltas</b> to save bandwidth when applying changes to the server,
|
|
where rows may contain potentially large but unchanged data.
|
|
With <b>Reduced Delta</b> on, Data Abstract will only submit the changed field of a particular row to the server,
|
|
rather than sending all fields with <b>Reduced Delta</b> off.
|
|
</p>
|
|
|
|
<p class="h2">Examine the code</p>
|
|
<p>See the <b>TClientForm.btUpdateClick</b> event handler to see how the dataset is updated. Note how the Reduced Delta feature can be
|
|
turned on or off according to the checkbox.</p>
|
|
|
|
<p class="h2">Getting started</p>
|
|
<ul>
|
|
<li>Run the Sample Server.</li>
|
|
<li>Run the Reduced Delta Sample.</li>
|
|
<li>Try to fill DataSet.</li>
|
|
<li>Try to change some records.</li>
|
|
<li>Apply changes to the server, using the Update button.</li>
|
|
<li>Examine the server log to see the command used on the server side to apply changes (it will contain only changed fields).</li>
|
|
<li>Turn off the Reduced Delta feature using the radio button.</li>
|
|
<li>Change some records and apply the changes to the server again.</li>
|
|
<li>
|
|
Examine the server log to see that when the Reduced Delta feature is turned off, all table fields are considered as changed.<br/>
|
|
In this case we have used much more network traffic from client to server than what is normally passed.
|
|
</li>
|
|
</ul>
|
|
</body>
|
|
</html> |