Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design Problems Three design problems are listed on the pages that follow. Select the most appropriate design pattern to use to address the problem and

image text in transcribed

Design Problems Three design problems are listed on the pages that follow. Select the most appropriate design pattern to use to address the problem and clearly motivate how it addresses the problem. Furthermore, show an appropriate class diagram followed by enough code fragments to illustrate the implementation of your pattern. To clarify, you will do three things for each problem. First, list a pattern that you think best solves the problem along with justification for why you chose it/ why it works. Second, draw UML that represents that pattern in the context of the problem. Third, include code fragments/snippets that illustrate application of the pattern. 8. (20 points) You work for a webhosting company that offers a ton of hosting services (Flash Media, MySQL, Subversion) to its customers in addition to a base web hosting plan. You need to write an application that can easily compute the total monthly service fees for each plan. Your application must be able to easily support adding new types of hosting services (such as Ruby on Rails) when they become available. Sample output could be: > Basic Hosting, Subversion Hosting, Flash Media Server Hosting, MySQL Hosting (w/3 databases): 59.94 a month. Design Problems Three design problems are listed on the pages that follow. Select the most appropriate design pattern to use to address the problem and clearly motivate how it addresses the problem. Furthermore, show an appropriate class diagram followed by enough code fragments to illustrate the implementation of your pattern. To clarify, you will do three things for each problem. First, list a pattern that you think best solves the problem along with justification for why you chose it/ why it works. Second, draw UML that represents that pattern in the context of the problem. Third, include code fragments/snippets that illustrate application of the pattern. 8. (20 points) You work for a webhosting company that offers a ton of hosting services (Flash Media, MySQL, Subversion) to its customers in addition to a base web hosting plan. You need to write an application that can easily compute the total monthly service fees for each plan. Your application must be able to easily support adding new types of hosting services (such as Ruby on Rails) when they become available. Sample output could be: > Basic Hosting, Subversion Hosting, Flash Media Server Hosting, MySQL Hosting (w/3 databases): 59.94 a month

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions