DbInfoCode 3.x Readme.txt --------------------- DBinfoCode is a tool that helps when making an app in Gambas3 + MySQL. - It reads choosen database/table structure from the (MySQL) database and shows it on the screen. - It lets you create a new database/table with some default "template" fields for record id, and metadata about creation and update of the records. - It then tries to write Gambas code to cut/paste in your app: from every table creates the class code, some persistance code, and some form code. Sourcecode for use in the Gambas programming language/programming IDE on Linux. This is not a finished program. It works partly fine (create database-tables-fields), and I use it for some source code generation. Note: ----- 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 3.x ; compile/run. You need access to a mysql database, be it on another server, be it on your own computer (localhost). Use: ---- (check Changes.txt to see what is implemented yet) 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. Source: ------- Code started from DBInfoCode (Gambas2), which started from DBinfoPrint (Gambas2) License: -------- See License.txt