More Options to Make Your Application Robust
Once you master these basics, the inevitable question is “What next?” This section is provided to give you some more insight into DataSnap and how you can use these features to make your applications act as you want them to act.
Client Optimization Techniques
The model of retrieving data is fairly elegant. However, because the TClientDataset stores all its records in memory, you need to be very careful about the resultsets you return to the TClientDataSet. The cleanest approach is to ensure that the application server is well designed and only returns the records the user is interested in. Because the real world seldom follows the utopian solution, you can use the following technique to help throttle ...
Get Borland® Delphi™ 6 Developer's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.