Just a short post to let you know that I just found this awesome github project that I need to checkout some day, to generate model files automatically.
https://github.com/johmue/mysql-workbench-schema-exporter
- In doctrine/propel you generate ORM classes based on annotations, yaml or xml.
- In MySQL workbench, you can completely design a schema file and “migrate” the schema file against a database. The changes will be detected and will be written in an update script.
With these two tools, developing with database entities should be a breeze.