[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-347584-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-347584-en":131},{"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-21-software-architectures","Lecture 21 - Software Architectures","","Lecture 21 focuses on software architectures and core architectural styles, including pipe-and-filter, object-oriented variants, client-server, event-based, layered design, and repository patterns such as blackboard and MVC. The material contrasts analysis versus design, explaining how analysis clarifies requirements and domain properties while design determines how the system will work. It also covers architecture fundamentals like components, control and data interactions, and principles of coupling and cohesion, then illustrates pipe-and-filter and client-server/client-broker distinctions.",{"@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-21-software-architectures/347584/",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-21-software-architectures/347584.png","ImageObject",300,407,{"name":42,"@type":43},"Margaret","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-09-22",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",13,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How does analysis differ from design in software development?","Question",{"text":63,"@type":64},"Analysis asks what the problem is and what happens in the current system, then identifies requirements and domain properties. Design investigates how to build a solution and how the new system will work, producing a working system that satisfies the requirements.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What does a software architecture define?",{"text":68,"@type":64},"A software architecture defines the software components, how they use each other’s functionality and data, and how control is managed between components. An example given is the client-server architecture.",{"name":70,"@type":61,"acceptedAnswer":71},"What do coupling and cohesion mean for a “good architecture”?",{"text":72,"@type":64},"A good architecture minimizes coupling so modules need not know much about each other, making future changes easier. It maximizes cohesion so each module’s contents are strongly inter-related, making modules easier to understand.","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},347584,1790409011,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,115,120,123,127],{"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":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":128,"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":145,"preview_page_count":33,"preview_urls":146},137451207643,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","University of Toronto Department of Computer Science  \nLecture 21: Software Architectures  \n􀀡 Architectural Styles  \n􀀡 Pipe and filter  \n􀀡 Object oriented:  \n􀀢 Client-Server; Object Broker  \n􀀡 Event based  \n􀀡 Layered:  \n􀀢 Designing Layered Architectures  \n􀀡 Repositories:  \n􀀢 Blackboard , MVC  \n􀀡 Process control  \n© 2004-5 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  \nAnalysis vs . Design  \n􀀡 Analysis  \n􀀡 Asks “what is the problem?”  \n􀀢 what happens in the current system?  \n􀀢 what is required in the new system?  \n􀀡 Results in a detailed understanding of:  \n􀀢 Requirements  \n􀀢 Domain Properties  \n􀀡 Focuses on the way human activities are conducted  \n􀀡 Design  \n􀀡 Investigates “how to build a solution”  \n􀀢 How will the new system work?  \n􀀢 How can we solve the problem that the analysis identified?  \n􀀡 Results in a solution to the problem  \n􀀢 A working system that satisfies the requirements  \n􀀢 Hardware + Software + Peopleware  \n􀀡 Focuses on building technical solutions  \n􀀡 Separate activities, but not necessarily sequential  \n􀀡 …and attempting a design usually improves understanding of the problem  \n © 2004-5 Steve Easterbrook. This presentation is available free for non-commercial use with attribution under a creative commons license. 2  \nUniversity of Toronto Department of Computer Science  \nSoftware Architecture  \n􀀡 A software architecture defines:  \n􀀡 the components of the software system  \n􀀡 how the components use each other’s functionality and data  \n􀀡 How control is managed between the components  \n􀀡 An example: client-server  \n􀀡 Servers provide some kind of service; clients request and use services  \n􀀡 applications are located with clients  \n􀀢 E.g. running on PCs and workstations;  \n􀀡 data storage is treated as a server  \n􀀢 E.g. using a DBMS such as DB2 , Ingres , Sybase or Oracle  \n􀀢 Consistency checking is located with the server  \n􀀡 Advantages:  \n􀀢 Breaks the system into manageable components  \n􀀢 Makes the control and data persistence mechanisms clearer  \n􀀡 Variants:  \n􀀢 Thick clients have their own services , thin ones get everything from servers  \n􀀡 Note: Are we talking about logical (s/w ) or physical (h/w) architecture?  \n © 2004-5 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  \nCoupling and Cohesion 􀀡 Architectural Building blocks:  \n\n|  |  |  |  |\n| --- | --- | --- | --- |\n|  |  | connector |  |\n\nmodule module  \n􀀡 A good architecture:  \n􀀡 Minimizes coupling between modules:  \n􀀢 Goal: modules don’t need to know much about one another to interact  \n􀀢 Low coupling makes future change easier  \n􀀡 Maximizes the cohesion of each module  \n􀀢 Goal: the contents of each module are strongly inter-related  \n􀀢 High cohesion makes a module easier to understand  \n© 2004-5 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  \nPipe-and-filter  \nSource: Adapted from Shaw & Garlan 1996, p21-2. See also van Vliet, 1999 Pp266-7 and p279  \n􀀡 Examples:  \n􀀡 UNIX shell commands  \n􀀡 Compilers:  \n􀀢 Lexical Analysis- > parsing- > semantic analysis- > code generation  \n􀀡 Signal Processing  \n􀀡 Interesting properties:  \n􀀡 filters don’t need to know anything about what they are connected to  \n􀀡 filters can be implemented in parallel  \n􀀡 behaviour of the system is the composition of behaviour of the filters  \n􀀢 specialized analysis such as throughput and deadlock analysis is possible  \n© 2004-5 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  \nobject  \nobject  \nobject  \nobject  \nobject  \n © 2004-5 Steve E","cbCaicrJ8Cy0Nyrw","https://ap.wps.com/l/cbCaicrJ8Cy0Nyrw","pdf",957892,"English","# Architectural Styles\n## Pipe-and-filter\n## Object oriented (Client-Server; Object Broker)\n## Event based\n## Layered architectures\n## Repositories (Blackboard, MVC)\n## Process control\n# Analysis vs Design\n# Software Architecture\n## Example: Client-server\n# Coupling and Cohesion\n# Pipe-and-filter Properties\n# Object Broker and Event-based Variants","[{\"question\":\"How does analysis differ from design in software development?\",\"answer\":\"Analysis asks what the problem is and what happens in the current system, then identifies requirements and domain properties. Design investigates how to build a solution and how the new system will work, producing a working system that satisfies the requirements.\"},{\"question\":\"What does a software architecture define?\",\"answer\":\"A software architecture defines the software components, how they use each other’s functionality and data, and how control is managed between components. An example given is the client-server architecture.\"},{\"question\":\"What do coupling and cohesion mean for a “good architecture”?\",\"answer\":\"A good architecture minimizes coupling so modules need not know much about each other, making future changes easier. It maximizes cohesion so each module’s contents are strongly inter-related, making modules easier to understand.\"}]","Lecture 21 - Software Architectures | PDF",1790067847,48,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/2f73fc31bfff9bf59e47459e37b19985.webp",983,759,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/27db8f7cee68776fab4b9bece43b3876.webp",982,758,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/5d4223f82f4b78df939161d33d2e1d7d.webp",981,757,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/bf32e05f7ba7c385136c0b4af60d8d32.webp",980,756]