Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
xmi2symfony: tool to convert UML models to code skeletons for the symfony framework
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Michel Weimerskirch  
View profile  
 More options Dec 22 2007, 4:02 pm
From: Michel Weimerskirch <mic...@weimerskirch.net>
Date: Sat, 22 Dec 2007 13:02:40 -0800 (PST)
Local: Sat, Dec 22 2007 4:02 pm
Subject: xmi2symfony: tool to convert UML models to code skeletons for the symfony framework
Hi

I wrote a small application that converts UML models in the XMI format
to configuration files for applications based on the symfony
framework. It generates config/schema.yml as well as lib/model/*.php
(including skeletons for custom operations and documentation for
classes, operations and parameters).

Details about what elements are converted as well as a download link
can be found here:
http://michel.weimerskirch.net/

Is there a page on the wiki with a list of such tools? I'd like to add
mine to it.
Also, if possible, I would be interested in hosting it on the symfony
SVN as I don't have a public SVN server. Otherwise I will probably put
it on sourceforge.

I'd be happy to get your feedback via this list, on #symfony
(username: paperjam) or by a comment on my blog.

Regards,
Michel

PS: Remember: This is work in progress! The code base is currently in
an early alpha stage. Not everything works completely fine yet and
features and functionality are subject to change.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hassen Ben Tanfous  
View profile  
 More options Dec 22 2007, 4:43 pm
From: "Hassen Ben Tanfous" <hassenbentanf...@gmail.com>
Date: Sat, 22 Dec 2007 13:43:39 -0800
Local: Sat, Dec 22 2007 4:43 pm
Subject: Re: [symfony-devs] xmi2symfony: tool to convert UML models to code skeletons for the symfony framework

Hello Michel,
  I was working on something similar using AndroMDA. I'm glad to see I'm not
alone working on this.
Your approach is interesting. I'm using Poseidon to generate the XMI and
then process it by my AndroMDA cartridge.

I think it is a great addon to symfony to be able to define a model using
UML (like a class diagram for example). But, also taking advantage of the
modules and actions systems by using other UML diagrams.

For example, I can define in my UML something like that:
As a user, I can do : this and that.
Based on a template, we can generate the whole architecture including the
code to keep everything clean. So, the code is clean and you have a visual
advantage to explain complex systems.

Keep the good work

-Hassen Ben Tanfous

On Dec 22, 2007 1:02 PM, Michel Weimerskirch <mic...@weimerskirch.net>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hassen Ben Tanfous  
View profile  
 More options Dec 22 2007, 4:52 pm
From: "Hassen Ben Tanfous" <hassenbentanf...@gmail.com>
Date: Sat, 22 Dec 2007 13:52:09 -0800
Local: Sat, Dec 22 2007 4:52 pm
Subject: Re: [symfony-devs] xmi2symfony: tool to convert UML models to code skeletons for the symfony framework

Ooh yeah, something I forgot to mention.
I am not generating the schema.yml because the schema is already a level of
abstraction. If you decide to generate the schema, you will have to be able
to read and generate a UML diagram based on it. Besides, the schema is very
database oriented.

Using XMI, it is possible to define stereotypes, groups, packages,
pre-defined models etc. I think we should skip the schema and generate
directly the files we need based on the ORM.
After that, we can just dump the schema easily.

The UML diagram is there to define the model and if something in the model
need persistence then the code is generated. Otherwise, it is just another
class.

-Hassen Ben Tanfous

PS: this is just a suggestion, I'm not trying to tell you what to do (even
if it sounds like it)

On Dec 22, 2007 1:43 PM, Hassen Ben Tanfous <hassenbentanf...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google