自动代码生成 [英] Auto code Genaration

查看:92
本文介绍了自动代码生成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我打算做一个第3年的项目.那就是阅读UML并为该UML生成代码,我不知道如何启动它.需要帮助

[摘自OP添加的答案]
对于MS visio,他们支持以XML格式保存UML,我想要做的是读取此xml文件并生成代码

i going to do a project for 3rd yr. that is Read the UML and Generate the code for that UML sill i havent idea how to start it . NEED help

[From answer added by OP]
its for MS visio , they support to save UML in XML format what I want to do is read this xml file and generate the code

推荐答案

写道:

我打算在第3年做一个项目[...]我不知道如何启动它.

i going to do a project for 3rd yr [...] i havent idea how to start it.



因此,您进入计算机课程三年级了,还没有头绪吗?您会遇到很多麻烦.



So you are in the 3rd year of computing course and you haven''t got a clue? You are going to have a lot of trouble.

写道:​​

阅读UML


您将使用哪种格式?没有用于存储UML的标准",仅存储它应包含的信息.
最好的代码生成器无法生成良好的干净代码,因此您会乐在其中.

现在,我将为您提供有关ho0w的一个简短建议,以解决该项目.

使用大量用例编写适当的设计.即使您不能为太妃糖编写代码,您也可能足以成为一些离岸地狱漏洞编写文档的团队负责人.


What format will you use? There is no ''standard'' for storing UML, only the information it ashould contain.
The best code generators cannot generate good clean code, so you are in for some fun.

Now I will give you a single peice of advice on ho0w to approach this project.

Write a proper design with plenty of use cases. Even if you can not write code for toffee, you may be good enough to be a team leader in some off-shore hell hole writing documents.


它适用于MS visio,它们支持保存我想做的XML格式的UML是读取此xml文件并生成代码
its for MS visio , they support to save UML in XML format wat i want to do is read this xml file and generate the code


这篇关于自动代码生成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