1. The document discusses principles of emergent design including contextual force, patterns, commonality variability analysis, and programming by intention.
2. Commonality variability analysis involves identifying what is common and what varies across different contexts for a given problem.
3. Programming by intention focuses on conceptualizing what you want to do at a high level before implementing technical details.
Software security covers from requirement, design, implementation, testing, deployment to security monitoring. However, coding practices during implementation are also essential part of software security. This presentation explain about fundamental of software security and top 5 coding security practices those will reduce software vulnerability drastically.
MongoDB .local Bengaluru 2019: A Complete Methodology to Data Modeling for Mo...MongoDB
Are you new to schema design for MongoDB, or are looking for a more complete or agile process than what you are following currently? In this talk we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
Agile experiments in Machine Learning with F#J On The Beach
Just like traditional applications development, machine learning involves writing code. One aspect where the two differ is the workflow. While software development follows a fairly linear process (design, develop, and deploy a feature), machine learning is a different beast. You work on a single feature, which is never 100% complete. You constantly run experiments, and re-design your model in depth at a rapid pace. Traditional tests are entirely useless. Validating whether you are on the right track takes minutes, if not hours.
In this talk, we will take the example of a Machine Learning competition we recently participated in, the Kaggle Home Depot competition, to illustrate what "doing Machine Learning" looks like. We will explain the challenges we faced, and how we tackled them, setting up a harness to easily create and run experiments, while keeping our sanity. We will also draw comparisons with traditional software development, and highlight how some ideas translate from one context to the other, adapted to different constraints.
Remaining Agile with Billions of Documents: Appboy and Creative MongoDB SchemasMongoDB
In this talk, Appboy co-founder and CIO Jon Hyman will discuss various schemas that Appboy has evolved to use on MongoDB, remaining agile as Appboy has grown to massive scale. Jon will discuss topics such as random sampling of documents, multivariate testing and multi-arm bandit optimization of such tests, field tokenization, and how Appboy stores multi-dimensional data on an individual user basis to be able to quickly optimize for the best time to deliver messages to end users. Appboy is the global leader in Marketing Automation for Apps, helping clients such as Urban Outfitters, Shutterfly, Kixeye, PicsArt, USA Today Sports, and iHeartRadio increase engagement through automated messaging. Each month, Appboy collects tens of billions of data points from hundreds of millions of monthly active users.
Software security covers from requirement, design, implementation, testing, deployment to security monitoring. However, coding practices during implementation are also essential part of software security. This presentation explain about fundamental of software security and top 5 coding security practices those will reduce software vulnerability drastically.
MongoDB .local Bengaluru 2019: A Complete Methodology to Data Modeling for Mo...MongoDB
Are you new to schema design for MongoDB, or are looking for a more complete or agile process than what you are following currently? In this talk we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
Agile experiments in Machine Learning with F#J On The Beach
Just like traditional applications development, machine learning involves writing code. One aspect where the two differ is the workflow. While software development follows a fairly linear process (design, develop, and deploy a feature), machine learning is a different beast. You work on a single feature, which is never 100% complete. You constantly run experiments, and re-design your model in depth at a rapid pace. Traditional tests are entirely useless. Validating whether you are on the right track takes minutes, if not hours.
In this talk, we will take the example of a Machine Learning competition we recently participated in, the Kaggle Home Depot competition, to illustrate what "doing Machine Learning" looks like. We will explain the challenges we faced, and how we tackled them, setting up a harness to easily create and run experiments, while keeping our sanity. We will also draw comparisons with traditional software development, and highlight how some ideas translate from one context to the other, adapted to different constraints.
Remaining Agile with Billions of Documents: Appboy and Creative MongoDB SchemasMongoDB
In this talk, Appboy co-founder and CIO Jon Hyman will discuss various schemas that Appboy has evolved to use on MongoDB, remaining agile as Appboy has grown to massive scale. Jon will discuss topics such as random sampling of documents, multivariate testing and multi-arm bandit optimization of such tests, field tokenization, and how Appboy stores multi-dimensional data on an individual user basis to be able to quickly optimize for the best time to deliver messages to end users. Appboy is the global leader in Marketing Automation for Apps, helping clients such as Urban Outfitters, Shutterfly, Kixeye, PicsArt, USA Today Sports, and iHeartRadio increase engagement through automated messaging. Each month, Appboy collects tens of billions of data points from hundreds of millions of monthly active users.
Design 101
http://goo.gl/wIql8w
Week 2
Machine Element Design New Approach
Course Objective
===============
This is a fundamental course to discuss the criteria of Mechanical Design for both machine elements design and product design .
The course will discuss the design as a process in making a lot of products by terms of manufacturing , sustainability and environmental aspects
The Course is online and free to all
Instructor
Mohamed Mostafa Adam
This course was presented by PED 2016
Production Engineering Department - Faculty of Engineering - Alexandria University - Egypt
[DevDay 2016] Design Pattern at a glance - Speaker: Tuan Do – Scrum Master a...DevDay.org
This is an extension of “Refactoring – code optimization” – a topic shared in DevDay 2015. This year, the presentation will focus on a more advanced topic but it is shown simply to help you optimize, restructure code, refactore better system thereby ensure easy software expanded, management and maintenance. That is the standard design in software programming. Maybe you’ve heard it with the word “Design Pattern”.
Join us to learn and share.
———
Speaker: Tuan Do – Scrum Master at Axon Active Vietnam
MongoDB .local Chicago 2019: A Complete Methodology to Data Modeling for MongoDBMongoDB
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
MongoDB .local Toronto 2019: A Complete Methodology of Data Modeling for MongoDBMongoDB
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
MongoDB .local London 2019: A Complete Methodology to Data Modeling for MongoDBLisa Roth, PMP
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
MongoDB .local London 2019: A Complete Methodology to Data Modeling for MongoDBMongoDB
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
Technical Excellence Doesn't Just Happen--Igniting a Craftsmanship CultureAllison Pollard
The ninth principle from the Agile Manifesto states that technical excellence enhances agility, but when the codebase is ugly and the deadlines are tight, most teams don’t choose to refactor mercilessly, adopt TDD, or evaluate automated testing tools—unless they have the proper support. In our experience working with multiple teams in a single codebase, developers can feel victim to a legacy codebase if only a few people are writing clean code or refactoring; guiding them on how to decrease technical debt while delivering their projects helps "unstuck" their other agile practices. We will talk about the challenges we’ve seen with Product Owners, Managers, and Scrum Masters interacting with teams at various stages of agile+technical excellence and how a focus on technical practices sparked a wider interest in craftsmanship. Learn how can you influence the team towards the right practices while fostering their sense of ownership. Getting serious about technical excellence requires support from technical and non-technical roles, and we’ll share how we partnered as coaches to help an organization through a technical turnaround with some tips for others who need to do the same.
Test design made easy (and fun) Rik Marselis EuroSTARRik Marselis
Workshop of Rik Marselis at the EuroSTAR conference 2015 in Maastricht at 5 November 2015.
The subject is test design and in this presentation I demonstrate that using a mix of experience based and coverage based testing the best results of testing can be achieved. This is based on TMap HD, which also contains an interesting grouping of test design techniques into 4 types of coverage.
The presentation is copyright of Sogeti Nederland B.V.
MongoDB.local Sydney 2019: Data Modeling for MongoDBMongoDB
At this point, you may be familiar with MongoDB and its Document Model.
However, what are the methods you can use to create an efficient database schema quickly and effectively?
This presentation will explore the different phases of a methodology to create a database schema. This methodology covers the description of your workload, the identification of the relationships between the elements (one-to-one, one-to-many and many-to-many) and an introduction to design patterns. Those patterns present practical solutions to different problems observed while helping our customers over the last 10 years.
In this session, you will learn about:
The differences between modeling for MongoDB versus a relational database.
A flexible methodology to model for MongoDB, which can be applied to simple projects, agile ones or more complex ones.
Overview of some common design patterns that help improve the performance of systems.
Choosing architecture in your system is one of the most important things to do and there are many things to consider, like performance, maintenance, configuration and extension of the system. This presentation is about choosing the strategy for your architecture of how to build a measurement system.
Extracting information from images using deep learning and transfer learning ...PAPIs.io
For online businesses, recommender systems are paramount. There is an increasing need to take into account all the user information to tailor the best product offer, tailored to each new user.
Part of that information is the content that the user actually sees: the visuals of the products. When it comes to products like luxury hotels, pictures of the room, the building or even the nearby beach can significantly impact users’ decision.
In this talk, we will describe how we improved an online vacation retailer recommender system by using the information in images. We’ll explain how to leverage open data and pre-trained deep learning models to derive information on user taste. We will use a transfer learning approach that enables companies to use state of the art machine learning methods without needing deep learning expertise.
As the VP for Design & Customer Experience, Tristan oversees multiple teams with one obsession: blur the lines between Product, Brand and Marketing. His superpower: a Product Design Framework
In this talk, Tristan will share the rationale and specifics of the BlaBlaCar's Framework that drives cross-functional team alignment, project progression rhythm and a cohesive end-to-end experience.
He will touch on:
• What's so great with a cross-functional Framework
• BlaBlaCar's Framework steps and special features
• Learning and challenges to rollout a Framework
Алексей Ященко и Ярослав Волощук "False simplicity of front-end applications"Fwdays
It’s easy to underestimate a front-end project's complexity, which leads to shallow and thus incorrect implementation. Attempts to fix this problem result in uncontrolled complexity growth and undefined behavior in corner cases.
We'll discuss ways of revealing the inherent complexity of a problem and dealing with it both on theoretical and practical levels.
by: http://www.tpseconf.org/team-member/varokas-panusuwan/
We all have heard about how Agile nourish in a team. However, successful adoption in a large organization requires far beyond jelled teams. It is about how changes happened and how transformation spread throughout organization. It is about how sprint teams communicate and coordinate. It is about how to ensure that all managements, engineers and operations march towards one goal.
This session will discuss the essential topics in Agile adoption when scaling up to large enterprise. Why simple structure such as teams of teams is not enough. What are the missing pieces. How a billion dollars company, starting with a few Scrum teams, leverages Agile to bring value to customers exponentially faster, is publicly identified by their execution of Agile and in the end is recognized by Forbes magazine as one of the world’s most innovative company.
Design 101
http://goo.gl/wIql8w
Week 2
Machine Element Design New Approach
Course Objective
===============
This is a fundamental course to discuss the criteria of Mechanical Design for both machine elements design and product design .
The course will discuss the design as a process in making a lot of products by terms of manufacturing , sustainability and environmental aspects
The Course is online and free to all
Instructor
Mohamed Mostafa Adam
This course was presented by PED 2016
Production Engineering Department - Faculty of Engineering - Alexandria University - Egypt
[DevDay 2016] Design Pattern at a glance - Speaker: Tuan Do – Scrum Master a...DevDay.org
This is an extension of “Refactoring – code optimization” – a topic shared in DevDay 2015. This year, the presentation will focus on a more advanced topic but it is shown simply to help you optimize, restructure code, refactore better system thereby ensure easy software expanded, management and maintenance. That is the standard design in software programming. Maybe you’ve heard it with the word “Design Pattern”.
Join us to learn and share.
———
Speaker: Tuan Do – Scrum Master at Axon Active Vietnam
MongoDB .local Chicago 2019: A Complete Methodology to Data Modeling for MongoDBMongoDB
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
MongoDB .local Toronto 2019: A Complete Methodology of Data Modeling for MongoDBMongoDB
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
MongoDB .local London 2019: A Complete Methodology to Data Modeling for MongoDBLisa Roth, PMP
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
MongoDB .local London 2019: A Complete Methodology to Data Modeling for MongoDBMongoDB
Are you new to schema design for MongoDB, or are you looking for a more complete or agile process than what you are following currently? In this talk, we will guide you through the phases of a flexible methodology that you can apply to projects ranging from small to large with very demanding requirements.
Technical Excellence Doesn't Just Happen--Igniting a Craftsmanship CultureAllison Pollard
The ninth principle from the Agile Manifesto states that technical excellence enhances agility, but when the codebase is ugly and the deadlines are tight, most teams don’t choose to refactor mercilessly, adopt TDD, or evaluate automated testing tools—unless they have the proper support. In our experience working with multiple teams in a single codebase, developers can feel victim to a legacy codebase if only a few people are writing clean code or refactoring; guiding them on how to decrease technical debt while delivering their projects helps "unstuck" their other agile practices. We will talk about the challenges we’ve seen with Product Owners, Managers, and Scrum Masters interacting with teams at various stages of agile+technical excellence and how a focus on technical practices sparked a wider interest in craftsmanship. Learn how can you influence the team towards the right practices while fostering their sense of ownership. Getting serious about technical excellence requires support from technical and non-technical roles, and we’ll share how we partnered as coaches to help an organization through a technical turnaround with some tips for others who need to do the same.
Test design made easy (and fun) Rik Marselis EuroSTARRik Marselis
Workshop of Rik Marselis at the EuroSTAR conference 2015 in Maastricht at 5 November 2015.
The subject is test design and in this presentation I demonstrate that using a mix of experience based and coverage based testing the best results of testing can be achieved. This is based on TMap HD, which also contains an interesting grouping of test design techniques into 4 types of coverage.
The presentation is copyright of Sogeti Nederland B.V.
MongoDB.local Sydney 2019: Data Modeling for MongoDBMongoDB
At this point, you may be familiar with MongoDB and its Document Model.
However, what are the methods you can use to create an efficient database schema quickly and effectively?
This presentation will explore the different phases of a methodology to create a database schema. This methodology covers the description of your workload, the identification of the relationships between the elements (one-to-one, one-to-many and many-to-many) and an introduction to design patterns. Those patterns present practical solutions to different problems observed while helping our customers over the last 10 years.
In this session, you will learn about:
The differences between modeling for MongoDB versus a relational database.
A flexible methodology to model for MongoDB, which can be applied to simple projects, agile ones or more complex ones.
Overview of some common design patterns that help improve the performance of systems.
Choosing architecture in your system is one of the most important things to do and there are many things to consider, like performance, maintenance, configuration and extension of the system. This presentation is about choosing the strategy for your architecture of how to build a measurement system.
Extracting information from images using deep learning and transfer learning ...PAPIs.io
For online businesses, recommender systems are paramount. There is an increasing need to take into account all the user information to tailor the best product offer, tailored to each new user.
Part of that information is the content that the user actually sees: the visuals of the products. When it comes to products like luxury hotels, pictures of the room, the building or even the nearby beach can significantly impact users’ decision.
In this talk, we will describe how we improved an online vacation retailer recommender system by using the information in images. We’ll explain how to leverage open data and pre-trained deep learning models to derive information on user taste. We will use a transfer learning approach that enables companies to use state of the art machine learning methods without needing deep learning expertise.
As the VP for Design & Customer Experience, Tristan oversees multiple teams with one obsession: blur the lines between Product, Brand and Marketing. His superpower: a Product Design Framework
In this talk, Tristan will share the rationale and specifics of the BlaBlaCar's Framework that drives cross-functional team alignment, project progression rhythm and a cohesive end-to-end experience.
He will touch on:
• What's so great with a cross-functional Framework
• BlaBlaCar's Framework steps and special features
• Learning and challenges to rollout a Framework
Алексей Ященко и Ярослав Волощук "False simplicity of front-end applications"Fwdays
It’s easy to underestimate a front-end project's complexity, which leads to shallow and thus incorrect implementation. Attempts to fix this problem result in uncontrolled complexity growth and undefined behavior in corner cases.
We'll discuss ways of revealing the inherent complexity of a problem and dealing with it both on theoretical and practical levels.
by: http://www.tpseconf.org/team-member/varokas-panusuwan/
We all have heard about how Agile nourish in a team. However, successful adoption in a large organization requires far beyond jelled teams. It is about how changes happened and how transformation spread throughout organization. It is about how sprint teams communicate and coordinate. It is about how to ensure that all managements, engineers and operations march towards one goal.
This session will discuss the essential topics in Agile adoption when scaling up to large enterprise. Why simple structure such as teams of teams is not enough. What are the missing pieces. How a billion dollars company, starting with a few Scrum teams, leverages Agile to bring value to customers exponentially faster, is publicly identified by their execution of Agile and in the end is recognized by Forbes magazine as one of the world’s most innovative company.
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
A presentation about the usage and availability of Varnish on Kubernetes. This talk explores the capabilities of Varnish caching and shows how to use the Varnish Helm chart to deploy it to Kubernetes.
This presentation was delivered at K8SUG Singapore. See https://feryn.eu/presentations/accelerate-your-kubernetes-clusters-with-varnish-caching-k8sug-singapore-28-2024 for more details.
State of ICS and IoT Cyber Threat Landscape Report 2024 previewPrayukth K V
The IoT and OT threat landscape report has been prepared by the Threat Research Team at Sectrio using data from Sectrio, cyber threat intelligence farming facilities spread across over 85 cities around the world. In addition, Sectrio also runs AI-based advanced threat and payload engagement facilities that serve as sinks to attract and engage sophisticated threat actors, and newer malware including new variants and latent threats that are at an earlier stage of development.
The latest edition of the OT/ICS and IoT security Threat Landscape Report 2024 also covers:
State of global ICS asset and network exposure
Sectoral targets and attacks as well as the cost of ransom
Global APT activity, AI usage, actor and tactic profiles, and implications
Rise in volumes of AI-powered cyberattacks
Major cyber events in 2024
Malware and malicious payload trends
Cyberattack types and targets
Vulnerability exploit attempts on CVEs
Attacks on counties – USA
Expansion of bot farms – how, where, and why
In-depth analysis of the cyber threat landscape across North America, South America, Europe, APAC, and the Middle East
Why are attacks on smart factories rising?
Cyber risk predictions
Axis of attacks – Europe
Systemic attacks in the Middle East
Download the full report from here:
https://sectrio.com/resources/ot-threat-landscape-reports/sectrio-releases-ot-ics-and-iot-security-threat-landscape-report-2024/
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Albert Hoitingh
In this session I delve into the encryption technology used in Microsoft 365 and Microsoft Purview. Including the concepts of Customer Key and Double Key Encryption.
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
Keynote at DIGIT West Expo, Glasgow on 29 May 2024.
Cheryl Hung, ochery.com
Sr Director, Infrastructure Ecosystem, Arm.
The key trends across hardware, cloud and open-source; exploring how these areas are likely to mature and develop over the short and long-term, and then considering how organisations can position themselves to adapt and thrive.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
The Art of the Pitch: WordPress Relationships and SalesLaura Byrne
Clients don’t know what they don’t know. What web solutions are right for them? How does WordPress come into the picture? How do you make sure you understand scope and timeline? What do you do if sometime changes?
All these questions and more will be explored as we talk about matching clients’ needs with what your agency offers without pulling teeth or pulling your hair out. Practical tips, and strategies for successful relationship building that leads to closing the deal.
Transcript: Selling digital books in 2024: Insights from industry leaders - T...BookNet Canada
The publishing industry has been selling digital audiobooks and ebooks for over a decade and has found its groove. What’s changed? What has stayed the same? Where do we go from here? Join a group of leading sales peers from across the industry for a conversation about the lessons learned since the popularization of digital books, best practices, digital book supply chain management, and more.
Link to video recording: https://bnctechforum.ca/sessions/selling-digital-books-in-2024-insights-from-industry-leaders/
Presented by BookNet Canada on May 28, 2024, with support from the Department of Canadian Heritage.
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
32. CVA Exercise (Pen-Pencil)
Pen
• write with ink
• can't erase
Pencil
• write with lead
• can erase
?
• write
• cylinder
• can put in a box
• breakable
• ....
33. CVA Exercise (Pen-Pencil)
Pen
• write with ink
• can't erase
Pencil
• write with lead
• can erase
WritingTool
• write
• cylinder
• can put in a box
WritingUser
37. CVA Exercise (2)
• There are two types of shape (Circle, Square)
• There are two types of writer (Pen, Pencil)
• Each shape can print itself on different writers
38. CVA Exercise (2)
Pen
write() {
//inkImpl
}
Pencil
write() {
//leadImpl
}
Writer
write()
• There are two types of
shape (Circle, Square)
• There are two types of
writer (Pen, Pencil)
• Each shape can print
itself on different writers
39. CVA Exercise (2)
Pen
write() {
//inkImpl
}
Pencil
write() {
//leadImpl
}
Writer
write()
Square
Shape
• There are two types of shape (Circle, Square)
Circle
40. CVA Exercise (2)
Pen
write() {
//inkImpl
}
Pencil
write() {
//leadImpl
}
Writer
write()
Square
Shape
print()
• Each shape can print itself on different writers
Circle
43. Starbucks
• Create a software for cashier and barista
• A program accepts order from user
• Retrieve cost based on the order
• A program shows the barista what to do
44. Starbucks
• A program creates
order from user
• Retrieve cost based
on the order
• A program shows
the barista what to
do
order = user.createOrder()
cost = order.getCost()
inst = order.whatToDo()
45. Starbucks
• Select Size of cup (S,M,L)
• (S) Cup -> Coffee
• (M) Cup -> Coffee x 2
• (L) Cup -> Coffee x 3
• S = 100, M = 120, L = 150
order = user.createOrder() {
selectSize()
}
cost = order.getCost()
inst = order.whatToDo()
46. Starbucks
• Select Size of cup (S,M,L)
• (S) Cup -> Coffee
• (M) Cup -> Coffee x 2
• (L) Cup -> Coffee x 3
• S = 100, M = 120, L = 150
M
coffee() {
//2
}
price() {
//120
}
Cup
coffee()
price()
S
coffee() {
//1
}
price() {
//100
}
L
coffee() {
//3
}
price() {
//150
}
47. Starbucks
order = user.createOrder() {
selectSize()
}
cost = order.getCost() {
order.getCup().getPrice()
}M
coffee() {
//2
}
price() {
//120
}
Cup
coffee()
price()
S
coffee() {
//1
}
price() {
//100
}
L
coffee() {
//3
}
price() {
//150
}
Order
55. Starbucks (v2)
• Select Coffee Type (Hot/Cold) [ cold serve with ice ]
• Select Size of cup (S,M,L)
• (S) Cup -> Coffee
• (M) Cup -> Coffee x 2
• (L) Cup -> Coffee x 3
• S = 100, M = 120, L = 150, Hot/Cold = Same price
56. Starbucks (v3)
• Select Coffee Type (Hot/Cold) [ cold serve with ice ]
• Americano [ Coffee + Water ]
• Cappuccino [ Coffee + Milk + Whip the milk ]
• Latte [ Coffee + Milk ]
• Select Size of cup (S,M,L)
• (S) Cup -> Coffee
• (M) Cup -> Coffee x 2
• (L) Cup -> Coffee x 3
• S = 100, M = 120, L = 150, Hot/Cold = Same price, Latte +10, Cappucino + 20