{"id":5675,"date":"2022-05-24T01:21:46","date_gmt":"2022-05-24T01:21:46","guid":{"rendered":"https:\/\/www.booksofall.com\/?post_type=product&#038;p=5675"},"modified":"2022-06-15T05:18:06","modified_gmt":"2022-06-15T05:18:06","slug":"modelling-interactions","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/","title":{"rendered":"Modelling Interactions"},"content":{"rendered":"<p>Moving Towards Specifications<br \/>\n\u2022 What functions will the new system provide?<br \/>\n\u2013 How will people interact with it?<br \/>\n\u2013 Describe functions from a user\u2019s perspective<br \/>\n\u2022 UML Use Cases<br \/>\n\u2013 Used to show:<br \/>\n\u2022 the functions to be provided by the system<br \/>\n\u2022 which actors will use which functions<\/p>\n<h3>UML Use Case Diagrams<\/h3>\n<p>Capture the relationships between actors and use cases.<\/p>\n<p>A\u00a0<b>use case diagram<\/b>\u00a0is a graphical depiction of a user&#8217;s possible interactions with a system. A use case diagram shows various use cases and different types of users the system has and will often be accompanied by other types of diagrams as well. The use cases are represented by either circles or ellipses. The actors are often shown as stick figures.<\/p>\n<h4><span id=\"Application\" class=\"mw-headline\">Application<\/span><\/h4>\n<p>While a\u00a0<a title=\"Use case\" href=\"https:\/\/en.wikipedia.org\/wiki\/Use_case\">use case<\/a>\u00a0itself might drill into a lot of detail about every possibility, a use-case diagram can help provide a higher-level view of the system. It has been said before that &#8220;Use case diagrams are the blueprints for your system&#8221;.<sup id=\"cite_ref-1\" class=\"reference\"><a href=\"https:\/\/en.wikipedia.org\/wiki\/Use_case_diagram#cite_note-1\">[1]<\/a><\/sup><\/p>\n<p>Due to their simplistic nature, use case diagrams can be a good communication tool for\u00a0<a title=\"Project stakeholder\" href=\"https:\/\/en.wikipedia.org\/wiki\/Project_stakeholder\">stakeholders<\/a>. The drawings attempt to mimic the real world and provide a view for the\u00a0<a title=\"Project stakeholder\" href=\"https:\/\/en.wikipedia.org\/wiki\/Project_stakeholder\">stakeholder<\/a>\u00a0to understand how the system is going to be designed. Siau and Lee conducted research to determine if there was a valid situation for use case diagrams at all or if they were unnecessary. What was found was that the use case diagrams conveyed the intent of the system in a more simplified manner to\u00a0<a title=\"Project stakeholder\" href=\"https:\/\/en.wikipedia.org\/wiki\/Project_stakeholder\">stakeholders<\/a>\u00a0and that they were &#8220;interpreted more completely than class diagrams&#8221;.<\/p>\n<h4>Identifying Actors<\/h4>\n<p>\u2022 Look for:<br \/>\n\u2013 the users who directly use the system<br \/>\n\u2013 also others who need services from the system<br \/>\n\u2022 To find actors that are people\/roles ask:<br \/>\n\u2013 Who will be a primary user of the system? (primary actor)<br \/>\n\u2013 Who will need support from the system to do her daily tasks?<br \/>\n\u2013 Who will maintain, administrate, keep the system working?<br \/>\n(secondary actor)<br \/>\n\u2013 Who or what has an interest in the results that the system produces ?<br \/>\n\u2022 To find actors that are external systems ask:<br \/>\n\u2013 Which hardware devices does the system need?<br \/>\n\u2013 With which other systems does the system need to interact with?<\/p>\n<p>Finding Use Cases<br \/>\n\u2022 For each actor, ask the following questions:<br \/>\n\u2013 Which functions does the actor require from the system?<br \/>\n\u2013 What does the actor need to do?<br \/>\n\u2013 Does the actor need to read, create, destroy, modify, or store some kinds of information in the system?<br \/>\n\u2013 Does the actor have to be notified about events in the system?<br \/>\n\u2013 Does the actor need to notify the system about something?<br \/>\n\u2013 What do those events require in terms of system functionality?<br \/>\n\u2013 Could the actor\u2019s daily work be simplified or made more efficient through new functions provided by the system?<\/p>\n<h3>UML Sequence Diagrams<\/h3>\n<p>A\u00a0<b>sequence diagram<\/b>\u00a0or\u00a0<b>system sequence diagram<\/b>\u00a0(SSD) shows\u00a0<a title=\"Process (computing)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Process_(computing)\">process<\/a>\u00a0interactions arranged in time sequence in the field of\u00a0<a title=\"Software engineering\" href=\"https:\/\/en.wikipedia.org\/wiki\/Software_engineering\">software engineering<\/a>. It depicts the processes involved and the sequence of messages exchanged between the processes needed to carry out the functionality. Sequence diagrams are typically associated with use case realizations in the\u00a0<a title=\"4+1 architectural view model\" href=\"https:\/\/en.wikipedia.org\/wiki\/4%2B1_architectural_view_model\">4+1 architectural view model<\/a>\u00a0of the system under development. Sequence diagrams are sometimes called\u00a0<b>event diagrams<\/b>\u00a0or\u00a0<b>event scenarios<\/b>.<\/p>\n<p>For a particular scenario of a\u00a0<a title=\"Use case\" href=\"https:\/\/en.wikipedia.org\/wiki\/Use_case\">use case<\/a>, the diagrams show the events that external actors generate, their order, and possible inter-system events. <sup id=\"cite_ref-1\" class=\"reference\"><\/sup>All\u00a0<a title=\"Software system\" href=\"https:\/\/en.wikipedia.org\/wiki\/Software_system\">systems<\/a>\u00a0are treated as a\u00a0<a title=\"Black box\" href=\"https:\/\/en.wikipedia.org\/wiki\/Black_box\">black box<\/a>; the diagram places emphasis on events that cross the system boundary from actors to systems. A system sequence diagram should be done for the main success scenario of the\u00a0<a title=\"Use case\" href=\"https:\/\/en.wikipedia.org\/wiki\/Use_case\">use case<\/a>, and frequent or complex alternative scenarios.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 700px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/modelling-interactions-ypeov0pw5?enforceShowPromotionBar=true\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":5680,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"A\u00a0use case diagram\u00a0is a graphical depiction of a user's possible interactions with a system."},"product_brand":[],"product_cat":[213],"product_tag":[201],"class_list":{"0":"post-5675","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-computer-uml","7":"product_tag-lecture-notes","9":"first","10":"instock","11":"shipping-taxable","12":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Modelling Interactions - BooksOfAll Portuguese<\/title>\n<meta name=\"description\" content=\"A\u00a0use case diagram\u00a0is a graphical depiction of a user&#039;s possible interactions with a system.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/\" \/>\n<meta property=\"og:locale\" content=\"pt_PT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modelling Interactions - BooksOfAll Portuguese\" \/>\n<meta property=\"og:description\" content=\"A\u00a0use case diagram\u00a0is a graphical depiction of a user&#039;s possible interactions with a system.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Portuguese\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-15T05:18:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg\" \/><meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg\" \/>\n\t<meta property=\"og:image:width\" content=\"596\" \/>\n\t<meta property=\"og:image:height\" content=\"842\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"Tempo estimado de leitura\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/\",\"url\":\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/\",\"name\":\"Modelling Interactions - BooksOfAll Portuguese\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg\",\"datePublished\":\"2022-05-24T01:21:46+00:00\",\"dateModified\":\"2022-06-15T05:18:06+00:00\",\"description\":\"A\u00a0use case diagram\u00a0is a graphical depiction of a user's possible interactions with a system.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#breadcrumb\"},\"inLanguage\":\"pt-PT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg\",\"width\":\"596\",\"height\":\"842\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/pt\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/pt\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Modelling Interactions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/#website\",\"url\":\"https:\/\/www.booksofall.com\/pt\/\",\"name\":\"BooksOfAll Portuguese\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/pt\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-PT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/#organization\",\"name\":\"BooksOfAll Portuguese\",\"url\":\"https:\/\/www.booksofall.com\/pt\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-PT\",\"@id\":\"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Portuguese\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Modelling Interactions - BooksOfAll Portuguese","description":"A\u00a0use case diagram\u00a0is a graphical depiction of a user's possible interactions with a system.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/","og_locale":"pt_PT","og_type":"article","og_title":"Modelling Interactions - BooksOfAll Portuguese","og_description":"A\u00a0use case diagram\u00a0is a graphical depiction of a user's possible interactions with a system.","og_url":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/","og_site_name":"BooksOfAll Portuguese","article_modified_time":"2022-06-15T05:18:06+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg","type":"","width":"","height":""},{"width":596,"height":842,"url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg","twitter_misc":{"Tempo estimado de leitura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/","url":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/","name":"Modelling Interactions - BooksOfAll Portuguese","isPartOf":{"@id":"https:\/\/www.booksofall.com\/pt\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg","datePublished":"2022-05-24T01:21:46+00:00","dateModified":"2022-06-15T05:18:06+00:00","description":"A\u00a0use case diagram\u00a0is a graphical depiction of a user's possible interactions with a system.","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#breadcrumb"},"inLanguage":"pt-PT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/pt\/modelling-interactions\/"]}]},{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#primaryimage","url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg","contentUrl":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/img_62a15bf6172dd.jpeg","width":"596","height":"842"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/pt\/modelling-interactions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/pt\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/pt\/categories\/"},{"@type":"ListItem","position":3,"name":"Modelling Interactions"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/pt\/#website","url":"https:\/\/www.booksofall.com\/pt\/","name":"BooksOfAll Portuguese","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/pt\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/pt\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-PT"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/pt\/#organization","name":"BooksOfAll Portuguese","url":"https:\/\/www.booksofall.com\/pt\/","logo":{"@type":"ImageObject","inLanguage":"pt-PT","@id":"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/pt\/wp-content\/uploads\/sites\/8\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Portuguese"},"image":{"@id":"https:\/\/www.booksofall.com\/pt\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product\/5675","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/media\/5680"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/media?parent=5675"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product_brand?post=5675"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product_cat?post=5675"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/pt\/wp-json\/wp\/v2\/product_tag?post=5675"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}