August 25, 2011

Simple Tutorial on the Data Access Object (Dao) Pattern

System with three layers:



  1. Data layer
    • The data layer basically stores the data and has methods to do CRUD operations on the data store.
  2. API layer
    • Exposes prototypes for the CRUD methods
  3. Service layer
    • Consumes the data retrieved by the data layer using the API methods.


No comments:

Post a Comment