I’ve used the DAO pattern in earlier applications. In addition to make the database layer exchangable, I think it’s main benefit is clear separation from the business logic. Of course you could achieve that without the pattern, but DAO helps you separate correctly all the way. Tutotial here.
Categories