terminology - What is the purpose of a Data Access Layer? -


i started project long time ago , created data access layer project in solution have never developed in it. purpose of data access layer? there sources learn more data access layer?

in 2 words: loose coupling

to keep code use pull data data store (database, flat files, web services, whatever) separate business logic , presentation code. way, if have change data stores, don't end rewriting whole thing.

these days, various orm frameworks kind of blending dal other layers. typically makes development easier, changing data stores can painful. fair, changing data stores pretty uncommon.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -