Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Structural Design Pattern #196

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

ramiabaj
Copy link

@ramiabaj ramiabaj commented Apr 16, 2021

The right file is 07b58bb.
Structural design patterns are design patterns that makes the design easier by identifying simple relationships between entities. In my pull request on github, I have used Adapter design pattern on db_connector.py. The purpose of the Adapter design patten is to enable objects with different interfaces to come together in a single program and communicate with each other.

@@ -2,9 +2,19 @@
import json


class DatabaseConnector:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part of lab8.
My code starts from "Adapter Design Pattern"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant