We’ve added a nice MySQL Reverse Engineer Beta support and after feedbacks about this improvement we will extend it to all current drivers and also to new ones ( Oracle, SQLite and Mongo ).
To work with reverse engineer is pretty easy, you just run reverse.php that is already in you generated application or create a script with this content:
################################
# Hooks
################################
define('SYS_USE_FIREPHP',true,true);
################################
# Including required files
################################
require_once('app/phpBurn.php');
require_once('config.php');
//Migrations tool
PhpBURN::load('Migrations.Reverse');
################################
# Starting application
################################
PhpBURN_Reverse::init();
PS: Many to many relationships should be written in the MySQL standars: ( Tablename_has_OtherTablename ) and than magic happens
Than you just run this script and all your configured packages and databases will be created ( don’t forget to chmod 777 your model folders ).
Let’s test it, more options and a graphical interface are comming soon.
Well folks, that is it for now, we are accepting contributions anyhow ( money, work, etc ).
PhpBURN group at Google Groups: http://groups.google.com/group/phpburn

No Responses to “MySQL Reverse Engineer – Beta”
Trackbacks/Pingbacks