RaedAddala / SOLID

How to use SOLID principles to improve an existing code. This is a lab done within A Course in Software Architecture by Dr. Lilia Sfaxi @INSATunisia

Repository from Github https://github.comRaedAddala/SOLIDRepository from Github https://github.comRaedAddala/SOLID

SOLID Principles

This repository is made in the context of a Software Architecture Course by Dr. Lilia Sfaxi

This is our lab report. It was made by:

SRP( Single Responsability Principle)

Following the SRP, we refactored the classes found in ./SRP/src/exercise into ./SRP/src/exercise_refactored.

We split CarManager class into CarManager and CarRepository where the later will handle CRUD operations to the Database (in-memory database). Here is the old classes diagram UML:

oldSRPDiagram

Here is the new classes diagram UML:

newSRPDiagram

About

How to use SOLID principles to improve an existing code. This is a lab done within A Course in Software Architecture by Dr. Lilia Sfaxi @INSATunisia


Languages

Language:Java 100.0%