Which approach should you choose?

You are an enterprise application developer. You are creating the first version of an application to manage rich text documents.
The application must meet the following design requirements:

Support the file system and a Microsoft SQL Server database as data stores.
Ensure the following for future versions:
o Add support for additional data stores, including network storage. o Acquire the ability to interface with third-party-distributed authoring and versioning tools.

Bring additional storage options online without having to redeploy the entire application. You need to identify an appropriate approach to meet these requirements. Which approach should you choose?

You are an enterprise application developer. You are creating the first version of an application to manage rich text documents.
The application must meet the following design requirements:

Support the file system and a Microsoft SQL Server database as data stores.
Ensure the following for future versions:
o Add support for additional data stores, including network storage. o Acquire the ability to interface with third-party-distributed authoring and versioning tools.

Bring additional storage options online without having to redeploy the entire application. You need to identify an appropriate approach to meet these requirements. Which approach should you choose?

A.
Create a single Document component to represent the rich text content of a document and include methods on the component to persist and retrieve rich text for each type of data store.

B.
Create a single Document component to represent the rich text content of a document and an enumeration to represent each available data store. Include a parameter of the enumerated type in methods interfacing with a data store.

C.
Create a single Document component to represent the rich text content of a document and an enumeration to represent each available data store. Include a property on the Document component to permit the selection of a data store.

D.
Create a Document component to represent the rich text content of a document. Create a DocumentRepository component to manage the various data stores.



Leave a Reply 0

Your email address will not be published. Required fields are marked *