开发者

PHP & MySQL code generation from UML

Is there an Eclipse plug-in that will allow me to graphically generate a data model, and produce from it a MySQL Database Scr开发者_JAVA百科ipt for generation of that database, and generate PHP code for simple add/change/delete methods?

This way I can focus on programming the business logic, instead of fussing with the details of the SQL code.


You should use what is called a framework or ORM. Kohana is a good one, as is codeIgniter, and Doctrine. You can specify your data models in one location and have the DB and code generated. I'm not sure about generating it from a UML model tho.


You can use this UMLtoPHP online generation service that can take as input a UML Eclipse class diagram and generate the corresponding doctrine file for you. With that you can easily generate a full CRUD php application using, for instance, symfony

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