Download Latest Version LabelPrint-0.0.6.tar.gz (33.0 kB)
Email in envelope

Get an email when there's a new version of garlic

Home / DBinfoCode
Name Modified Size InfoDownloads / Week
Parent folder
DBinfoCode-0.1.8.tar.gz 2014-06-01 59.3 kB
DBinfoCode-0.1.6.tar.gz 2014-02-26 53.3 kB
DBinfoCode-0.1.4.tar.gz 2013-03-26 53.6 kB
DBinfoCode-0.1.3.tar.gz 2012-10-04 50.5 kB
DBinfoCode-0.1.2.tar.gz 2012-10-04 50.3 kB
DBinfoCode-0.1.1.tar.gz 2012-09-28 49.4 kB
DBinfoCode-0.1.tar.gz 2012-09-07 50.1 kB
DBinfoCode-0.0.9.tar.gz 2011-12-27 49.2 kB
ReadMe.txt 2011-12-26 1.4 kB
DBinfoCode-0.0.8.tar.gz 2011-10-26 40.3 kB
DBinfoCode-0.0.7.tar.gz 2011-10-24 39.1 kB
DBinfoCode-0.0.6.tar.gz 2011-10-05 38.9 kB
Totals: 12 Items   535.5 kB 0
DBinfoCode Readme.txt
---------------------

DBinfoCode : from Database table to object sourcecode.

DBinfoCode reads choosen table structure from the database.
It then tries to write Gambas code to cut/paste in your app.

Sourcecode for use in the Gambas programming language/programming IDE on Linux.


Prepare:
--------
Dowload tar.gz file from sourceforge.

Unpack with tar -xzvf DBinfoCode-0.x.x.tar.gz

Put in your Gambas project directory.

Open with Gambas version 2.x ; compile/run.

You need access to a mysql database, be it on another server, be it on your own computer (localhost).

Use:
----
Fill in the database parameters (server, name, password..) and save for future use
Make connection to the database, choose database from database list, choose table from table list
Start code generation in tab 1 for the object, including properties, save and load methods.
Start code generation in tab 2 for the data module that does the work of making a database connection and saving the object data.
Start code generation in tab 3 for the data module that does the work of retrieving the object data from the database.
Code is Gambas-highligted here.  Copy or cut from the editor window and paste in your running Gambas IDE.  
Choose the directory to write the code as text files.

Note!
-----
DBinfoCode is not a finished program, only parts of it function right now.

Source:
-------

Code started from DBinfoPrint

See License.txt
Source: ReadMe.txt, updated 2011-12-26