Sparx Systems Forum
Enterprise Architect => Uml Process => Topic started by: OwenInCanada on April 29, 2009, 12:13:41 am
-
Hi all,
In my software design in EA, I have the need to document some binary file formats. These can be described, for example, in Backus–Naur Form (BNF). Is there a natural place in an EA project to put some BNF? Or is there a technique other than BNF that serves the same purpose in UML?
One technique is to put a big Note on my diagram and capture my BNF phrases there. Any other ideas?
Thanks,
Owen
-
I never tried to express BNF with UML, but I found the topic very interesting, so I did a little web research and stumbled across this article: http://csci.csusb.edu/dick/papers/rjb99c.umlpl.html
Perhaps it will help you.
-
I never tried to express BNF with UML, but I found the topic very interesting, so I did a little web research and stumbled across this article: http://csci.csusb.edu/thingy/papers/rjb99c.umlpl.html
Perhaps it will help you.
I'm getting a 404 - Not found
Can anyone else get through?
TIA,
PAolo
-
I never tried to express BNF with UML, but I found the topic very interesting, so I did a little web research and stumbled across this article: http://csci.csusb.edu/thingy/papers/rjb99c.umlpl.html
Perhaps it will help you.
I'm getting a 404 - Not found
Can anyone else get through?
TIA,
PAolo
I spot a 'thingy' in that URL. I think the forum's rude word substitution has been triggered. Replace 'thingy' with a diminutive for 'Richard' and you'll get there... :)
-
I spot a 'thingy' in that URL. I think the forum's rude word substitution has been triggered. Replace 'thingy' with a diminutive for 'Richard' and you'll get there... :)
Ahh... I wondered about that!
Works a treat!
Thanx!
-
This YaBB censorship is a bugger indeed. Bleeding yankee crap. Changing links and code...
-
Thank you for that pointer.
So long story short:
EA is both a UML tool and more generally a software design tool.
While file formats may not be well captured in UML according to that link, surely file formats are part of my software design.
Sooo.... my solution is the following kluge:
Take my BNF (which is only a couple of dozen lines) and copy it into a note on an EA diagram. This serves the purpose of centralizing my design in one tool. But there is no formal connection between the BNF content and the EA models.
Thanks again for your input.
Regards,
Owen
-
An alternative is to use an artifact and store the BNF in the notes field. That way you can reference it in other diagrams if required.
-
How about creating them in a Requirements Diagram?