Looking for the latest version? Download classify-0.0.10.zip (40.1 kB)
Home
Name Modified Size Downloads / Week Status
Totals: 9 Items   5.9 kB 6
Download 2011-06-30 11 weekly downloads
download 2011-05-31 0
Lib 2011-05-31 33 weekly downloads
Actions 2011-05-26 44 weekly downloads
README 2011-06-10 926 Bytes 11 weekly downloads
db2class 2011-06-10 44 Bytes 22 weekly downloads
main.php 2011-05-31 2.6 kB 11 weekly downloads
application.xml 2011-05-26 218 Bytes 11 weekly downloads
ClassifyApplication.class.php 2011-05-26 2.1 kB 11 weekly downloads
Application allowing automatic generation of php classes for database tables and views. Usage: * Getting help php main.php --help * Getting help for a specific module (such as MySQL5) php main.php MySQL5 --help * Previewing generated code for the mysql.user and mysql.ssessions tables php main.php MySQL5 -u root -p -D mysql -f phps -o user sessions * Generating code for all the tables in the mysql database php main.php MySQL5 -u root -p -D mysql -f php -t ./output-folder -m Note: For windows user: this script uses ANSI codes for coloring the console output. If you whish to display the colors on windows you need to pipe this command to a post process utility (google is your friend to find one) or use cygwin. Note: For linux users: instead of using "php main.php" you can also make the file db2class executable with: chmod u+x db2class After this you can launch the script with: ./db2class MySQL5 --help
Source: README, updated 2011-06-10