RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-21 Thread Massimo Belgrano
Developer List. Subject: RE: [Harbour] A standard for the Harbour's SQL libs Hi Mindaugas, can you add to svn? Anybody have different proposal? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mindaugas Kavaliauskas Sent: Monday, October 13, 2008 1:00

RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-21 Thread Massimo Belgrano
for the Harbour's SQL libs Hi, Przemyslaw Czerpak wrote: > Before you will started the work then I suggest you to look at CLIP > project - you will find in SF. I've looked to CLIP code. The basic idea (Clip's SQL interface gives possibility to access SQL databases, but

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-14 Thread Szakáts Viktor
Nice job. Brgds, Viktor void hb_socketInit( void ); void hb_socketCleanup( void ); PHB_ITEM hb_socketNew( int iTimeOut ); int hb_socketClose( PHB_ITEM pSocket ); FHANDLE hb_socketHandle( PHB_ITEM pSocket ); int hb_socketStatus( PHB_ITEM pSocket ); int hb_socketErrorCode

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-14 Thread Przemyslaw Czerpak
On Tue, 14 Oct 2008, Alex Strickland wrote: Hi Alex, > Sockets appear to me to be reliable in Harbour but I think Przemek has > alluded to problems with them? I don't know what they are. I know ADS uses > UDP, I'm not sure why. Now the biggest problem is lack of C level API and some missing fu

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-14 Thread Alex Strickland
To all Lorenzo Fiorini wrote: Today we have hbodbc, hbmysql, hbpgsql, hbfbird contrib libs and probably more in the future. Their pourpose is to connect Harbour to SQL databases but they use different ( class ) interfaces. I would venture that many Harbour programmers use these SQL databases

RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-14 Thread Massimo Belgrano
Sent: Tuesday, October 14, 2008 8:04 AM To: Harbour Project Main Developer List. Subject: Re: [Harbour] A standard for the Harbour's SQL libs On Mon, Oct 13, 2008 at 10:10 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote: > Very nice peace of code which is also very good start point fo

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-13 Thread Lorenzo Fiorini
On Mon, Oct 13, 2008 at 10:10 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote: > Very nice peace of code which is also very good start point for > multi RDBMS RDD API. I'll look closer into it in spare time. > Lorenzo asked about common OOP interface for different RDBMS > and this is rather start

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-13 Thread Przemyslaw Czerpak
On Mon, 13 Oct 2008, Mindaugas Kavaliauskas wrote: Hi Mindaugas, > The message is resent because my last message (without attachment) has > already reached mailing list. > Instead of attaching .zip file, you'll find it at: > http://www.dbtopas.lt/hrb/sdd.zip Very nice peace of code which is als

Re: Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-13 Thread [EMAIL PROTECTED]
>Hi Lorenzo, >Very good idea. >My vote for HDBC as a name. +1... Regards, Toninho. __ Faça ligações para outros computadores com o novo Yahoo! Messenger http://br.beta.messenger.yahoo.com/ ___ Harbour ma

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-13 Thread Mindaugas Kavaliauskas
The message is resent because my last message (without attachment) has already reached mailing list. Instead of attaching .zip file, you'll find it at: http://www.dbtopas.lt/hrb/sdd.zip == Hi, Przemyslaw Czerpak wrote: Before you will started the work the

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-13 Thread Przemyslaw Czerpak
On Sat, 11 Oct 2008, Mindaugas Kavaliauskas wrote: Hi Mindaugas, > > I've also had a problem like this. I've implemented some universal > interface to access SQL databases. It's done via RDD, but class interface > can be implemented also. I have implemented SQLBASE, SQLMIX (see below) > RDDs a

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-12 Thread Lorenzo Fiorini
On Sun, Oct 12, 2008 at 5:32 PM, Vailton Renato <[EMAIL PROTECTED]> wrote: > I would like to understand a single question: this would be something to > develop a OOP class or would be like an RDD native with support for SQL? It's hard to answer at the moment. My first goal was to unify the class

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-12 Thread Vailton Renato
Hi all! I would like to understand a single question: this would be something to develop a OOP class or would be like an RDD native with support for SQL? 2008/10/12 Lorenzo Fiorini <[EMAIL PROTECTED]> > On Sun, Oct 12, 2008 at 9:03 AM, Lorenzo Fiorini > <[EMAIL PROTECTED]> wrote: > > It seems that

RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-12 Thread Massimo Belgrano
/showfiles.php?group_id=170673 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lorenzo Fiorini Sent: Sunday, October 12, 2008 9:03 AM To: Harbour Project Main Developer List. Subject: Re: [Harbour] A standard for the Harbour's SQL libs On Sat, Oct 11, 2008

RE: RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-12 Thread Massimo Belgrano
Very Thanks for your effort -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Przemyslaw Czerpak Sent: Sunday, October 12, 2008 4:01 AM To: Harbour Project Main Developer List. Subject: Re: RE: [Harbour] A standard for the Harbour's SQL libs On Su

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-12 Thread Lorenzo Fiorini
On Sun, Oct 12, 2008 at 9:03 AM, Lorenzo Fiorini <[EMAIL PROTECTED]> wrote: It seems that HDBC has been decided. Ok step 1 done :) Resources for all the interested: JDBC tutorial http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html CLIP SQL interface http://www.itk.ru/clip-doc.en/sql.

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-12 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 11:38 PM, Przemyslaw Czerpak <[EMAIL PROTECTED]> wrote: > Before you will started the work then I suggest you to look at > CLIP project - you will find in SF. > Few years ago Rust implemented such common class interface for > different RDBMS in CLIP so it may give you some

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 10:18 PM, Mindaugas Kavaliauskas <[EMAIL PROTECTED]> wrote: > I've also had a problem like this. I've implemented some universal interface > to access SQL databases. It's done via RDD, but class interface can be > implemented also. I have implemented SQLBASE, SQLMIX (see be

