Re: code generator [PHP5]
"Yevgeniy A. Viktorov" <[email protected]>
| Newsgroups | gmane.comp.lang.uml.argouml.user |
|---|---|
| Message-ID | <[email protected]> |
Hello Tom,
Thank you for the reply.
On Tuesday 17 June 2008 18:58:18 Tom Morris wrote:
> Are you looking for a different fixed pattern based on information
> available in the module or are you looking to have the user override
> the name based on a TaggedValue that's they store in the model or
> something similar?
The first time I though about TaggedValues as option to set filenames on per
class basis in ArgoUML, not sure if it's right or easy solution...
I am still looking for the best and easy solution to do code generation from
UML, but so far the easiest thing I saw in
http://bouml.sourceforge.net/
If shortly: with bouml you can create artifact <<source>> with custom name and
assign to any class. Also you can place this artifact into any package, i.e.
SGL/Foo/Bar and you can setup path for each or root package only.
It's seems usable and I just was interested if something similar available or
planned in ArgoUML.
> Can you give an example of the types of names
> you'd use? I'm having a hard time imagining cases where it's useful
> to not use the classifier name as the basis for the filename.
I am using php framework which follows a bit different format of file naming
in libs. For example:
class SGL_FooBar = /SGL/FooBar.php file ("class." not needed in filename)
Other issue - modules in same framework, for example:
class Block_Filter should be stored in module_name/blocks/filter.php (it's
require custom naming and path)
Thanks.