Big Halloween Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Zend PHP 5 Certification 200-500 Question # 17 Topic 2 Discussion

Zend PHP 5 Certification 200-500 Question # 17 Topic 2 Discussion

200-500 Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2

You are creating an application that generates invoices in a variety of formats, including PDF, ODS and HTML. Each of these formats is represented as a PHP class in your application. While some of the operations can be performed on all of the different formats (such as saving and loading), other operations may be specific to one or two of the formats (such as setting as read only). Which design pattern should you use for this application?


A.

Adapter


B.

Factory


C.

MVC


D.

Singleton


Get Premium 200-500 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.