Sparx Systems Forum
Enterprise Architect => Suggestions and Requests => Topic started by: vnedelcu on February 23, 2007, 01:46:25 am
-
Hi,
(This thread is related to this one: http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1172155515. David (Midnight) suggested to reopen the thread under Suggestions and Requests - thanks David)
Just a simple question:
- Sparx has some plans for implementing support for Ruby and/or Ruby On Rails?
Reasoning for asking the question:
- I really like EA. It is a very useful and powerful tool
- Ruby, and especially Ruby On Rails (aka RoR) are gaining a lot of velocity lately
- Ruby is a "very" OO programming - or scripting - whatever this means - language (much more powerful than PHP - sorry but it's true)
- Other "scripting languages have already support form EA (PHP, Python, JS I guess too)
Thanks,
Vasile
-
I've noticed t-kouno pointed out to a code template for Ruby, but the page (http://www.sparxsystems.jp/bin/ruby_code_template.xml) is in Japanese. Maybe somebody the has done this can help. Otherwise I will have to find my way through the maze.
Vasile
-
Hi Vasile,
I'm the man who made the original code template to generate Ruby code from Class diagram.
There are many request about Ruby generation/import in Japan and I already requested it to Sparx team.
Now I know they have a plan to support Ruby after release of version 7. Please send request to Sparx team to be able to use Ruby ASAP.
--
t-kouno
-
Hi t-kouno,
Thanks your the code - though I am not that good in Japanese - I will try to find out if I understand how to use it.
I already sent the request to EA team.
Hopefully EA will support eventually Ruby, and maybe Ruby On Rails as well.
Regards,
VAsile
-
Hi Vasile,
To use the XML file, just import from MainMenu | Tools | Import Reference Data.
It's quite simple template to generate Ruby classes from Class diagram. Maybe it's NOT sufficient for any users.
--
t-kouno
-
[FYI]
Now the template of above URL is not able to download. If someone wants to use it, I'll upload it to EA Users Group or EA Wiki.
Best solution is that EA supports Ruby directly. The Code template framework can satisfy only part of users requests.
--
t-kouno
-
Hi t-kono,
It would be very nice and helpful if you'll upload somewhere the template. I would very much appreciate this.
Nevertheless, as you pointed out, it would be better if EA will directly support Ruby and perhaps Ruby on Rails as well.
Vasile
-
Now anyone can download Ruby MDG Technology file.
http://www.sparxsystems.jp/bin/ruby_mdg_template.xml
It's only simple generation source file from Class diagram. The code template itself is the same as above URL.