[Gambas-devel] New component for Gambas
David Villalobos Cambronero
david_villalobos_c at ...7...
Mon Mar 31 18:19:28 CEST 2008
you are right with this... has no sense to put it in the IDE
I'll finish my job and them we talk...
----- Original Message ----
From: Benoit Minisini <gambas at ...1...>
To: mailing list for gambas developers <gambas-devel at lists.sourceforge.net>
Sent: Monday, March 31, 2008 8:30:38 AM
Subject: Re: [Gambas-devel] New component for Gambas
On lundi 31 mars 2008, David Villalobos Cambronero wrote:
> Hi all,
>
> I want to create a new component for Gambas, it is MySQL oriented. What
> I want to do is make things easier for users who use gb.db.mysql. I'm
> creating a Class called MySQL to do all the things the user needs.
>
> For example, this class will have something like this to create a
> DataBase Public Procedure CreateDataBase(DataBaseName As String, Optional
> CharSet As String)
>
> This class will manage all the specific MySQL (or SQL) things, like
> data types, indexes and more.
>
> I'm not re-inventing the wheel, it is just a class to make the things
> easier. In back ground what the class will do is use Connection.Ecex() to
> execute MySQL statements.
>
> Now, I got a problem, make it as a component or as a Class file inside
> the Gambas IDE?
Why do you want to put a database class inside the IDE ????
you are right with this... has no sense....
First, you can make a completely independant component.
Or you can extend the gb.db classes with MYSQL specific stuff.
But if you want to do the later, the name 'gb.db.mysql' cannot be used as it
is already the name of the mysql database driver.
But maybe adding a Gambas part to gb.db.mysql and making gb.db.mysql checkable
in the IDE component list would work.
That can be decided later, when your component is finished.
So, if you really want your component to be put in the gambas sources, please
be careful with the names of your public symbols (classes, methods,
properties, arguments), and the syntax of your properties and methods.
Regards,
--
Benoit Minisini
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel
____________________________________________________________________________________
No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends.
http://tc.deals.yahoo.com/tc/blockbuster/text1.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20080331/35404fc8/attachment.html>
More information about the Devel
mailing list