5 typical Software Architecture styles
I. What are the five classic Software Architecture styles?
(1) data stream style: batch processing sequence; pipeline/Filter
(2) Call/return style: Main Program/subroutine; Object-oriented style; hierarchical structure
(3) Independent Component style: Process Communication and Event System
(4) Virtual Machine style: Interpreter; rule-based system
(5) warehouse style: database system; hypertext system; Blackboard System
Ii. Memory Methods
Image Memory
Numerical Coding Method
Imaginary memory
String-to-string story Encoding
Iii. digital encoding
Serial number |
Digital Encoding |
1 |
Tree |
2 |
Duck |
3 |
Ears |
4 |
Red Flag |
5 |
Hook |
Iv. Analysis
Serial number |
Five Classic Architecture styles |
Contact Point Analysis |
1 |
Data Stream |
The number is alsoTreeSound, it is expected to use a saw tree,SawComplete the tree and followRiverRun it back, build a beautiful house, and marry your wife. |
2 |
Call/Return |
My girlfriend came to Beijing and asked her to eat Quanjude's roast.Duck,Useless(The opposite is: called homophonic) even all the living expenses, no money, had to go back to the house, andReturnedGo to your hometown |
3 |
Independent Component |
Ears-For listening-Sound, Make your own independent voice, build (with"Component"Homophone) your perfect life |
4 |
Virtual Machine |
Which one is blowing in the north (VirtualSound), scared Winnie (ProposedSub-inner urgent (Machine), Put a piece of urine on your pants. |
5 |
Warehouse |
WarehouseThere are a lot of delicious food in itFood, A bunch of naughtyChildHook |
5. Memory
Serial number |
Five Classic Architecture styles |
Concatenate words into stories |
1 |
Data Stream |
A one-meter-thick big tree was saw down by a saw, pulled back along the river, built a beautiful house, and then married a beautiful and gentle wife. |
2 |
Call/Return |
My girlfriend came to Beijing and asked her to eat Quanjude's roast duck. She spent all her living expenses and had no money. She came over in the morning and had to go home in the evening and returned to her hometown. |
3 |
Independent Component |
Develop independent voices and thoughts to build a perfect life |
4 |
Virtual Machine |
The dark night wind is high. Which one is blowing in the North? The red flag is blowing, and Nini is worried. |
5 |
Warehouse |
A group of naughty children leave school every Friday and use hooks to hook the sausages and bacon in the school's warehouse. |
6. Extended memory
Serial number |
Five Classic Architecture styles |
Concatenate words into stories |
1 |
Data Stream Batch processing sequence; MPS queue/Filter |
A one-meter-thick big tree was saw down by a saw, pulled back along the river, built a beautiful house, and then married a beautiful and gentle wife. MinuteBatch ProcessingSeven aunts and aunts from the family,VirtualAccept suggestions,ColumnWaiting,ManagementFood Management,InvertedTea, water, smokeFilterCigarette in the mouth. |
2 |
Call/Return Main Program/subroutine; Object-oriented style; hierarchical structure |
My girlfriend came to Beijing and asked her to eat Quanjude's roast duck. She spent all her living expenses and had no money. She came over in the morning and had to go home in the evening and returned to her hometown. My girlfriend is bored, and I don't knowMasterWang Ma Zi next door, Qi Xu (Program homophonic) snatched Lao Tzu's girlfriend and gave birth to a big fat childChild. EvenFace (oriented homophonic)It's hard to see, and it's no longer an object for years! I changed to clean and tidy.StyleAnd become a beard. Go home every dayRub (layer homophonic)Mom's mealSub-homophonic. Collusion (conversely,It is the homophone of the structure.A group of friends and friends play cards and gamble. |
3 |
Independent Component Process Communication; Event System |
Even from the millennium shanzhai,Entering the city (process homophonic). Develop your own voice and thoughts to build your perfect life. Associated PressCommunicationThe Agency also made a special report. ThisEvent, Can cause a sensation in the mountains. |
4 |
Virtual Machine Interpreter; rule-based system |
The dark night wind is high. Which one is blowing in the North? The red flag is blowing, and Nini is worried. Get up early in the morning and explain it to Mom and Dad. Mom gave her a bowl of Crucian Carp (based on homophonic) soup and said it would be good to drink it. Grandma said, all areThis ghost(In turnRules. Hurry to the riverBucket washing(System) |
5 |
Warehouse Database System; hypertext system; Blackboard System |
A group of naughty children leave school every Friday and use hooks to hook the sausages and bacon in the school's warehouse. The headmaster discovered the issue and punished the children every day.Blackboard, ReciteUltra-long articlesTo help the students writeFine data. |
7. What is the effect of memory?
Do you remember the five classic Software Architecture styles? Please speak out loud.
I, II, III. Start!
What is 1, 1 is a tree, what's wrong with the tree?
What is 2, 2 is duck, what's wrong with duck?
......
In this case, we can basically answer the question!
They stringed up a string of pearls with a knowledge point hanging on them.
How is the effect!
Remember?
Remember it! Please remember to tell others about this method!
Recommended extended reading:
Seven Principles of interesting memory Object-Oriented Design
A super interesting chameleon smart question
Test the imagination of coders