PHP or Java Class Code Generator package is meant is automate the generation of classes to access databases in Java beans style.
It uses the Fast Template engine to process template files that define the skeleton of functions and variables of classes that store and retrieve data object property values from a given database table, getter and setter functions to access those properties and a function to delete a data object row from the respective database table.
The package comes with templates to generate classes either in PHP or Java. The PHP template defines code to access data objects in a MySQL database. The Java template defines code to access data objects in any database supported by JDBC.
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.
What's New in This Release: [ read full changelog ]
· The ability to use not only PRIMARY KEY, but to be able to send a whole WHERE to a class.
· An UNDO module, including history save/delete/redo.
· Java has been deprecated.