Design pattern

A design pattern is the re-usable form of a solution to a design problem. The idea was introduced by the architect Christopher Alexander[1] and has been adapted for various other disciplines, particularly software engineering.[2]

Details

An organized collection of design patterns that relate to a particular field is called a pattern language. This language gives a common terminology for discussing the situations designers are faced with.

The elements of this language are entities called patterns. Each pattern describes a problem that occurs over and over again in our environment, and then describes the core of the solution to that problem, in such a way that you can use this solution a million times over, without ever doing it the same way twice.

— Christopher Alexander, A Pattern Language[1]

Documenting a pattern requires explaining why a particular situation causes problems, and how the components of the pattern relate to each other to give the solution.[3] Christopher Alexander describes common design problems as arising from "conflicting forces"—such as the conflict between wanting a room to be sunny and wanting it not to overheat on summer afternoons. A pattern would not tell the designer how many windows to put in the room; instead, it would propose a set of values to guide the designer toward a decision that is best for their particular application. Alexander, for example, suggests that enough windows should be included to direct light all around the room. He considers this a good solution because he believes it increases the enjoyment of the room by its occupants. Other authors might come to different conclusions, if they place higher value on heating costs, or material costs. These values, used by the pattern's author to determine which solution is "best", must also be documented within the pattern.

Pattern documentation should also explain when it is applicable. Since two houses may be very different from one another, a design pattern for houses must be broad enough to apply to both of them, but not so vague that it doesn't help the designer make decisions. The range of situations in which a pattern can be used is called its context. Some examples might be "all houses", "all two-story houses", or "all places where people spend time".

For instance, in Christopher Alexander's work, bus stops and waiting rooms in a surgery center are both within the context for the pattern "A PLACE TO WAIT".

Examples

Business models also have design patterns.[4] See Business model § Examples.

See also

References

  1. ^ a b Alexander, Christopher (1977). A Pattern Language: Towns, Buildings, Construction. Center for Environmental Structure series. Vol. 2. New York: Oxford University Press. ISBN 0-19-501919-9. OCLC 3132495.
  2. ^ Gamma, Erich; Helm, Richard; Johnson, Ralph; Vlissides, John (1994). Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley professional computing series. Reading, Mass.: Addison-Wesley. ISBN 0-201-63361-2. OCLC 31171684. The "Gang of Four" book.
  3. ^ Maioriello, James (2002-10-02). "What are design patterns and do I need them?". developer.com. Retrieved 2011-03-21.
  4. ^ For example: Mettler, Tobias; Eurich, Markus (June 2012). "A 'design-pattern'–based approach for analyzing e-health business models". Health Policy and Technology. 1 (2): 77–85. doi:10.1016/j.hlpt.2012.04.005.

Further reading

Read other articles:

Piala Emas CONCACAF 1993(Spanyol) Copa de Oro de la Concacaf 1993Logo Piala Emas CONCACAF 1993Informasi turnamenTuan rumah Amerika Serikat MeksikoJadwalpenyelenggaraan10–25 Juli 1993Jumlahtim peserta8 (dari 1 konfederasi)Tempatpenyelenggaraan2 (di 2 kota)Hasil turnamenJuara Meksiko (gelar ke-1)Tempat kedua Amerika SerikatTempat ketiga Kosta Rika JamaikaStatistik turnamenJumlahpertandingan16Jumlah gol60 (3,75 per pertandingan)Jumlahpenonton709.348…

Indian newspaper Ekdin (একদিন)Front page of EkdinTypeDaily newspaperFormatBroadsheetOwner(s)Narshingha Broadcasting Pvt. Ltd.PublisherKrishnanand SinghEditorSantosh Kumar SinghFounded2006LanguageBengaliHeadquartersKolkata, IndiaWebsiteekdin-epaper.com The Daily Ekdin (Bengali: একদিন, meaning One Day), is a daily newspaper, published from West Bengal in Bengali language. It is one of the largest circulated Bengali language newspapers in India.[1] Santosh Kumar Singh is…

Questa voce o sezione sull'argomento cantanti statunitensi non cita le fonti necessarie o quelle presenti sono insufficienti. Puoi migliorare questa voce aggiungendo citazioni da fonti attendibili secondo le linee guida sull'uso delle fonti. Segui i suggerimenti del progetto di riferimento. Brett DennenBrett Dennen dal vivo nel 2010 Nazionalità Stati Uniti GenereFolk Periodo di attività musicale2004 – in attività Album pubblicati6 Studio5 Live1 Sito ufficiale Mo…

