[Gambas-user] Re: Writing a Gambas/SQLite tutorial

Benoit Minisini gambas at ...1...
Tue Mar 8 12:20:47 CET 2005


On Monday 07 March 2005 19:45, AenDeuRyu wrote:

> Maybe I understood SQLite's documentation incorrectly.
> Postgresql, from what I remember, requires the
> postmaster service running in the background,
> accepting connections through the socket, and sending
> data back and forth that way. SQLite (on the website)
> describes its relationship with C as being a library
> loaded within the C program that allows you to
> interact directly with the data through an SQLish
> interface. There's no service that needs to be run in
> the background or set up ahead of time. I guess,
> because with Gambas, sqlite needs to be set up ahead
> of time with g-d-m, I was confused, and mistakenly
> thought that something like a client-server
> relationship was at work.
>
> Alright, just so I have this straight: From what I
> remember, in C, to interact with a postgresql
> database, I need to have the server running in the
> background accepting connections, whereas with sqlite
> I can get straight at the data with the library and
> the file location. Does it work the same way in
> gambas?

Yes it does.

>
> Ok, just to clarify, does that mean that version 2's
> components will have these attributes, or that version
> 2's components will be capable of having them, but
> somebody else will need to code them?
>

Somebody will need to make these data-bound controls. It will just a matter of 
taking the existing GUI controls, inherits them or embedding them, adding 
properties and methods that deals with databases, and so on...

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list