Skip to content

Bridge Pattern Implemented with views.py and iDataResource.py#85

Open
lariyana wants to merge 12 commits intoAaronWard:masterfrom
lariyana:structuralPattern
Open

Bridge Pattern Implemented with views.py and iDataResource.py#85
lariyana wants to merge 12 commits intoAaronWard:masterfrom
lariyana:structuralPattern

Conversation

@lariyana
Copy link
Copy Markdown

Implemented a Bridge Pattern to try and extend the approach how graphs can be displayed in a various formats.

created multiple views(concrete) to display multiple types of graphs(concrete)

This allows less class building and more cardinality among the bridge pattern classes, which can allow a range of graph types(pie, bar, etc) to be viewed in multiple ways (complete, extended, quick, etc).

This will avoid, having to create multiple individual classes, for example, a single class that has a bar graph with a quick view, and another class for a bar graph with an extended view.

This Bridge Pattern will instead "bridge" each concrete view with each concrete graph type for less class building and more flexibility.

lariyana added 12 commits March 16, 2021 19:53
github,py and wiki.py scrapes and fetches data for lis_countries and data prep to visualize. Created a new file to aggregate data instead of individually
Created new builder_data_vis.py to implement a Builder Pattern to help separate the construction of the graphs and treadlines in data_visualization,py from its representation.

Gives Builder control of parameters to create different representation of the visualization.
Implemented a Bridge Pattern to try and extend the ways graphs can be displayed.

created multiple views(concrete) to display multiple types of graphs(concrete)

This allows less class building and more cardinality among the bridge pattern classes
Implemented a Bridge Pattern to try and extend the ways graphs can be displayed.

created multiple views(concrete) to display multiple types of graphs(concrete)

This allows less class building and more cardinality among the bridge pattern classes to view a range of graph types in multiple ways
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