09/09/2008
» new symfony 1.1 / 1.2 plugin + tutorial : sfDB4toPropelPlugin
Par / by COil,
09/09/2008 / 23:00 :: Tags :: dbdesigner4
| php
| propel
| symfony
| tutorial
1 - sfDB4toPropelPlugin presentation
I've just released a new plugin, it is called sfDB4toPropelPlugin, what is this ? Can it make coffee ? Not yet.
Well this one add to symfony a new task: propel:db4-to-propel that allows you to convert a DB4 schema (A DBDesigner 4 schema) into a valid propel schema.yml file. It can handle:
- I18n tables
- Foreign keys
- phpNames of tables
- Name of propel connection
- Comments for all fields
- Name of target schema
- Lib package name
- And several other options...
You can read a complete tutorial for this plugin in the full version of this post.
Of course, i'll be glad to have some feedback here, to know what you like / dislike and what could be improved.
See you. COil

Related posts:
- http://trac.symfony-project.org/wiki/HowtoUseDbDesigner4XML
- http://blog.tooleshed.com/?p=6
- http://blog.onfamp.net/maze/un-petit-batch-pour-symfony/
- http://www.symfony-project.org/snippets/snippet/286
- http://www.diloc.de/blog/2008/02/26/mysql-workbench-propel-useful/
PS: Reading the related posts, it seems that i did not use the "last version", so i'll check what can be included in the next version of the plugin.
...








