From gambas at ...1... Sun Jan 19 22:04:54 2003 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 19 Jan 2003 22:04:54 +0100 Subject: [Gambas-devel] Welcome Message-ID: <200301192204.54862.gambas@...1...> Welcome to the gambas mailing-list for developers ! -- Beno?t Minisini mailto:gambas at ...1... From nigel at ...2... Fri Jan 24 19:59:55 2003 From: nigel at ...2... (Nigel GERRARD) Date: Fri, 24 Jan 2003 18:59:55 -0000 Subject: [Gambas-devel] Simple InputBox Message-ID: <003601c2c3db$ca3acae0$020a0a0a@...3...> Beno?t Attached is a simple control for inputting a single value. It is based loosely on the Message control and I have tested it in the gb.qt library. Is it useful? Nigel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CInputBox.tar.gz Type: application/x-gzip Size: 2423 bytes Desc: not available URL: From gambas at ...1... Sun Jan 26 20:17:12 2003 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 26 Jan 2003 20:17:12 +0100 Subject: [Gambas-devel] Developing together Message-ID: <200301262017.12160.gambas@...1...> Hello gambas hackers, Sorry for my silent. As you may know, I'm VERY busy (job, theater, music, etc.), and so the startup of this list will be slow. I suppose, if you read this mail, that you want to develop on gambas :-) So I propose everybody introducing oneself, so that we know each other. - What your name is. - Who you are. - What your programming skills are. - What you want to do on Gambas. - ... Now, my own aim is to develop the database component: I will explain what I want to do in a next mail. Of course, if anybody wants to do anything else, I will help him - If what he wants is not stupid ;-) Best regards, -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jan 26 21:26:28 2003 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 26 Jan 2003 21:26:28 +0100 Subject: [Gambas-devel] The database component Message-ID: <200301262126.28532.gambas@...1...> THE DATABASE COMPONENT The aim is to provide a common interface to the many databases that exist all around the world, so that the same Gambas code works, whatever the database is. For the beginning, we must limit our ambition. So I propose to deal with MySQL and PostgreQSL only. I propose the following architecture : - A common database component, named "gb.db", that will be the interface used by Gambas programs. - One database driver component for each database type, that will access the corresponding database using the C libraries they provide. These driver components will be named "gb.db.mysql", "gb.db.postgresql", etc. The common database component will load the driver components at demand, so that you don't need to include them in your project. THE COMMON COMPONENT I want the common component to have the following possibilities : - Connect to a database. - Disconnect from a database. - Send SQL instructions and get the result. - Getting and modifying the structure of the database. - Managing transactions. I will publish a more detailed proposal about this component interface in a next mail. WRITING DRIVERS I have one book at home that explain how to access PostgreSQL, but I have no knowledge of MySQL or other databases. Fortunately, the Qt sources contain C++ classes used for accessing databases, and we can use them to implement our own drivers. They are located in the following directory of the Qt source package : ./src/sql/drivers. Reading them is very instructive. PROBLEMS WITH SQL Retrieving data is something very standard in SQL, but, alas, managing the structure of the database is very database-dependent. :-( So I think the more difficult task in writing the database component will be the functions to manage the database structure. WHAT TO DO NOW ? I invite everybody to read the gb.example component source. I invite everybody to read the man page of the diff command. As I don't want to set a CVS repository up, you will send me code with the diff command if necessary. For the drivers, the simpler would be to have a maintainer to each one. I can do the PostgreSQL driver with my book, bu not the MySql one. I will make void components in the next version of Gambas so that you will easily add code without dealing with the automake stuff. For the "gb.db" common component, I will give details in the next mail, maybe next week with the few time I have. Best regards, -- Beno?t Minisini mailto:gambas at ...1... From gambas at ...1... Sun Jan 26 21:42:19 2003 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Sun, 26 Jan 2003 21:42:19 +0100 Subject: [Gambas-devel] Simple InputBox In-Reply-To: <003601c2c3db$ca3acae0$020a0a0a@...3...> References: <003601c2c3db$ca3acae0$020a0a0a@...3...> Message-ID: <200301262142.20128.gambas@...1...> Le Vendredi 24 Janvier 2003 19:59, Nigel GERRARD a ?crit : > Beno?t > > Attached is a simple control for inputting a single value. It is based > loosely on the Message control and I have tested it in the gb.qt library. > Is it useful? > > Nigel I have never found the InputBox of VB a good idea. Hey ! It is for lazy guys that want to make bad user interfaces... But if you insist, I will add it to the gb.qt.ext component. A good idea would be to add the InputBox to the Dialog class with the same interface. Dialog.InputBox() AS BOOLEAN Dialog.Value Dialog.Title ...etc. -- Beno?t Minisini mailto:gambas at ...1... From nigel at ...2... Mon Jan 27 23:18:30 2003 From: nigel at ...2... (Nigel GERRARD) Date: Mon, 27 Jan 2003 23:18:30 +0100 Subject: [Gambas-devel] Simple InputBox References: <003601c2c3db$ca3acae0$020a0a0a@...3...> <200301262142.20128.gambas@...1...> Message-ID: <000301c2c848$3fcd12c0$180a2014@...3...> Beno?t, I agree about lazy - the main use I woud have for the InputBox would be for quickly inputing values during development testing etc. or where a simple input is all that is needed. I do however think that adding it to the Dialog class may be a good idea. I'll have a look at it . As for insisting..I would never presume to do so...some one needs to be the keeper of the code :-) I only make suggestions, hoping they are of use. Kind regards Nigel ----- Original Message ----- From: "Beno?t Minisini" To: Sent: Sunday, January 26, 2003 9:42 PM Subject: Re: [Gambas-devel] Simple InputBox Le Vendredi 24 Janvier 2003 19:59, Nigel GERRARD a ?crit : > Beno?t > > Attached is a simple control for inputting a single value. It is based > loosely on the Message control and I have tested it in the gb.qt library. > Is it useful? > > Nigel I have never found the InputBox of VB a good idea. Hey ! It is for lazy guys that want to make bad user interfaces... But if you insist, I will add it to the gb.qt.ext component. A good idea would be to add the InputBox to the Dialog class with the same interface. Dialog.InputBox() AS BOOLEAN Dialog.Value Dialog.Title ...etc. -- Beno?t Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See! http://www.vasoftware.com _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From nigel at ...2... Mon Jan 27 23:09:29 2003 From: nigel at ...2... (Nigel GERRARD) Date: Mon, 27 Jan 2003 23:09:29 +0100 Subject: [Gambas-devel] Developing together References: <200301262017.12160.gambas@...1...> Message-ID: <000201c2c848$3ef46600$180a2014@...3...> In reply to Beno?t's request for an introduction... My name is Nigel Gerrard. I have been working in the computer industry since leaving college in 1985, originally as a programmer and then as an UNIX administrator and technical support specialist. Now I am responsible for transitioning outsourced services and resources into my organisation. In my spare time I still dabble with Linux to keep my hand in :-) Over time, I have programmed in Cobol, C and C++, have provided early Oracle Version support and touched on Visual Basic. Unfortunately I have now forgotten more than I can remember so am trying to get back onto the relearning curve. With Gambas, I'm hoping to contribute something to the open source community. Hopefully a tool that is not only easy to use and understand, but is also quick and productive. In the future ( after the database component has opened further opportunities ) I would like to look at a Socket component for client server connectivity. Nigel ----- Original Message ----- From: "Beno?t Minisini" To: Sent: Sunday, January 26, 2003 8:17 PM Subject: [Gambas-devel] Developing together Hello gambas hackers, Sorry for my silent. As you may know, I'm VERY busy (job, theater, music, etc.), and so the startup of this list will be slow. I suppose, if you read this mail, that you want to develop on gambas :-) So I propose everybody introducing oneself, so that we know each other. - What your name is. - Who you are. - What your programming skills are. - What you want to do on Gambas. - ... Now, my own aim is to develop the database component: I will explain what I want to do in a next mail. Of course, if anybody wants to do anything else, I will help him - If what he wants is not stupid ;-) Best regards, -- Beno?t Minisini mailto:gambas at ...1... ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld =omething 2 See! http://www.vasoftware.com _______________________________________________ Gambas-devel mailing list Gambas-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-devel From gambas at ...1... Fri Jan 31 23:49:03 2003 From: gambas at ...1... (=?iso-8859-1?q?Beno=EEt=20Minisini?=) Date: Fri, 31 Jan 2003 23:49:03 +0100 Subject: [Gambas-devel] Developing together In-Reply-To: <000201c2c848$3ef46600$180a2014@...3...> References: <200301262017.12160.gambas@...1...> <000201c2c848$3ef46600$180a2014@...3...> Message-ID: <200301312349.03113.gambas@...1...> Le Lundi 27 Janvier 2003 23:09, Nigel GERRARD a ?crit : > In reply to Beno?t's request for an introduction... > > My name is Nigel Gerrard. I have been working in the computer industry > since leaving college in 1985, originally as a programmer and then as an > UNIX administrator and technical support specialist. Now I am responsible > for transitioning outsourced services and resources into my organisation. > In my spare time I still dabble with Linux to keep my hand in :-) > > Over time, I have programmed in Cobol, C and C++, have provided early > Oracle > Version support and touched on Visual Basic. Unfortunately I have now > forgotten more than I can remember so am trying to get back onto the > relearning curve. > > With Gambas, I'm hoping to contribute something to the open source > community. Hopefully a > tool that is not only easy to use and understand, but is also quick and > productive. In the future > ( after the database component has opened further opportunities ) I would > like to look at a Socket > component for client server connectivity. > > Nigel > Thanks Nigel. Now I'm waiting for Jean-Marc, Fabien, and a german people I don't know. Come on guys ! -- Beno?t Minisini mailto:gambas at ...1...