Home arrow Delphi-Kylix arrow Using the Client Dataset in Two-Tiered Client/Server Applications
DELPHI-KYLIX

Using the Client Dataset in Two-Tiered Client/Server Applications


Client-server based applications have a number of advantages over file-based applications. To make such an approach work, however, the client dataset requires a provider component. This article will introduce you to the dataset provider component.

Author Info:
By: Danish Ahmed
Rating: 5 stars5 stars5 stars5 stars5 stars / 5
December 26, 2007
TABLE OF CONTENTS:
  1. · Using the Client Dataset in Two-Tiered Client/Server Applications
  2. · Two-Tiered Architecture
  3. · Using Data-Aware Components with the Client Dataset
  4. · Navigating and Modifying Data Programatically

print this article
SEARCH DEVARTICLES

Using the Client Dataset in Two-Tiered Client/Server Applications
(Page 1 of 4 )

Introduction

In the last two articles I have provided an overview of the client dataset class in Delphi and also demonstrated the procedure of creating an in-memory table, working with it and saving data to a flat file. File-based single-tiered architecture has many advantages which have been discussed in the last article, but this architecture has many disadvantages too.

One of the major drawbacks is that file-based applications are essentially for a single user and use files for data storage. These files can be easily overwritten by other users, making the application lose all data saved in it. Then they are platform specific and cannot be ported to other platform without rewriting the entire code. Further since data is stored in a file-system, working with a huge amount of data may degrade performance.

These and many other drawbacks of file-based applications make this approach useful in some circumstances only, while for the majority of database applications the client-server architecture is used. In order to communicate with a remote database server, the client dataset requires a provider component. This article will provide an introduction to the dataset provider component and focus on how to use it with the client dataset to create two-tier client-server applications. 


blog comments powered by Disqus
DELPHI-KYLIX ARTICLES

- Loading an XML Document into the DOM
- Delphi Wrapper Classes and XML
- Delphi and the DOM
- Delphi and XML
- Internet Access: Client Service
- Finishing the Client for an Internet Access ...
- The Client for an Internet Access Control Ap...
- User Management for an Internet Access Contr...
- Important Procedures for an Internet Access ...
- Server Code for an Internet Access Control A...
- Constructing the Interface for an Internet A...
- Building a Server Application for an Interne...
- Building an Internet Access Control Applicat...
- Client Dataset: Working with Data Packets an...
- Using the Client Dataset in an N-Tiered Appl...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials