Using the code-centric settings

For projects that use a model-driven development approach, the basis of the software design is the information in the model. When code is generated from IBM® Rational® Rhapsody®, this code simply reflects the design information stored in the model.

Rational Rhapsody can also be used by projects that use a code-centric approach to development. In this code-centric mode, Rational Rhapsody works on the assumption that the code serves as the blueprint for the software, and that the visual modeling capabilities of the product are being used primarily to visualize the code.

This assumption that the code takes precedence over the model leads to different behavior on the part of Rational Rhapsody regarding its code-related features: code generation, reverse engineering / roundtripping, animation.

Note: In terms of programming languages, code-centric mode can be used with C or C++.

When working in C, code-centric mode can only be used with file-based modeling, not object-based modeling.

Feedback