Add
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. 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.
Related Discussions - HOW TO RUN DATABASE APPLICATION ON THE INTERNET (2001-01-03 03:04:54)This is possible using COM objects and ActiveX Server ...
Don't ask how ... I'm not into COM object programming ... :o)
Regards
/Filip
- DEFAULT EMAIL CLIENT (2001-01-03 23:54:27)HKEY_CLASSES_ROOT\mailto\shell\open\command\
/Filip
- RUNNING A DATABASE APPLICATION ON ANOTHER COMPUTER (2001-01-07 05:36:33)In the BDE on the other PC (the one without the database), you must add an alias to point to the location of the database in the format of:...
- HOW TO CREATE SEQURE LOGIN TO DESKTOP APPLICATION (2001-01-05 09:30:01)I'm not pretty sure, what your intention is. One possible approach would be to use a edit-field, which cannot be "spyed out" by the usual password...
- TELEPHONE BASED APPLICATION (2001-01-08 10:29:39)I did something like this. I wrote a fully operative phone-
based banking applciation in two days using VisualVoice and
Dialogic cards. However,...
- QUERY PARAMETER QUESTION...? (2001-01-04 22:44:03)there are two parts
first is writing the script with variable and another is using bind variable
eg-
for first you can say
query1.sql.text...
- DELPHI WITH INTERNET.. (2001-01-05 19:35:50)http://www.matlus.com/scripts/website.dll
This site is 100% Delphi built and 100% dynamic. All the content you see here is "database driven" and a...
- HOW TO COPY A COMPLETE STRINGLIST TO THE CLIPBOARD? (2001-01-08 08:51:56)Where do you want to paste your items ?? In Notepad, or in your application ? If you want to copy it between your applications, I've exactly what...
- QREPORT & TQUERY QUESTION (D5) (2001-01-09 04:12:35)though in your question you said that the dataset property of the quickreport is configured but i bet that you have not because that is the only...
- PRINTING........??? (2001-01-09 08:44:49)Do you want to achieve information from the printer device as it is printing the specific job?
Do you want to snap every print requests on the...
|