Research on the various design patterns described in Smith (2015) and Gamma et al (1999). Describe how software development productivity can be accomplished by the application of various Creational Design Patterns.
Refer to the Software Solution Scenario described in Appendix A and also OO Software Design Patterns described in Gamma et al (1995) / Smith (2015 to answer the questions below:
You have been tasked to carry out the development of an online shopping system for iChipKart store. You are currently working on two use cases of the system: Checkout and Compute Price. An extract of the current analysis and design of these use cases are given in Appendix A.
Consider the two software design problems described below.
Design Problem 1 (Compute Price):
During the transition from Analysis to Design phase, you are designing the price computation for ease of incorporating different shipping and handling fees for different locations in the pricing policies. In your design, you also want to ensure that various policies in pricing computation are encapsulated appropriately for ease of maintenance.
Suggested candidate design patterns (Proxy, Strategy, Template Method)
Design Problem 2 (Checkout):
During the transition from Analysis to Design phase, you are designing the functionality of free gifts for ease of offering and withdrawing the various gifts dynamically and for ease of modifying the price ranges of free gifts.
Suggested candidate design patterns (Chain of Responsibility, Composite, Iterator)
For each of these design problems, answer the following:
Design patterns are upgraded, reusable answers for the programming issues that we experience each day. A design pattern isn't a class or a library that can be connected to our framework; it's considerably more than that. It is a format that must be executed in the right circumstance. It's not dialect particular either. A decent design pattern ought to be implementable in most, if not all dialects, contingent upon the capacities of the dialect. Above all, any design pattern can be a twofold edged sword. Whenever executed in the wrong place, it tends to be unfortunate and make numerous issues for the program. Be that as it may, executed in the opportune place, at the correct time, it tends to a perfect one. The three basic types of design patterns are structural, creational and behavioral according to Smith (2015).
Structural patterns.
These are patterns that make design easier by identifying simple methods to achieve relations between different entities in a system. For example the adapter pattern is a structural design pattern that enables you to re-reason a class with an alternate interface, enabling it to be utilized by a framework which utilizes distinctive calling techniques.
This additionally gives you a chance to modify a portion of the sources of info being fetched from the customer class, making it into something good with the adoptee’s capacities
Behavioral design patterns.
These patterns are suitable in providing a means of communication between the system entities. Thus making it easier for the entities to communicate between each other effectively. The strategy pattern is a behavioral design pattern that enables you to choose which game-plan a program should take, in light of a particular setting amid runtime. You exemplify two distinct calculations inside two classes, and choose at runtime which strategy you need to run with.
In our precedent over, the strategy depends on whatever the $context variable was at the time the class was instantiated. On the off chance that you give it the setting for class-one, it will utilize class-one, and the other way around.
Creational design patterns.
These patterns are famous in creating instantiation techniques, making it more suitable to create the objects to suit the context they are in. The factory method pattern is a creational configuration pattern which does precisely as it sounds: it's a class that goes about as a factory of question examples.
The fundamental objective of this pattern is to demonstrate the creational strategy that may traverse diverse classes into one single capacity. By giving the right setting to the factory method, it will have the capacity to restore the right protest.
Software development productivity can be accomplished by the application of various creational patterns in that they wind up critically as frameworks develop to depend more on question organization than class legacy. As that occurs, accentuation moves from hard-coding a settled arrangement of practices toward characterizing a littler arrangement of crucial practices that can be made into any number out of more mind boggling ones. Hence making objects with specific practices requires more than just instantiating a class.
Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, Design Patterns : Elements of Reusable Object-Oriented Software, Addison Wesley, 1995.
Smith, Ben. Object-Oriented Programming. Advanced ActionScript 3. Apress, pp63-69, 2015
To export a reference to this article please select a referencing stye below:
My Assignment Help. (2021). Object Oriented Software Development. Retrieved from https://myassignmenthelp.com/free-samples/mits4002-object-oriented-software-development/creational-and-behavioral.html.
"Object Oriented Software Development." My Assignment Help, 2021, https://myassignmenthelp.com/free-samples/mits4002-object-oriented-software-development/creational-and-behavioral.html.
My Assignment Help (2021) Object Oriented Software Development [Online]. Available from: https://myassignmenthelp.com/free-samples/mits4002-object-oriented-software-development/creational-and-behavioral.html
[Accessed 17 April 2021].
My Assignment Help. 'Object Oriented Software Development' (My Assignment Help, 2021) <https://myassignmenthelp.com/free-samples/mits4002-object-oriented-software-development/creational-and-behavioral.html> accessed 17 April 2021.
My Assignment Help. Object Oriented Software Development [Internet]. My Assignment Help. 2021 [cited 17 April 2021]. Available from: https://myassignmenthelp.com/free-samples/mits4002-object-oriented-software-development/creational-and-behavioral.html.
MyAssignmenthelp.com delivers assignment help to millions of students of USA. We have in-house teams of assignment writers who are experts on wide ranges of subjects. We have appointed teams of native writers who provide assignment help to students in New York City and all over the USA. They are skilled assignment writers who successfully cater to search terms like do my assignment in the USA
Answer: Introduction The stream of art is popularly known and offers wide opportunities among students in various fields like mass communication, teaching, counselling and many others. The main subjects’ options available in art are Drama, Dance, Media arts, Music and Visual Arts. Drama as a subject helps in understanding the difference between reality and portrayal. Drama as an art requires seriousness towards work and develops deep co...
Read MoreAnswer: The Hollywood Production Code, known also as the Production Code for Motion Pictures, was a set of moral guidelines that were adhered to by the movie industry in America, for most of the films that were released by major production houses in the country in the years between the 1930’s and the 1960’s. The Hollywood Production Code is referred to often as the Hay’s Code, largely because of the fact that it was created a...
Read MoreAnswer: Understanding the consumers’ level of involvement with product (Agrawal, Duhachek and Buy 2016) Consumer’s problem solving procedure Exploring the situational influences of the buying process of the consumer (Rani 2014) The marketing initiates with the need of the customer and ends with consumer fulfillment Psychological and social influences of consumer buying procedure (Solomon et al. 2014) The chosen FMCG cons...
Read MoreAnswer: Have you or anyone you know ever been bullied before? Well, you’re not alone. I have a niece who was intensely bullied which caused serious harm emotionally and mentally. Not to mention, the parents were distraught, emotionally and mentally drained. My research question focuses on whether the Government (State and Federal) should establish stricter laws to prevent bullying which causes physical and emotion...
Read MoreAnswer: In today’s time, leadership is playing a prominent role in the organization. It has become essential for the companies to adopt the democratic leadership style so that employees also work in an effective way and give their best for the organization. However, Apple Inc. is facing leadership issue in its organization by not adopting the leadership style. The discussion starts with explain the leadership problem that Apple Inc. is f...
Read MoreJust share requirement and get customized Solution.
Orders
Overall Rating
Experts
Our writers make sure that all orders are submitted, prior to the deadline.
Using reliable plagiarism detection software, Turnitin.com.We only provide customized 100 percent original papers.
Feel free to contact our assignment writing services any time via phone, email or live chat. If you are unable to calculate word count online, ask our customer executives.
Our writers can provide you professional writing assistance on any subject at any level.
Our best price guarantee ensures that the features we offer cannot be matched by any of the competitors.
Get all your documents checked for plagiarism or duplicacy with us.
Get different kinds of essays typed in minutes with clicks.
Calculate your semester grades and cumulative GPa with our GPA Calculator.
Balance any chemical equation in minutes just by entering the formula.
Calculate the number of words and number of pages of all your academic documents.
Our Mission Client Satisfaction
It is a good source of help for any assignment. My order completed before the deadline, and rework have done for the assignment. It is quite expensive for the students. wishes for better deal regards roh
Australia
Great help and great service! I was concerned it wouldn't get to me on time, but sure enough, it was on time! This saved my rear. Thanks, you guys are awesome
Australia
Great paper. It was very detailed and everything was what was necessary for the paper.
Australia
seems ok to me, but once you forward the assignment it take 2 weeks for the feedback, then I will know if they are ok, so please do all the rest as well, if some answer are not ok they will ask to do it again
Australia