[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655649-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655649-en":130,"doc-similar-655649":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","lecture-4-showing-the-architecture-coupling-and-cohesion-uml-package-diagrams-architectural-styles","Lecture 4 - Showing the architecture - Coupling and Cohesion - UML Package Diagrams - Architectural Styles","","Lecture 4 focuses on software architecture representation and decomposition, explaining how good architectures manage coupling and cohesion between modules. It introduces Conway’s Law and socio-technical congruence, then defines what a software architecture specifies: components, their interactions, functionality and data exchange, and control management, using client-server as an example. The lecture covers UML package diagrams, package notation and decomposition criteria, and motivates component-based design while highlighting architectural patterns and layered systems.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/lecture-4-showing-the-architecture-coupling-and-cohesion-uml-package-diagrams-architectural-styles/655649/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/lecture-4-showing-the-architecture-coupling-and-cohesion-uml-package-diagrams-architectural-styles/655649.png","ImageObject",300,407,{"name":42,"@type":43},"Aditya","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What is the main goal of minimizing coupling between modules?","Question",{"text":63,"@type":64},"Minimizing coupling ensures modules need to know little about one another to interact, making future change easier.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What does software architecture define?",{"text":68,"@type":64},"Software architecture defines the components of the system and how they use each other’s functionality and data, including how control is managed between components.",{"name":70,"@type":61,"acceptedAnswer":71},"How do UML package diagrams help represent architectures?",{"text":72,"@type":64},"They group UML elements into packages so architectures can be decomposed using criteria such as different owners, different applications, and clusters of classes with strong cohesion.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655649,1793030093,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":113,"preview_page_count":33,"preview_urls":145},962085564549,"https://ap-avatar.wpscdn.com/davatar_085a072bc5b1113ac321206ff7593b45","University of Toronto Department of Computer Science  \nLecture 4: Showing the architecture  \n􀀡 Coupling and Cohesion  \n􀀡 UML Package Diagrams  \n􀀡 Software Architectural Styles:  \n􀀡 Layered Architectures  \n􀀡 Pipe-and-ﬁlter  \n􀀡 Object Oriented Architecture  \n􀀡 Implicit Invocation  \n􀀡 Repositories  \n © 2012 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 1  \nUniversity of Toronto Department of Computer Science  \nCoupling and Cohesion  \nArchitectural Building blocks:  \n\n|  |  |  |  |\n| --- | --- | --- | --- |\n|  |  | connector |  |\n\nmodule module  \nA good architecture:  \nMinimizes coupling between modules:  \nGoal: modules donʼt need to know much about one another to interact Low coupling makes future change easier  \nMaximizes the cohesion of each module  \nGoal: the contents of each module are strongly inter-related  \nHigh cohesion means the subcomponents really do belong together  \n© 2012 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 2  \nConway ʼs Law  \n“The structure of a software system reﬂects the structure of the organisation that built it”  \nUniversity of Toronto Department of Computer Science  \n © 2008 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 3  \nUniversity of Toronto Department of Computer Science  \nSocio-Technical Congruence  \nPeople  \nC  \nG  \nB  \nE  \nF  \nD  \nA  \nL  \nJ  \nH  \nK  \nSee: Valetto , et al. , 2007 .  \n© 2012 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 4  \nUniversity of Toronto Department of Computer Science  \nSocio-Technical Congruence  \nSee: Valetto , et al. , 2007 .  \n© 2012 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 5  \nUniversity of Toronto Department of Computer Science  \nSoftware Architecture A software architecture deﬁnes:  \nThe components of the software system  \nHow the components use each other ʼs functionality and data  \nHow control is managed between the components  \nAn example: client-server  \nServers provide some kind of service; clients request and use services Reduced coupling: servers donʼt need to know what clients are out there  \nmethod invocation  \nServer client  \nclient  \nclient  \n © 2012 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 6  \nUniversity of Toronto Department of Computer Science  \nExample: 3-layer architecture  \n© 2012 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 7  \nUniversity of Toronto Department of Computer Science  \nUML Packages  \nWe need to represent our architectures  \nUML elements can be grouped together in packages  \nElements of a package may be:  \n􀀢 other packages (representing subsystems or modules);  \n􀀢 classes;  \n􀀢 models (e.g. use case models, interaction diagrams, statechart diagrams, etc)  \nEach element of a UML model is owned by a single package  \nCriteria for decomposing a system into packages:  \nDifferent owners  \nwho is responsible for working on which diagrams?  \nDifferent applications  \neach problem has its own obvious partitions;  \nClusters of classes with strong cohesion  \ne.g., course, course description, instructor, student,…  \nOr: use an architectural pattern to help ﬁnd a suitable decomposition…  \n © 2012 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 8  \nUniversity of Toronto Department of Computer Science  \nPackage notation  \n\n|  |\n| --- |\n| util |\n\nnamed package  \n\n| java::util  |\n| --- |\n| Date |\n\npackage with qualified name  \n\n| util |  |\n| --- | --- |\n| Date |  |\n\npackage with list of cont","cbCaijbq7WFbi9NY","https://ap.wps.com/l/cbCaijbq7WFbi9NY","pdf",1119455,12,"English","# Coupling and Cohesion\n## Architectural building blocks and goals\n# Conway's Law\n# Socio-Technical Congruence\n# Software Architecture\n## Client-server example\n# Example: 3-layer architecture\n# UML Packages\n## Package notation\n# Towards component-based design\n# Architectural Patterns\n# Layered Systems","[{\"question\":\"What is the main goal of minimizing coupling between modules?\",\"answer\":\"Minimizing coupling ensures modules need to know little about one another to interact, making future change easier.\"},{\"question\":\"What does software architecture define?\",\"answer\":\"Software architecture defines the components of the system and how they use each other’s functionality and data, including how control is managed between components.\"},{\"question\":\"How do UML package diagrams help represent architectures?\",\"answer\":\"They group UML elements into packages so architectures can be decomposed using criteria such as different owners, different applications, and clusters of classes with strong cohesion.\"}]","Lecture 4 - Showing the architecture - Coupling and Cohesion - UML Package Diagrams - Architectural Styles | PDF",1792963012,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/57c50f8e45cf1a20d7fc60f60ea67250.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2054a3ac6abeb0d37f355c19b5375ead.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/45a8346372b60776638488eb869ee044.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3dbcc24d9a7553289b947b93e05be134.webp",980,1268,{"list":163,"token":11},[164,171,177,183,189,195,202,208,214,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},347584,"Lecture 21 - Software Architectures","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911523391/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=4Cnl2oAzOCXR0YyM8TRSsgQRxmo%3D","lecture-21-software-architectures",14,1790067847,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":139,"category_name":29,"create_tm":176},655578,"UML Overview & UML Class Diagrams - Lecture Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974775249/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=T1oLAIe06d%2F9Arbo2QKpm1N4fCQ%3D","uml-overview-uml-class-diagrams-lecture-notes",1792962714,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":139,"category_name":29,"create_tm":182},347578,"Software Architecture Patterns - Exploring Essential Patterns for Successful Software Architecture Design","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911523095/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=Sf1XBwW3VldCZff2EmR0ivBeM%2FY%3D","software-architecture-patterns-exploring-essential-patterns-for-successful-software-architecture-design",1790067830,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":111,"category_name":29,"create_tm":188},655678,"L20 Design UML - Course Lecture Notes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974775757/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=IjhNZw5PYm%2BYAvSpo5kvu4tuJwo%3D","l20-design-uml-course-lecture-notes",1792963176,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":111,"category_name":29,"create_tm":194},655653,"COMMUNICATING ARCHITECTURE WITH THE C4 MODEL - A Practical Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286681/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=DZxgPrX9ZT3LV9p60ZiAGm49d2U%3D","communicating-architecture-with-the-c4-model-a-practical-guide",1792963027,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":29,"create_tm":201},655611,"Software Engineering I - UML Lecture - Introduction to UML and UML Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286119/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=7SYtPelvhXQU9WslPPqRh%2BS3Q5k%3D","software-engineering-i-uml-lecture-introduction-to-uml-and-uml-diagrams",15,1792962869,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":123,"category_name":29,"create_tm":207},655780,"Introduction to UML - Lecture 1 - Course Information - Aims and Objectives","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975289640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=4sLQa6RldVy32W0XUWup3sEJYVY%3D","introduction-to-uml-lecture-1-course-information-aims-and-objectives",1792963738,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":200,"category_name":29,"create_tm":213},655726,"C4 Model - Architecture Integration Strategies","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288510/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=aywg9ws3WenVku5FNSOGI1VEEJ8%3D","c4-model-architecture-integration-strategies",1792963489,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":123,"category_name":29,"create_tm":219},655616,"Software Engineering - A Short Introduction to UML Sequence Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286124/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=OBQQTNMMD0a40iiVDmNGT%2BKh8eM%3D","software-engineering-a-short-introduction-to-uml-sequence-diagrams",1792962882,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":139,"category_name":29,"create_tm":225},655685,"Object-Oriented Software Engineering Practical Software Development using UML and Java - Chapter 5 - Lecture 5 - UML Class Diagrams and Associations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287730/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796228819&Signature=VuktqeoBr1Ik%2BZEHRB5OQm8pqYc%3D","object-oriented-software-engineering-practical-software-development-using-uml-and-java-chapter-5-lecture-5-uml-class-diagrams-and-associations",1792963269]