Firebird support

Creating desktop or client-server database solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RodMG
Posts: 1
Joined: Fri Aug 19, 2011 11:09 pm

Firebird support

Post by RodMG » Fri Aug 19, 2011 11:15 pm

Hi,

¿Does any one has experience ussing Firebird?

I'm evaluating RunRev and I'm looking for a multiplatform. I have an app wich works in single and multiuser, now I want to develope it ussing RunRev but I need to get building a single install wich installs the app and the database in a single process.

Any idea is wellcome.

Regards,

Rodolfo MG

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Firebird support

Post by Mark » Tue Aug 23, 2011 3:53 pm

Hi Rodolfo,

It looks like you want to embed Firebird in your app. Why do you want to use Firebird? Can you use an alternative database?

You need to install Firebird separately, after which you can access it from your software. You could create an installer, which installs both Firebird and your own application. People will still notice that the Firebird installer runs, unless you compile your own Firebird software + installer.

Although LiveCode doesn't support Firebird, it is possible to connect to it through sockets (very complicated) or the iSQL command line utility (relatively easy but still difficult).

If your multi-user application needs to connect to Firebird on a server, I'd use PHP as a layer between LiveCode and Firebird. This is pretty much a fail-safe way to make LiveCode talk to Firebird. Naturally, PHP will need to be configured to communicate with Firebird. Once PHP has been configure correctly, you can use PHP's native Firebird/Interbase commands to communicate with the database. This is extremely useful.

As far as I know, the ONLY existing database driver that is supported by LiveCode and can be included with your standalone without needing additional software is SQLite. All other databases are located on a (local) server and need additional software to be installed.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Firebird support

Post by bangkok » Tue Aug 23, 2011 6:01 pm

Mark wrote: Although LiveCode doesn't support Firebird, it is possible to connect to it through sockets (very complicated) or the iSQL command line utility (relatively easy but still difficult).
I wouldn't be so sure...

Firebird has ODBC drivers.... Therefore, LiveCode should be able to access the DB, thanks to the ODBC driver.

You need to give it a try.

(I use LiveCode to connect to FileMaker database, through ODBC. It's working fine)

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Firebird support

Post by Mark » Tue Aug 23, 2011 11:57 pm

Hi Bkk,

Is the ODBC feature installed with Firebird by default?

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Firebird support

Post by bangkok » Wed Aug 24, 2011 7:46 am

Mark wrote: Is the ODBC feature installed with Firebird by default?
Mark
i've got no idea. I just was on their website that you can download ODBC drivers.

http://www.firebirdsql.org/en/odbc-driver/

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Firebird support

Post by Mark » Thu Aug 25, 2011 8:35 am

Hi,

I saw those too, but I haven't tried them. The default option seems to be to connect to Firebird through a local access point or through sockets. The ODBC driver seems to be an intermediate that connects an ODBC client to either one.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Post Reply