Loading AI tools
From Wikipedia, the free encyclopedia
The Shlaer–Mellor method, also known as object-oriented systems analysis (OOSA) or object-oriented analysis (OOA) is an object-oriented software development methodology introduced by Sally Shlaer and Stephen Mellor in 1988. The method makes the documented analysis so precise that it is possible to implement the analysis model directly by translation to the target architecture, rather than by elaborating model changes through a series of more platform-specific models. In the new millennium the Shlaer–Mellor method has migrated to the UML notation, becoming Executable UML.[1]
The Shlaer–Mellor method is one of a number of software development methodologies which arrived in the late 1980s. Most familiar were object-oriented analysis and design (OOAD) by Grady Booch, object modeling technique (OMT) by James Rumbaugh, object-oriented software engineering by Ivar Jacobson and object-oriented analysis (OOA) by Shlaer and Mellor.[2][3] These methods had adopted a new object-oriented paradigm to overcome the established weaknesses in the existing structured analysis and structured design (SASD) methods of the 1960s and 1970s.[4] Of these well-known problems, Shlaer and Mellor chose to address:
Before publication of their second book in 1991 Shlaer and Mellor had stopped naming their method "Object-Oriented Systems Analysis" in favor of just "Object-Oriented Analysis". The method started focusing on the concept of Recursive Design (RD), which enabled the automated translation aspect of the method.
What makes Shlaer–Mellor unique among the object-oriented methods is:
The general solution taken by the object-oriented analysis and design methods to these particular problems with structured analysis and design, was to switch from functional decomposition to semantic decomposition.[5] For example, one can describe the control of a passenger train as:
Then a design becomes focused on the behavior of doors, brakes, and passengers, and how those objects (doors, brakes, etc.) are related and behave within the passenger train domain. Other objects, that provide services used by the passenger train domain, are modeled in other domains connected to the passenger train domain.
The goal of the Shlaer–Mellor method is to make the documented analysis so precise that it is possible to implement the analysis model directly by translation rather than by elaboration. In Shlaer–Mellor terminology this is called recursive design. In current (2011) terminology, we would say the Shlaer–Mellor method uses a form of model-driven architecture (MDA) normally associated with the Unified Modeling Language (UML).
By taking this translative approach, the implementation is always generated (either manually, or more typically, automatically) directly from the analysis. This is not to say that there is no design in Shlaer–Mellor, rather that there is considered to be a virtual machine that can execute any Shlaer–Mellor analysis model for any particular hardware/software platform combination.
This is similar in concept to the virtual machines at the heart of the Java programming language and the Ada programming language, but existing at analysis level rather than at programming level. Once designed and implemented, such a virtual machine is re-usable across a range of applications. Shlaer–Mellor virtual machines are available commercially from a number of tool vendors, notably Abstract Solutions, Mentor Graphics and Pathfinder Solutions.
Shlaer–Mellor proposes a semantic decomposition in multiple (problem) domains.[6]
Domain models of door actuators, motor controls, and braking systems would typically be considered as generic re-usable service domains whereas the passenger train controller domain is likely to be a very product-specific application domain.
A particular system is composed of domains and the defined bridges between the domains. A bridge is described in the terms of the assumptions held by the domain acting as a client bridged to a domain acting as a server.[7]
One of the requirements for automated code generation is to precisely model the actions within the finite-state machines used to express dynamic behaviour of Shlaer–Mellor objects.
Shlaer–Mellor is unique amongst object-oriented analysis methods in expressing such sequential behavior graphically as Action Data Flow Diagrams (ADFDs). In practice the tools that supported Shlaer–Mellor, provided a precise action language. The action languages superseded the ADFD approach, so all actions are written in textual form.
The translative approach of the Shlaer–Mellor method lends itself to automated test and simulation environments[8] (by switching the target platform during code generation), and this may partly explain the popularity of Shlaer–Mellor and other MDA-based methods when developing embedded systems, where testing on target systems e.g. mobile phones or engine management systems, is particularly difficult.
What makes such testing useful and productive is the concept of the Shlaer–Mellor virtual machine. As with most OOA/OOD methods, Shlaer–Mellor is an event-driven, message-passing environment. Onto this generic view, the Shlaer–Mellor virtual machine mandates a prioritised event mechanism built around State Models, which allows for concurrent execution of actions in different state machines.
Since any implementation of Shlaer–Mellor requires this model to be fully supported, testing under simulation can be a very close model of testing on target platform. Whilst functionality heavily dependent upon timing constraints may be difficult to test, the majority of system behaviour is highly predictable due to the prioritized execution model.
There has never been a universally agreed textual language to express actions within the Shlaer–Mellor community. Tool vendors have defined their own copyrighted and controlled action languages.
Graham (1994) described Shlaer–Mellor method as early example of object-oriented analysis, that could not really be regarded as object-oriented. According to Graham the method lacks "notion of inheritance. As described in their book it was little more than an object-based extension of data modelling."[9] In line with comment Capretz (1996) argues that the Shlaer–Mellor method "fails to account for the vast majority of object-oriented ideas and an ordinary graphical notation is prescribed", which is primarily taken "from entity–relationship diagrams and data flow diagrams found in other structured methods".[10]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.