Re: RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Przemyslaw Czerpak
On Sun, 12 Oct 2008, Massimo Belgrano wrote: Hi Massimo, > When you planed release Multi Windows interface for thread with own console > window? When I'll finish the base of MT mode and find a free day for it. Now I have to find the reason of problem with Vista MT builds. Then I will have to re

RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Massimo Belgrano
: [Harbour] A standard for the Harbour's SQL libs On Sat, 11 Oct 2008, Lorenzo Fiorini wrote: Hi Lorenzo, > The idea is to have something like JDBC where every app that use jdbc > can use different DBS without changing the code: it could be called > Harbour Data Objects interface HDO o

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Przemyslaw Czerpak
On Sat, 11 Oct 2008, Lorenzo Fiorini wrote: Hi Lorenzo, > The idea is to have something like JDBC where every app that use jdbc > can use different DBS without changing the code: it could be called > Harbour Data Objects interface HDO or HDBC Harbour DataBase Connector. Very good idea. If possib

RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Massimo Belgrano
sql_field ) DBSKIP() Mydbclass.Movenext ENDDO -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mindaugas Kavaliauskas Sent: Saturday, October 11, 2008 10:18 PM To: Harbour Project Main Developer List. Subject: Re: [Harbour] A standard for the Harb

RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Massimo Belgrano
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lorenzo Fiorini Sent: Saturday, October 11, 2008 10:05 PM To: Harbour Project Main Developer List. Subject: Re: [Harbour] A standard for the Harbour's SQL libs On Sat, Oct 11, 2008 at 9:36 PM, Pritpal Bedi <[EMAIL PROTECTED]> wrote:

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Mindaugas Kavaliauskas
Lorenzo Fiorini wrote: Today we have hbodbc, hbmysql, hbpgsql, hbfbird contrib libs and probably more in the future. Their pourpose is to connect Harbour to SQL databases but they use different ( class ) interfaces. Hi, I've also had a problem like this. I've implemented some universal inte

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 9:36 PM, Pritpal Bedi <[EMAIL PROTECTED]> wrote: > > Hi All > > > Szakáts Viktor wrote: >> >> IMO you're not wrong at all, I'd personally start >> with the class interface, and see the rest later. >> > > I will be particpating as well. Good news. So many people in front of

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 9:10 PM, Francesco Saverio Giudice <[EMAIL PROTECTED]> wrote: > I'm also interested and I found HDBC a good name. Great! Ciao, Lorenzo ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Pritpal Bedi
Hi All Szakáts Viktor wrote: > > IMO you're not wrong at all, I'd personally start > with the class interface, and see the rest later. > I will be particpating as well. Regards Pritpal Bedi -- View this message in context: http://www.nabble.com/A-standard-for-the-Harbour%27s-SQL-libs-tp19

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Szakáts Viktor
Hi Lorenzo, Sounds perfect to me. Changing some names of the methods and the datas is easy the main problem is to define the "platform". Drivers are made by a C interface and by a prg class: Will the "drivers" be dyinamically loaded? I'd imagine on the first round, we should have a commo

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 8:46 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > Sounds perfect to me. Changing some names of the methods and the datas is easy the main problem is to define the "platform". Drivers are made by a C interface and by a prg class: Will the "drivers" be dyinamically load

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Francesco Saverio Giudice
Lorenzo, I'm also interested and I found HDBC a good name. Best regards Francesco Lorenzo Fiorini ha scritto: The idea is to have something like JDBC where every app that use jdbc can use different DBS without changing the code: it could be called Harbour Data Objects interface HDO or HDBC H

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Szakáts Viktor
We also have hbodbc, which _may_ be a base for a common interface, or it could also be synced to the std one. I'm saying may, because I'm not at all familiar with ODBC, so it's difficult to judge how badly it is Microsoft orientated or something stuck in the past. But it's worth checking. Actual

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 8:05 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > We also have hbodbc, which _may_ be a base for a common > interface, or it could also be synced to the std one. > I'm saying may, because I'm not at all familiar with > ODBC, so it's difficult to judge how badly it is Mic

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Szakáts Viktor
Hi Lorenzo, do you use any SQL backend? do you know JDBC? Not yet, and also no experience yet with JDBC. I'm still in the process of cleaning any DOS ties, and converting my app to native multiplatform Harbour. what about the backward compatibility? Backward compatibility may handled by s

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 7:47 PM, Massimo Belgrano <[EMAIL PROTECTED]> wrote: > I also agree > This idea uniform the access to Harbour Database by class Would you like to participate? Do you actually use any SQL DBS with Harbour? Do you know JDBC? Are there Harbour/ODBC users here? I use Post

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
On Sat, Oct 11, 2008 at 6:58 PM, Szakáts Viktor <[EMAIL PROTECTED]> wrote: > My vote for HDBC as a name. Yes, it's probably the best one. Just to move: do you use any SQL backend? do you know JDBC? what about the backward compatibility? The ideal would be to have a prg for every contrib/lib

RE: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Massimo Belgrano
: Saturday, October 11, 2008 6:58 PM To: Harbour Project Main Developer List. Subject: Re: [Harbour] A standard for the Harbour's SQL libs Hi Lorenzo, Very good idea. My vote for HDBC as a name. Brgds, Viktor On 2008.10.11., at 18:51, Lorenzo Fiorini wrote: > Today we have hbodbc, hbmysql,

Re: [Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Szakáts Viktor
Hi Lorenzo, Very good idea. My vote for HDBC as a name. Brgds, Viktor On 2008.10.11., at 18:51, Lorenzo Fiorini wrote: Today we have hbodbc, hbmysql, hbpgsql, hbfbird contrib libs and probably more in the future. Their pourpose is to connect Harbour to SQL databases but they use different (

[Harbour] A standard for the Harbour's SQL libs

2008-10-11 Thread Lorenzo Fiorini
Today we have hbodbc, hbmysql, hbpgsql, hbfbird contrib libs and probably more in the future. Their pourpose is to connect Harbour to SQL databases but they use different ( class ) interfaces. Thus if an Harbour app is made for mysql, has to heavily changed for odbc or postgresql. I wonder if the