This tool is designed in such a way to facilitate the creation of java and php classes in javabeans style. It is extremely useful in case you have a Mysql table and you would like to generate a class over this table which would have a constructor, saving (updating) and drop option, and to provide the possibility to enter and query internal variables assigned for each field of the table. The advantage this generator provides is generating a class scheleton which may be altered in the future. The disadvantage consists in reduced applicability as it is useful in case the first field is set as Primary Key.
NEW in 1.2.0:

- We have added the possibility to use not only PRIMARY KEY, but to be able to send a whole WHERE to a class.
- Undo module (history), you can save your steps into a history table and use it as backup.


Developer name
(ex. John Smith)
Project name
(ex. Rating Script)
CLASS name
(ex. classProduct)
VARIABLE name
(ex. cp)
Type
php4 php5
DB fields

(id;item;itemid;votes; (first is unique ID))
Functions name

(ex. ID;Item;ItemID;Votes)
DB Table

(database table name: ex. product)
History(undo) Table

(ex. undo_table; leave empty to disable undo function)

Developer name: is the name of the developer  - it will be displayed in the header of the source file.
Project name: is the name of the project - it will be displayed in the header of the source file.
CLASS name: is the name of the class - the name conventions have to be taken into consideration, specific for each language (in java Class, in php class or Class) The name is important when naming a file as the source file will be named
Class.java (having the same form as the name of the class or cls_class.php in php.
VARIABLE name: the name of the variable is important as a "usage code" is generated, as sample code inserted at the beginning of the source. This may be pasted eventually in the source where this class is applied.
TYPE: the type of the generated source.
DB fields: is the list of the table field names. Rules: the first field has to be set as Primary Key, the fields are separates by ;.
Functions name: the list has to be similar with the fields one. Thus functions will be generated: getId, setId in case the first field is id in the fields list and Id in this one.
DB Table: the name of the table.
Generate from sql: the code, which would you like to generate begin from a create table command.
History(undo) Table: If you want to enable the history function in the code, you just put the name of the table, this will generate the table name structure and the functions in the code and enable it.

Submit any problems through our forum ... click here

1998-2008 Copyright GraFX Software Solutions



Rate Our Program
Excellent!
Very Good
Good
Fair
Poor