Tag Archive for: DataSnap

CopyReaderToClientDataSet after XE2 – Where are you?

CopyReaderToClientDataSet copies the contents of a TDBXReader into a TClientDataSet instance. It returns the same TClientDataSet instance that was passed to this method. CopyReaderToClientDataSet is part of the Data.DBXDBReaders.TDBXDataSetReader class until Delphi/C++Builder XE2, however in XE3 it changed a little bit, it became part of a new class called Data.DBXCDSReaders.TDBXClientDataSetReader. I got several e-mails from my blog readers that downloaded some of my […]

Read more

Caching data on DataSnap Server

Categories:C++Builder, DelphiTags: , ,

DataSnap memory management is very powerful and a key DataSnap feature to implement cache solution. Imagine the scenario where the client application requests the same data thousands of times every day. You will have to touch the database every time. Let’s assume this data doesn’t change very often, like list of countries, states or cities. […]

Read more

Android apps connected to Delphi DataSnap Server

Categories:Android, DelphiTags: , , ,

On the following video I’m showing how you can create DataSnap REST Server in Delphi, expose server methods and call them from an Android application. The video shows all the steps to create the server and the Android application. This is a short recap of the video. In order to have other platforms connecting and […]

Read more

Android apps connected to C++Builder DataSnap Server

Categories:Android, C++BuilderTags: , , ,

As part of the 31 days of RAD Studio XE2 Tutorials, in today’s video I’m showing how you can create DataSnap REST Server in C++Builder, expose server methods and call them from an Android application. The video shows all the steps to create the server and the Android application. This is a short recap of […]

Read more

CopyReaderToClientDataSet, Blob and the message “Feature not implemented”

If you have used the method TDBXDataSetReader.CopyReaderToClientDataSet, you probably came across with the message “Feature not implemented”, this exception occurs because the method CopyReaderToClientDataSet can’t copy Blob fields from the DBXReader to the ClientDataSet. This is no longer a problem, Delphi XE2 Update 2 changed this behavior and now supports Blob text fields when using the CopyReaderToClientDataSet […]

Read more

Copying data from ClientDataSet to DBXReader

Categories:C++Builder, DelphiTags: , ,

You probably already read my post Copying data from DBXReader to ClientDataSet, now is time to learn how copy data from ClientDataSet to DBXReader using Delphi or C++Builder. There are many situations where you will need to copy data between ClientDataSet and DBXReader, specially if you are looking to cache data on DataSnap Servers, I’m […]

Read more

Handling DataSnap (REST) server methods through PHP

Categories:PHPTags: ,

Create PHP applications to connect to DataSnap REST servers is relatively simple since the RadPHP includes a wizard that generates the proxy classes in PHP, but as PHP is a dynamic language and is not strongly typed, it opens the possibility for errors when we execute the server methods, in addition to that REST calls […]

Read more

Video: Connecting Android applications with DataSnap Server – Delphi Conference Brazil 2010

Categories:Android, DelphiTags: , ,

In this second Delphi Conference 2010 Brazil video, Daniele Teti from Italy explain the Android architecture and how to connect Android applications with Delphi DataSnap Servers, take some time and watch/download this presentation, you will learn a great content and see how open is DataSnap.

Read more

DataSnap videos for 2011 – what would you like to see?

I am preparing a series of DataSnap videos for 2011 and I would love to hear from all current or future DataSnap users suggestions about what you would like to see on these videos. During the year of 2010 we have created hundreds of materials including videos and articles, but we can always do better, […]

Read more

Sharing DB connection between multiples DataSnap Server Modules

Categories:DelphiTags: , ,

When developers starts creating Delphi DataSnap application it is very common to see the database connection defined per Data Module. Doing this will generate a lot of connections on the database, and depending on the situation it will became a problem. In Delphi XE, DataSnap introduce the Session Management that will make easy to implement […]

Read more