Commit 9c5d718e authored by Gerson Sunye's avatar Gerson Sunye
Browse files

mapping design to code

parent b9d94eae
# Software Construction
Gerson Sunyé
[comment]: # (TODO)
[comment]: # (How to verify multiplicities?)
[comment]: # (Mapping designs to Unit Tests?)
......@@ -40,6 +36,7 @@
## Software Construction Sub-Activities
Software construction is more than just programming:
- Software Designing
- Coding and debugging
- Unit Testing
- Integration
......@@ -50,11 +47,34 @@ Software construction is more than just programming:
The choice of construction method is a key aspect of the construction planning activity. The choice of construction method affects the extent to which construction prerequisites (e.g. Requirements analysis, Software design, .. etc) are performed, the order in which they are performed, and the degree to which they are expected to be completed before construction work begins. Construction planning also defines the order in which components are created and integrated, the software quality management processes, the allocation of task assignments to specific software engineers, and the other tasks, according to the chosen method.[1]
## Roadmap
1. Identify coding standards
1. Identify an implementation strategy
1. Implement detailed design
1. Perform unit test
1. Release for integration
## Construction Technologies
## Software Design
- The Unified Modeling Language (UML). [Version 2.5](
- OMG standard containing:
- A notation (concrete syntax)
- A meta-model (abstract syntax)
- Almost **no semantics**!
- Several diagrams (concerns), one model.
- Several actors and processes, one syntax.
- Reduces the learning curve, but:
- Increases misinterpretation and confusion!<!-- .element: class="fragment highlight-red" -->
## Automatic Code Generation
- Code generate (part of) the code from the design model.
- Several tools available: Xtend, Acceleo, etc.
......@@ -350,6 +370,17 @@ class Dependency {
If a different implementation is needed (ArrayList, SynchronizedArrayList, etc.), maintenance is simplified.
## Coding Conventions
- Generic conventions (for Java):
- [Sun/Oracle Code Conventions](
- [Google Java Style Guide](
- Project specific:
- [GNU Coding Standards](
- [Mozilla Coding Style Guide](
- [Apache Coding Standards](
## Conclusion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment