Cross-cutting concern

In aspect-oriented software development, cross-cutting concerns are aspects of a program that affect several modules, without the possibility of being encapsulated in any of them. These concerns often cannot be cleanly decomposed from the rest of the system in both the design and implementation, and can result in either scattering (code duplication), tangling (significant dependencies between systems), or both.

For instance, if writing an application for handling medical records, the indexing of such records is a core concern, while logging a history of changes to the record database or user database, or an authentication system, would be cross-cutting concerns since they interact with more parts of the program.

Background

Cross-cutting concerns are parts of a program that rely on or must affect many other parts of the system. They form the basis for the development of aspects.[1] Such cross-cutting concerns do not fit cleanly into object-oriented programming or procedural programming.[2]

Cross-cutting concerns can be directly responsible for tangling, or system inter-dependencies, within a program. Because procedural and functional language constructs consist entirely of procedure calling, there is no semantic through which two goals (the capability to be implemented and the related cross-cutting concern) can be addressed simultaneously.[3] As a result, the code addressing the cross-cutting concern must be scattered, or duplicated, across the various related locations, resulting in a loss of modularity.[2]

Aspect-oriented programming aims to encapsulate cross-cutting concerns into aspects to retain modularity. This allows for the clean isolation and reuse of code addressing the cross-cutting concern.[4] By basing designs on cross-cutting concerns, software engineering benefits can include modularity and simplified maintenance.[5]

Examples

Examples of concerns that tend to be cross-cutting include:

See also

References

Bibliography

  • Kiczales, Gregor; Lamping, John; Mendhekar, Anurag; Maeda, John; Lopes, Cristina; Longtier, Jean-Marc; Irwin (1997). "Aspect-Oriented Programming". Proceedings of the 11th European Conference on Object-Oriented Programming (ECOOP 1997): 220–242.
  • US patent 6467086, Kiczales et al., "Aspect-oriented programming", issued 2002-10-15 
  • Li, Harry; Krishnamurthi, Shriram; Fisler, Kathi (2002). "Verifying Cross-Cutting Features as Open Systems". ACM SIGSOFT Software Engineering Notes. 27 (6): 89–98. CiteSeerX 10.1.1.8.9445. doi:10.1145/605466.605481. S2CID 52835673.
  • Parnas, David L. (December 1972). "On the Criteria To Be Used in Decomposing Systems into Modules". Communications of the ACM. 15 (12): 1053–1058. CiteSeerX 10.1.1.90.8963. doi:10.1145/361598.361623. S2CID 53856438.
  • Tarr, Peri; Ossher, Harold; Harrison, William; Sutton, Stanley M. Jr. (1999). "N degrees of separation: Multi-dimensional separation of concerns". Proceedings of the 1999 International Conference on Software Engineering (IEEE Cat. No.99CB37002). Los Angeles, California, USA: IEEE Computer Society Press. pp. 107–119. CiteSeerX 10.1.1.89.1641. doi:10.1109/ICSE.1999.841000. ISBN 978-1-58113-074-4.

Further reading

  • Laddad, R. (2003): AspectJ in Action, Practical Aspect-Oriented Programming, Manning Publications Co.

Read other articles:

G.I. BluesAlbum studio / Soundtrack karya Elvis PresleyDirilis1 Oktober 1960DirekamApril–Mei 1960GenrePop, rock and rollDurasi26:35LabelRCA VictorKronologi Elvis Presley Elvis Is Back!(1960)Elvis Is Back!1960 G.I. Blues(1960) His Hand in Mine(1960)His Hand in Mine1960 Penilaian profesional Skor ulasan Sumber Nilai AllMusic [1] MusicHound [2] G.I. Blues adalah album kesebelas karya penyanyi dan musisi Amerika Elvis Presley, yang dirilis oleh RCA Victor dalam bentuk mo...

 

Ini adalah nama Mandailing, marganya adalah Lubis. Daniel Lubis Wakil Bupati Pasaman ke-3Masa jabatan29 Agustus 2010 – 29 Agustus 2015PresidenSusilo Bambang YudhoyonoJoko WidodoGubernurIrwan PrayitnoReydonnyzar Moenek (Pj.) PendahuluHamdy BurhanPenggantiAtos Pratama Informasi pribadiLahir19 September 1957 (umur 66)Simpang Tonang, Dua Koto, Pasaman, Sumatera BaratKebangsaanIndonesiaPartai politikPANSuami/istriHartati Tahar (almh)AnakAde HerlienAmelia MayentiDevie RianiNina ...

 

كاديلاك     الإحداثيات 44°15′N 85°24′W / 44.25°N 85.4°W / 44.25; -85.4  [1] تاريخ التأسيس 1877  تقسيم إداري  البلد الولايات المتحدة[2][3]  التقسيم الأعلى مقاطعة ويكسفورد  عاصمة لـ مقاطعة ويكسفورد  خصائص جغرافية  المساحة 24.393723 كيلومتر مربع23.381669 كيل...

Artikel ini bukan mengenai Grup Bank Internasional. Bank DuniaLogo Bank DuniaTanggal pendirianJuli 1944; 79 tahun lalu (1944-07)StatusPerjanjianTipeOrganisasi keuangan internasional moneterTujuanPemberi pinjamanKantor pusatWashington, D.C., Amerika SerikatWilayah Seluruh duniaJumlah anggota 188 negara (IBRD)[1]173 countries (IDA)[2]Tokoh pentingDavid Malpass, presidenOrganisasi indukGrup Bank DuniaSitus webworldbank.org Bank Dunia (bahasa Inggris: World Bank) merupakan se...

 

Harlow ShapleyArsip SmithsonianLahir2 November 1885Nashville, MissouriMeninggal20 Oktober 1972(1972-10-20) (umur 86)Boulder, ColoradoKebangsaanAmerika SerikatAlmamaterUniversitas Missouri, Universitas PrincetonDikenal atasMatahari di Galaksi Bima SaktiKarier ilmiahBidangAstronomiPembimbing doktoralHenry Norris Russell Harlow Shapley (2 November 1885 – 20 Oktober 1972) adalah seorang astronom Amerika Serikat. Ia banyak menulis buku tentang astronomi dan ilmu pengetahuan. Penghargaan He...

 

Video game for the Nintendo 3DS 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: Gaist Crusher – news · newspapers · books · scholar · JSTOR (March 2021) (Learn how and when to remove this template message) Gaist CrusherCover artwork of the video gameガイストクラッシャー(Gaisutokurasshā)GenreAction...

كأس أذربيجان 2009–10 تفاصيل الموسم كأس أذربيجان  النسخة 18  البلد أذربيجان  التاريخ بداية:17 سبتمبر 2009  نهاية:23 مايو 2010  المنظم اتحاد أذربيجان لكرة القدم  البطل نادي باكو  عدد المشاركين 16   كأس أذربيجان 2008–09  كأس أذربيجان 2010–11  تعديل مصدري - تعديل   ك�...

 

إدموند كونين معلومات شخصية الميلاد 10 نوفمبر 1914(1914-11-10) الوفاة 5 مارس 1990 (عن عمر ناهز 75 عاماً)ليفركوزن الطول 178 سنتيمتر  مركز اللعب مهاجم الجنسية ألمانيا  مسيرة الشباب سنوات فريق 1924–1928 SV Ürzig 1928–1932 ساربروكن المسيرة الاحترافية1 سنوات فريق م. (هـ.) 1932–1935 ساربروكن 1938–1944 ش�...

 

Artikel ini perlu diwikifikasi agar memenuhi standar kualitas Wikipedia. Anda dapat memberikan bantuan berupa penambahan pranala dalam, atau dengan merapikan tata letak dari artikel ini. Untuk keterangan lebih lanjut, klik [tampil] di bagian kanan. Mengganti markah HTML dengan markah wiki bila dimungkinkan. Tambahkan pranala wiki. Bila dirasa perlu, buatlah pautan ke artikel wiki lainnya dengan cara menambahkan [[ dan ]] pada kata yang bersangkutan (lihat WP:LINK untuk keterangan lebih lanjut...

Freaky! Chanson de Senhit auConcours Eurovision de la chanson 2020 Sortie 2020 Langue Anglais Auteur-compositeur Gianluigi FazioHenrik Steen HansenNanna Bottos Chansons représentant Saint-Marin au Concours Eurovision de la chanson Say Na Na Na(2019)modifier Freaky! Single de Senhit Sortie 9 mars 2020 Durée 3:00 Format Téléchargement numérique Auteur-compositeur Gianluigi FazioHenrik Steen HansenNanna Bottos Label PaniniArtist First modifier Freaky! est une chanson de la chante...

 

Roseau, Minnesota Roseau ( /roʊˈzoʊ/ ) adalah sebuah kota di, dan kursi county, Roseau County, Minnesota. Populasinya adalah 2.744 pada saat sensus 2020.[1] Geografi Menurut Biro Sensus Amerika Serikat, kota ini memiliki luas total 267 mil persegi (691,53 km2) semua tanah.[2] Iklim Roseau memiliki iklim kontinental yang lembab ( klasifikasi iklim Köppen Dfb ) dengan musim panas yang hangat dan musim dingin yang sangat dingin. Curah hujan secara signifikan lebih tinggi...

 

Cet article est une ébauche concernant la Révolution française. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. La gauche Les Montagnards Club des Jacobins en 1793-1794, club des Cordeliers Lors de la Terreur les Montagnards se divisèrent en trois camps: Les Exagérés: Personnalités membres ou proches de ce groupe: Marat, Hébert Les Robespierristes: Personnalités membres ou proches de ce groupe: Robespie...

此条目序言章节没有充分总结全文内容要点。 (2019年3月21日)请考虑扩充序言,清晰概述条目所有重點。请在条目的讨论页讨论此问题。 哈萨克斯坦總統哈薩克總統旗現任Қасым-Жомарт Кемелұлы Тоқаев卡瑟姆若马尔特·托卡耶夫自2019年3月20日在任任期7年首任努尔苏丹·纳扎尔巴耶夫设立1990年4月24日(哈薩克蘇維埃社會主義共和國總統) 哈萨克斯坦 哈萨克斯坦政府...

 

Valley in south-central Oregon and northeastern California Goose Lake ValleyGoose Lake near the Oregon–California borderGoose Lake ValleyLength47 mi (76 km) north–southWidth12 mi (19 km) west–eastGeographyCountryUnited StatesStateOregon and CaliforniaCountiesLake County, OregonModoc County, CaliforniaPopulation centerLakeview, OregonBorders onFremont MountainsWarner MountainsModoc Plateau The Goose Lake Valley is located in south-central Oregon and northeaste...

 

Saturno, signore del Tempo (dettaglio dal trattato De Sphaera). La concezione filosofica del tempo, così come dello spazio, oltre a fornire un modello interpretativo dei fenomeni studiati dalla fisica e dalla scienza, si carica di significati spirituali, religiosi e psicologici, a seconda del contesto storico e culturale. Indice 1 Quantità e qualità del tempo 2 La concezione del tempo ciclico 2.1 Il tempo ciclico nella storia umana 2.2 Il tempo ciclico tra scienza e filosofia 2.2.1 Fisica ...

Alla fine della pagina ↑ Torna su ↑ Ethn23 ha effettuato l'ultima modifica su questa pagina il 30 marzo 2024 alle 20:07. Archivio DiscussioniUtente Paskwiki 2009-2010 · 2011 · 2012 · 2013 · 2014 · 2015 · 2016 · 2017 · 2018 · 2019 · 2020 · 2021 · 2022 come archiviare Indice 1 Gianni Celeste 2 Informazioni mancanti 3 Ercole Castaldo 4 Cristaldi cantante 5 Manifesto di Lunghezza 6 Consolato USA a Napoli 7 Rosa C.N. Posillipo 2017-2018 Gianni Celeste Ciao, effettivamen...

 

American composer (born 1926) Some of this article's listed sources may not be reliable. Please help improve this article by looking for better, more reliable sources. Unreliable citations may be challenged and removed. (February 2023) (Learn how and when to remove this message) Philip SpringerSpringer in 2021Born (1926-05-12) May 12, 1926 (age 98)New York City, U.S.NationalityAmericanAlma materColumbia College (BA)New York University (MA)University of California, Los Angeles (PhD)O...

 

此條目没有列出任何参考或来源。 (2022年2月15日)維基百科所有的內容都應該可供查證。请协助補充可靠来源以改善这篇条目。无法查证的內容可能會因為異議提出而被移除。 特立尼达和多巴哥奥林匹克委员会成立時間1946總部特立尼达和多巴哥西班牙港網站www.ttoc.org奥林匹克委员会信息國家或地區 千里達及托巴哥IOC編碼TTO加入IOC1947区域组织泛美體育組織 特立尼达和多巴...

Bandar Udara Internasional Yangonရန်ကုန်အပြည်ပြည်ဆိုင်ရာလေဆိပ် IATA: RGNICAO: VYYY RGNLokasi bandar udara di MyanmarInformasiJenisPublikPemilikPemerintah Persatuan MyanmarPengelolaKementerian TransportasiMelayaniYangonLokasiMingaladon 11021, Yangon Yangon Division, MyanmarKetinggian dpl33 mdplKoordinat16°54′26″N 96°07′59″E / 16.90722°N 96.13306°E / 16.90722; 96.13306Situs webhttp://www.yang...

 

يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة من خلال إضافة مصادر موثوق بها. أي معلومات غير موثقة يمكن التشكيك بها وإزالتها. (نوفمبر 2019) المغيرين التجاريين هم سفن غارات تجارية مسلحة بحيث تتنكر في صورة سفينة تجارية غير مقاتلة. التاريخ استخدمت...