Skip to content

Commit 9a5e5fa

Browse files
Kristin HeibelKristin Heibel
Kristin Heibel
authored and
Kristin Heibel
committed
creating initial repo structure
0 parents  commit 9a5e5fa

File tree

10 files changed

+947
-0
lines changed

10 files changed

+947
-0
lines changed

Diff for: .DS_Store

8 KB
Binary file not shown.

Diff for: .idea/misc.xml

+53
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: .idea/workspace.xml

+822
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: README.md

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#Design Patterns
2+
3+
4+
## What is a Design Pattern?
5+
6+
## Four Essential Elements of Design Patterns
7+
### Name
8+
9+
The handle whe can use to describe a design problem, its solution, and the consequences in a word or few.
10+
11+
12+
### Problem
13+
14+
When to apply the pattern. This can be:
15+
- How to represent an algorithm as objects
16+
- Class structures symtomatic to inflexible design
17+
- List of conditions that must be met before it makes sense to use that particular pattern
18+
19+
20+
### Solution
21+
22+
Elements that make up the design, their relationships, responsibilities, and collaborations.
23+
24+
The solution provides an abstract description of a design problem and how a general arrangement of elements (classes and objects in our case) solves it.
25+
26+
The solution does NOT describe a particular implementation. It is a template that can be applied in may different situations.
27+
28+
### Consequences
29+
30+
The results and trade-offs of applying the pattern.
31+
32+
33+
## Describing Design Patterns
34+
35+
###Purpose
36+
- Creational: Describe the process of object creation
37+
- Structural: Composition of classes or objects
38+
- Behavioral: Ways in which classes or objects interact and distributes responsibility
39+
40+
41+
###Scope
42+
- Class
43+
- Object
44+
45+
##Delegation
46+
47+
##Inheritance vs Composition
48+
49+
##Inheritance vs Paramerized Types
50+

Diff for: designPatterns.iml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$">
6+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7+
</content>
8+
<orderEntry type="inheritedJdk" />
9+
<orderEntry type="sourceFolder" forTests="false" />
10+
</component>
11+
</module>

Diff for: src/.DS_Store

8 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Behavioral Design Patterns
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Creational Design Patterns
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#Structural Design Patterns

0 commit comments

Comments
 (0)