This article is about the Celine Dion song. For the Celine Dion album, see Encore un soir (album). 2016 single by Celine DionEncore un soirSingle by Celine Dionfrom the album Encore un soir Released24 May 2016 (2016-05-24)RecordedJune 2015GenrePopLength4:23 (album version)3:52 (radio edit)LabelColumbiaSongwriter(s)Jean-Jacques GoldmanProducer(s)Jean-Jacques GoldmanYann MacéLuc LeroyCeline Dion singles chronology The Show Must Go On (2016) Encore un soir (2016) Recovering (2016) L…

American actress and television presenter Alyson HanniganHannigan in 2013BornAllison Lee Hannigan (1974-03-24) March 24, 1974 (age 50)Washington, D.C., U.S.Other namesAlyson DenisofEducationCalifornia State University, Northridge (BA)OccupationsActresstelevision presenterYears active1986–presentSpouse Alexis Denisof ​(m. 2003)​Children2Signature Allison Lee Hannigan (born March 24, 1974), known professionally as Alyson Hannigan, is an American actres…

2020年夏季奥林匹克运动会波兰代表團波兰国旗IOC編碼POLNOC波蘭奧林匹克委員會網站olimpijski.pl(英文)(波兰文)2020年夏季奥林匹克运动会(東京)2021年7月23日至8月8日(受2019冠状病毒病疫情影响推迟,但仍保留原定名称)運動員206參賽項目24个大项旗手开幕式:帕维尔·科热尼奥夫斯基(游泳)和马娅·沃什乔夫斯卡(自行车)[1]闭幕式:卡罗利娜·纳亚(皮划艇)[2…

Mizoram was a part of the Assam state in the 1950s The history of Mizoram encompasses the history of Mizoram which lies in the southernmost part of northeast India. It is a conglomerate history of several ethnic groups of Chin people who migrated from Chin State of Burma. But information of their patterns of westward migration are based on oral history and archaeological inferences, hence nothing definite can be said. The recorded history started relatively recently around the mid-19th century w…

У этого термина существуют и другие значения, см. Золотое кольцо. Ярославль Сергиев Посад Переславль-Залесский Ростов Кострома Иваново Суздаль ВладимирОсновные города Золотого кольца Золото́е кольцо́ Росси́и — туристский маршрут, проходящий по древним городам Север…

كرة القدم في ألعاب البحر الأبيض المتوسط 2005تفاصيل المسابقةالبلد المضيف إسبانياالتواريخ23 يونيو - 3 يونيوالفرق9 (من 2 اتحاد كونفدرالي)الأماكن4 (في 4 مدن مضيفة)المراكز النهائيةالبطل إسبانيا (1 لقب)الوصيف تركياالمركز الثالث ليبياالمركز الرابع المغربإحصائيات ال…

المسيحية في الأرجنتينبازليكا سيدة لوخان: شفيعة وراعية الأرجنتينمناطق الوجود المميزةالبلد الأرجنتين  الأرجنتين ‏ 34,420,000 (تقديرات 2010)[1]اللغات اللغة الإسبانيةالدين الغالبية على مذهب الرومانيَّة الكاثوليكيًّةالمجموعات العرقية المرتبطةفرع من Christianity on the Earth (en) الدين…

For keynote presentations given by Steve Jobs, see Stevenote. This list is incomplete; you can help by adding missing items. (August 2022) The Yerba Buena Center for the Arts's exterior prepared in anticipation for the March 2, 2011 unveiling of Apple's iPad 2 Apple Inc. has announced major new and redesigned products and upgrades through press conferences, while minor updates often happen through press releases on Apple Newsroom. The press conferences have historically garnered a significant fo…

2009 French filmDiamant 13Directed byGilles BéhatWritten byGilles Béat Hugues Pagan Olivier MarchalProduced byCharles Gilibert Marin Karmitz Nathanaël Karmitz Patrick Quinet Claude WaringoStarringGérard Depardieu Olivier Marchal Asia ArgentoCinematographyBernard MalaisyEdited byThierry FaberMusic byFrédéric VerchevalDistributed byMK2 DistributionRelease dates 21 January 2009 (2009-01-21) (France) 21 January 2009 (2009-01-21) (Belgium)[1] Runnin…

State of ritual uncleanliness in Islam Part of Islamic hygienical jurisprudence. This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: Najis – news · newspapers · books · scholar · JSTOR (October 2015) (Learn how and when to remove this message) Part of a series onIslamic jurisprudence(fiqh) Ritual Shahada Salah Raka…

Late 2nd/early 3rd century Greek rhetorician and grammarian For other uses, see Athenaeus (disambiguation). For the Christian theologian, see Athanasius of Alexandria. Athenaeus of NaucratisBornLate 2nd century ADNaucratis, Roman Empire (modern-day Egypt)DiedEarly 3rd century ADUnknownOccupationWriter, grammarian, and rhetoricianNotable worksDeipnosophistae Athenaeus of Naucratis (/ˌæθəˈniːəs/; Ancient Greek: Ἀθήναιος ὁ Nαυκρατίτης or Nαυκράτιος, Athēnaios N…

一中同表,是台灣处理海峡两岸关系问题的一种主張,認為中华人民共和国與中華民國皆是“整個中國”的一部份,二者因為兩岸現狀,在各自领域有完整的管辖权,互不隶属,同时主張,二者合作便可以搁置对“整个中國”的主权的争议,共同承認雙方皆是中國的一部份,在此基礎上走向終極統一。最早是在2004年由台灣大學政治学教授張亞中所提出,希望兩岸由一中各表的…

Laut ChukchiLokasi Laut Chukchi.Koordinat69°N 172°W / 69°N 172°W / 69; -172Koordinat: 69°N 172°W / 69°N 172°W / 69; -172Jenis perairanLautTerletak di negaraRusia dan Amerika SerikatArea permukaan620.000 km2 (240.000 sq mi)Kedalaman rata-rata80 m (260 ft)Volume air50.000 km3 ([convert: unit tak dikenal])Lihat peta yang diperkecilLihat peta yang diperbesarReferensi[1][2][3] Laut Chukchi (R…

Max von SydowLahirCarl Adolf von Sydow(1929-04-10)10 April 1929Lund, SwediaMeninggal8 Maret 2020(2020-03-08) (umur 90)Warga negaraSwedia-PrancisAlmamaterRoyal Dramatic TheatrePekerjaanAktorTahun aktif1948–2018Suami/istriChristina Olin ​ ​(m. 1951; c. 1979)​ Catherine Brelet ​(m. 1997)​Anak4 Max von Sydow (/vɒn ˈsiːdoʊ/;[1][a] nama lahir Carl Adolf von Sydow, 10 April 1929 – 8 Maret 2020…

District in Peru District in Huancavelica, PeruLocrojaDistrictCountry PeruRegionHuancavelicaProvinceChurcampaFoundedJanuary 21, 1875; 149 years ago (1875-01-21)CapitalLocrojaGovernment • MayorGerman Quispe YangaliArea • Total76.76 km2 (29.64 sq mi)Elevation3,379 m (11,086 ft)Population (2005 census) • Total4,930 • Density64/km2 (170/sq mi)Time zoneUTC-5 (PET)UBIGEO090506 Locroja District is …

Current system of government of France (1958–present) This article describes the origins and historical development of the current French state. For information on its organization and structure, see Politics of France. French RepublicCinquième République française (French) Flag Emblem[I] Motto: Liberté, Égalité, Fraternité (French)Liberty, Equality, FraternityAnthem: La MarseillaiseGreat Seal: Location of France (dark green)– in Europe …

Quella sporca ultima metaPoliziotti contro prigionieri, in cima è Paul Crewe (Burt Reynolds) in scenaTitolo originaleThe Longest Yard Lingua originaleinglese Paese di produzioneStati Uniti d'America Anno1974 Durata121 min Rapporto1,85:1 Generecommedia, sportivo RegiaRobert Aldrich SoggettoAlbert S. Ruddy SceneggiaturaTracy Keenan Wynn ProduttoreAlbert S. Ruddy Casa di produzioneParamount Pictures, Albert S. Ruddy Productions, Long Road Productions Distribuzione in italianoParamount Home Ent…