RTC Forums
April 16, 2024, 08:15:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: Database Access  (Read 21321 times)
Ronald van Tour
RTC License++
*****
Posts: 37


« Reply #30 on: August 30, 2011, 03:14:00 PM »

That would be sufficient.
Logged
Kevin Powick
RTC Expired
*
Posts: 87


« Reply #31 on: August 30, 2011, 03:20:22 PM »

Would a "Fishfact Demo" be enough, or does it have to be something more complex?

Probably good enough, but it might be nice to include a simple master/detail example, as it is a common real world data scenario.

Logged

Linux is only free if your time is worthless
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #32 on: August 31, 2011, 10:59:19 AM »

RealThinClient SDK v4.28 is now ready for download, with "FishFactClient" and "FishFactServer" Projects. If there are any questions or suggestions about the "FishFactClient" and "FishFactServer" Projects, please post them to the "PRO Support" section.

A master/detail example should be ready in a few days.

Best Regards,
Danijel Tkalcec
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #33 on: August 31, 2011, 05:34:56 PM »

RealThinClient SDK v4.29 is now also ready for download, introducing a "FishFactServer2" Project which demonstrates the use of SQL-capable components on the Server to fetch data from a Database, send it to the Client, then receive changes from the Client (INSERT/UPDATE/DELETE) and execute them on a Database by using SQL.

"FishFactClient" Project (introduced in v4.28) can be used for testing the "FishFactServer2" as well as the "FishFactServer" Project, because both Server-side implementations use the same "protocol".

All "FishFact" Projects can be found in the "Demos\DB_Access" folder.

Best Regards,
Danijel Tkalcec
Logged
Ronald van Tour
RTC License++
*****
Posts: 37


« Reply #34 on: August 31, 2011, 08:30:32 PM »

thanks for the extensive demos they are very usefull, I have already tested the demos and I am impressed
I will post on the pro support section if I have any technical remarks or questions.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #35 on: September 02, 2011, 10:20:04 PM »

I've added another Client-side Database Demo Project by using TClientDataSet as Client-side in-memory storage, utilizing the TRtcDataSetMonitor component to catch any changes made to the DataSet and send them to the Server. This new Project is called "FishFactClient2", can be found in the "Demos\DB_Access" folder and is fully compatible with "FishFactServer" and "FishFactServer2" Projects, just like the "FishFactsClient" Project.

The idea behind using a TRtcDataSetMonitor (as in this new example) is to allow you to work with any 3rd-party TDataSet descendant component on the Client, or even mix different TDataSet implementations, while keeping your Server-side code unchanged. There are a lot of good in-memory TDataSet implementations available for Delphi and you can use any one of them with the RTC SDK, or use the simple and light-weight TRtcMemDataSet, which is now a part of the RTC SDK.

Best Regards,
Danijel Tkacec
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #36 on: September 15, 2011, 01:21:07 PM »

RealThinClient SDK v4.36 is now ready for download, introducing a new "MasterDetailClient" example Project (under "Demos\DB_Access"), which uses asynchronous communication and the TRtcMemDataSet to work with DB-aware controls for displaying and editing of three related Tables received from the "BDEDemoServer" Project: Customers (master table), Orders (customer details) and Items (order details). Should anyone have questions about this new example Project, please post them to the "PRO Support" Forum section.

Best Regards,
Danijel Tkalcec
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #37 on: September 19, 2011, 05:55:58 PM »

RealThinClient SDK v4.37 is now also ready for download, adding a new DB Client example which uses TClientDataSet and TRtcDataSetMonitor components (instead of TRtcMemDataSet) to demonstrates the use of 3rd-party in-memory DataSets for implementing Master/Detail relations in RTC Clients.

Best Regards,
Danijel Tkalcec
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.025 seconds with 16 queries.