Use of UML for procedural s/w model
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   prasad_k
Posted On:   Monday, July 3, 2006 01:02 AM


As far as my knowledge UML is mostly used for object oriented modelling. Can we use the UML for non-object oriented (procedural) s/w modelling. My strong feeling is that it can not be used as we dont have aconcept class/object in the traditional procedural s/w due to which it is not possible to model the procedural s/w using the UML. Please give your suggestions.

Re: Use of UML for procedural s/w model

Posted By:   Anonymous  
Posted On:   Monday, July 3, 2006 03:25 AM

I think you could use UML for procedual languages. Think of a class as a container of data and functions. E.g. Pascal (as far as I can remember ;-) bundles these in a program. You could bundle several *.pas files in an unit - which could be mapped to a package. PAS-Procedure=Methods, PAS-Fields=Attributes. ... ATM I dont see any OO-specific in ActivityDiagrams ... (and btw - if you have a model, you could also generate procedural code (e.g. with oAW), just think about your model and your reference implementation).
About | Sitemap | Contact