Data Access Object. آرمان حسينزاده آذر 89. Context. Access to data varies depending on the source of the data.
PowerPoint Slideshow about ' Data Access Object' - eunice
An Image/Link below is provided (as is) to download presentation
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Access to data varies depending on the source of the data.
Access to persistent storage, such as to a database, varies greatly depending on the type of storage (relational databases, object-oriented databases, flat files, and so forth) and the vendor implementation.
highly flexible by adopting the Abstract Factory and the Factory Method
When the underlying storage is not subject to change from one implementation to another, this strategy can be implemented using the Factory Method pattern to produce a number of DAOs needed by the application
A DAO uses Transfer Objects to transport data to and from its clients.
Factory Method and Abstract Factory
The Factory for Data Access Objects Strategy uses the Factory Method pattern to implement the concrete factories and its products (DAOs). For added flexibility, the Abstract Factory pattern may be employed as discussed in the strategies.