ERD Modelling tool with Doctrine Support

三世轮回 提交于 2020-01-14 05:58:22

问题


I'm looking for a free or paid software application that I can use for ER modelling.

Since I mostly develop applications using Symfony2/Doctrine, does anyone know about software that has Doctrine support?


回答1:


I think the following comparison is what you're searching: http://www.orm-designer.com/article/orm-designer-and-mysql-workbench-comparison

Conclusion: both ORM Designer and MySQL workbench are able to work with Doctrine.

Since MySQL workbench is free and under the wings of MySQL itself this should be favorable to me.




回答2:


Take a look at ORM Designer.

I always use MySQL Workbench and then import my database schema into doctrine entities. This let me fine-tune my indices better that way.




回答3:


This may not interest you directly, and is probably not really fitting your current development cycle either, but I think it's a good approach to avoid code generation wherever possible.

I'm currently developing the modules integration of Doctrine ORM with ZF2, and we got to build a tool that creates on-the-fly graphs of your entities relations:

(please don't take the graph as a good example)

With this approach, you write entities first, then mappings (annotations/xml/yaml/php) and there you got your schema (displayed by your application). I'm considering pushing this to doctrine/common directly, so it may be available in the DoctrineBundle soon.



来源:https://stackoverflow.com/questions/14466360/erd-modelling-tool-with-doctrine-support

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!