Question: 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

 Design Problems Three design problems are listed on the pages that

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!