سؤال

I am using Delphi XE5 and I have created basic Firemonkey Mobile Application - Delphi

I would like to connect to a remote MySQL database. Which if any database conduit do I use? (FireDAC, DBExpress, etc)?

هل كانت مفيدة؟

المحلول

You can use standard TSQLQueries, but as your mobile app needs to connect to a remote database, you will need to go via a DataSnap service (most probably hosted on an IIS server). The mobile device then connects to the DataSnap server which then connects to the database.

The DataSnap functions can return TDataSets which your app can then use.

نصائح أخرى

You can take a look at Devart DAC

I'm using DBExpress since XE2, it works good, but i think now FireDAC is much bettter

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top